kwin/plugins/platforms
Martin Gräßlin 4e7392b907 [platforms/virtual] Pass ownership of gbm_device and drm fd to Platform
The Egl backend opens the drm device and creates a gbm_device from it.
From that it creates the EGL device. The EGL device outlives the EGL
backend (e.g. for compositor restart). So far the EGL backend destroyed
the gbm_device when going down which mesa did not like at all when a
new context got created on that EGL device.

Thus the ownership of gbm_device is also passed to the Platform so that
the compositor can be restarted.

This makes the TestSceneOpenGL no longer crash during the restart
compositor test.
2016-08-19 15:40:39 +02:00
..
drm Set initial count of screens before calling Screens::init 2016-08-05 09:59:22 +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 Move X11Cursor into the x11standalone platform plugin 2016-08-19 10:57:09 +02:00
CMakeLists.txt