kwin/plugins
Roman Gilg a347d009d1 [DrmBackend] Straighten out EGL surface buffer release logic on page flip
The logic on page flips was inconsistent in the sense, that it should never
release a GBM buffer before it's not used (i.e. viewable on the display)
anymore. This happened unintended until now (on page flip we never really
did something useful in the else statement, because if we're here it's not
a GBM buffer anyway).

With this patch we:
* delete on page flips always only the old buffer, which is not used anymore
* release the buffer earlier on interrupts like display disconnect in order
  to be able to destroy the EGL context

Test Plan:
Tested in non atomic mode (atomic mode is obsolete right now until my other
WIP patch D4539 is ready to be merged): Login, logout, suspend, normal use.

Reviewers: #kwin, graesslin

Reviewed By: #kwin, graesslin

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D5060
2017-03-17 20:41:46 +01:00
..
idletime [wayland] Fix heap-use-after-free in idle time plugin 2016-02-02 12:00:12 +01:00
kdecorations SVN_SILENT made messages (.desktop file) - always resolve ours 2017-02-23 06:22:20 +01:00
kglobalaccel [globalaccel] Ensure we don't call into deleted InputRedirection on shutdown 2015-10-05 14:47:15 +02:00
platforms [DrmBackend] Straighten out EGL surface buffer release logic on page flip 2017-03-17 20:41:46 +01:00
qpa Require Qt 5.7 and remove pre-5.7 code 2017-02-07 20:43:19 +01:00
CMakeLists.txt Move clients/ to plugins/kdecorations/ 2016-04-15 15:21:03 +02:00