cbbe94d769
Summary: On Wayland we cannot switch from OpenGL to QPainter compositor as this would break any running OpenGL application. KWin registers it's EGLDisplay to Wayland and without OpenGL this doesn't make sense any more. We are not able to render OpenGL buffers in the QPainter compositor. While it's theoretically possible to switch from QPainter to OpenGL it doesn't make any sense for the same reason. Any running OpenGL application would be using llvmpipe and could not be switched to proper OpenGL. This change stores the selected compositing type in Platform and the implementations can use it to restrict the supported compositors. On X11 we don't need this, all other Platforms implement the restriction. Thus it's no longer possible to switch the backends at runtime. Test Plan: Adjusted tests run, no runtime test as gui doesn't support switching to QPainter anyway. Reviewers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D19084 |
||
---|---|---|
.. | ||
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 | ||
virtual_output.cpp | ||
virtual_output.h |