4e7392b907
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
egl_gbm_backend.cpp | ||
egl_gbm_backend.h | ||
scene_qpainter_virtual_backend.cpp | ||
scene_qpainter_virtual_backend.h | ||
screens_virtual.cpp | ||
screens_virtual.h | ||
virtual.json | ||
virtual_backend.cpp | ||
virtual_backend.h |