kwin/plugins/platforms
Roman Gilg 997cf97c9f Atomic Mode Setting / Universal Plane preliminary support
This is Milestone 1 of full support of Atomic Mode Setting (AMS) and
Universal Planes in the KWin DRM backend.

With Milestone 1 we can use the primary plane of a DRM output and do an
AMS commit (this means mode setting aswell as page flipping), if the
driver supports it. Until now the functionality is only tested on Intel
graphics. You need the drm-next kernel for most recent DRM kernel
developments. As boot option set "i915.nuclear_pageflip". Additionally
at the moment AMS is still hidden behind the environment variable
KWIN_DRM_AMS. Set it, if you want to try out AMS.

What needs to be done next: Make it possible to transfer EGL buffers
directly to planes and implement logic for deciding about using a plane
or not for a specific buffer.

You can read more about it on LWN:
https://lwn.net/Articles/653071
And on Martin's blog:
https://blog.martin-graesslin.com/blog/2015/08/layered-compositing/
I used as model previous work by Daniel Stone for Weston:
https://git.collabora.com/cgit/user/daniels/weston.git

Reviewed-by: mgraesslin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D2370
2016-08-31 14:06:31 +02:00
..
drm Atomic Mode Setting / Universal Plane preliminary support 2016-08-31 14:06:31 +02:00
fbdev [platforms/fbdev] Handle error conditions more gracefully 2016-07-13 10:11:38 +02:00
hwcomposer [platforms/hwcomposer] Set default old brightness to 50% (0x7f) 2016-08-18 17:59:07 +05:30
virtual [platforms/virtual] Pass ownership of gbm_device and drm fd to Platform 2016-08-19 15:40:39 +02:00
wayland Support restarting the OpenGL compositor on Wayland 2016-07-20 14:08:23 +02:00
x11 Forward x11 raw pointer buttons to PointerInputRedirection 2016-08-25 11:47:47 +02:00
CMakeLists.txt