kwin/plugins/platforms/virtual
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
..
CMakeLists.txt [platforms/virtual] Use rendernode or vgem device if available for egl 2016-07-21 09:13:57 +02:00
egl_gbm_backend.cpp [platforms/virtual] Pass ownership of gbm_device and drm fd to Platform 2016-08-19 15:40:39 +02:00
egl_gbm_backend.h [platforms/virtual] Pass ownership of gbm_device and drm fd to Platform 2016-08-19 15:40:39 +02:00
scene_qpainter_virtual_backend.cpp
scene_qpainter_virtual_backend.h
screens_virtual.cpp Set initial count of screens before calling Screens::init 2016-08-05 09:59:22 +02:00
screens_virtual.h
virtual.json
virtual_backend.cpp [platforms/virtual] Pass ownership of gbm_device and drm fd to Platform 2016-08-19 15:40:39 +02:00
virtual_backend.h [platforms/virtual] Pass ownership of gbm_device and drm fd to Platform 2016-08-19 15:40:39 +02:00