kwin/plugins/platforms/drm
Martin Flöser 33a4cf4050 [drm] Implement changing of modes
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
2017-10-31 12:45:38 +01:00
..
CMakeLists.txt Merge branch 'Plasma/5.11' 2017-10-09 21:04:41 +02:00
drm.json SVN_SILENT made messages (.desktop file) - always resolve ours 2017-08-30 08:05:15 +02:00
drm_backend.cpp Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
drm_backend.h Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
drm_buffer.cpp [DRM plugin] Reorganize DrmBuffer 2017-05-09 21:00:33 +02:00
drm_buffer.h [DRM plugin] Reorganize DrmBuffer 2017-05-09 21:00:33 +02:00
drm_buffer_gbm.cpp [platforms/drm] Use a shared pointer for gbm_surface 2017-10-05 21:32:46 +02:00
drm_buffer_gbm.h [platforms/drm] Use a shared pointer for gbm_surface 2017-10-05 21:32:46 +02:00
drm_inputeventfilter.cpp
drm_inputeventfilter.h
drm_object.cpp [DRM plugin] Correct Atomic Mode Setting 2017-05-09 21:29:10 +02:00
drm_object.h [DRM plugin] Correct Atomic Mode Setting 2017-05-09 21:29:10 +02:00
drm_object_connector.cpp [DRM plugin] Correct Atomic Mode Setting 2017-05-09 21:29:10 +02:00
drm_object_connector.h [DRM plugin] Correct Atomic Mode Setting 2017-05-09 21:29:10 +02:00
drm_object_crtc.cpp [DRM plugin] Correct Atomic Mode Setting 2017-05-09 21:29:10 +02:00
drm_object_crtc.h [DRM plugin] Correct Atomic Mode Setting 2017-05-09 21:29:10 +02:00
drm_object_plane.cpp [DRM plugin] Correct Atomic Mode Setting 2017-05-09 21:29:10 +02:00
drm_object_plane.h [DRM plugin] Correct Atomic Mode Setting 2017-05-09 21:29:10 +02:00
drm_output.cpp [drm] Implement changing of modes 2017-10-31 12:45:38 +01:00
drm_output.h [drm] Implement changing of modes 2017-10-31 12:45:38 +01:00
drm_pointer.h
egl_gbm_backend.cpp [drm] Implement changing of modes 2017-10-31 12:45:38 +01:00
egl_gbm_backend.h [drm] Implement changing of modes 2017-10-31 12:45:38 +01:00
gbm_surface.cpp [platforms/drm] Use a shared pointer for gbm_surface 2017-10-05 21:32:46 +02:00
gbm_surface.h Fix DRM EGL crash regression 2017-10-12 10:12:24 +02:00
logging.cpp
logging.h
scene_qpainter_drm_backend.cpp [drm] Implement changing of modes 2017-10-31 12:45:38 +01:00
scene_qpainter_drm_backend.h Move QPainter compositor into plugin 2017-09-01 17:44:49 +02:00
screens_drm.cpp Add physicalSize to the Screens API 2017-10-19 18:02:32 +02:00
screens_drm.h Add physicalSize to the Screens API 2017-10-19 18:02:32 +02:00