kwin/plugins/platforms
Martin Flöser 26cdfd317f [platforms/drm] Restore previous mode if an atomic test fails
Summary:
When KWin successfully presents a new mode, it stores the current state
as the last working mode. If a new modeset is requested and the atomic
test fails, all is undone and reverted to this last knowing mode.

Currently included are:
 * the mode
 * global position
 * transformation

This is only done on a modeset not when going to DPMS.

Test Plan:
Selected the not working vertical rotation and nothing bad
happened.

Reviewers: #kwin, #plasma, subdiff

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D8602
2017-11-05 09:21:24 +01:00
..
drm [platforms/drm] Restore previous mode if an atomic test fails 2017-11-05 09:21:24 +01:00
fbdev [platforms/fbdev] Support for RGBA8888 color format 2017-10-23 13:44:53 +05:30
hwcomposer [platforms/hwcomposer] Set value of surfaceDamage.numRects to 0 2017-11-02 10:21:37 +05:30
virtual Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
wayland Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
x11 Only cleanup XRenderUtils is we actually created it 2017-11-01 15:51:21 +00:00
CMakeLists.txt Hide the Linux specific parts behind check for headers 2017-07-24 16:19:27 +02:00