33a4cf4050
Summary: This change hooks up the bits for changing the mode when a request to change mode from kscreen is received. This includes: * setting new mode in DrmOutput * creating new buffers in SceneQPainter backend * creating new GbmSurface in SceneOpenGL backend Room for improvement: * detect whether the new mode works and go back to old one if it fails Test Plan: Started both a QPainter/OpenGL session. Used kcmshell5 kscreen to modify the resolution. Saw that it got applied, maximized a window to verify it's correct. Changed back to original resolution. Verified it looked good by maximizing a window. Reviewers: #kwin, #plasma, subdiff, sebas Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D8398 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
drm.json | ||
drm_backend.cpp | ||
drm_backend.h | ||
drm_buffer.cpp | ||
drm_buffer.h | ||
drm_buffer_gbm.cpp | ||
drm_buffer_gbm.h | ||
drm_inputeventfilter.cpp | ||
drm_inputeventfilter.h | ||
drm_object.cpp | ||
drm_object.h | ||
drm_object_connector.cpp | ||
drm_object_connector.h | ||
drm_object_crtc.cpp | ||
drm_object_crtc.h | ||
drm_object_plane.cpp | ||
drm_object_plane.h | ||
drm_output.cpp | ||
drm_output.h | ||
drm_pointer.h | ||
egl_gbm_backend.cpp | ||
egl_gbm_backend.h | ||
gbm_surface.cpp | ||
gbm_surface.h | ||
logging.cpp | ||
logging.h | ||
scene_qpainter_drm_backend.cpp | ||
scene_qpainter_drm_backend.h | ||
screens_drm.cpp | ||
screens_drm.h |