kwin/plugins/platforms/drm
Martin Flöser b2d8bbec81 [platforms/drm] Rotate screen if requested from KScreen
Summary:
This change hooks up the drm plane rotate with the rotation requests
from KScreen. Our requests support more than what KScreen exposes in the
UI, that is all the flipped variants. I do not really understand what
the flip means, so this is not implemented yet.

Furthermore this only implements the visual rotation and not the input
rotation. This means mouse movement and touch input is currently broken
on a rotated screen.

Please note that the hardware I used seems to not support the vertical
rotation. I'm not sure whether my code works. On my system it just
results in atomic commit errors and we need to go back to a previous
working state. This is not yet implemented. I need to test the vertical
rotation on my notebook, which should (in theory) support it.

Reviewers: #kwin, #plasma, subdiff, sebas

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D8594
2017-11-02 22:08:43 +01:00
..
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 [platforms/drm] Add support for rotation property on the Plane 2017-11-02 19:59:14 +01:00
drm_object_plane.h [platforms/drm] Add support for rotation property on the Plane 2017-11-02 19:59:14 +01:00
drm_output.cpp [platforms/drm] Rotate screen if requested from KScreen 2017-11-02 22:08:43 +01:00
drm_output.h [platforms/drm] Rotate screen if requested from KScreen 2017-11-02 22:08:43 +01:00
drm_pointer.h
egl_gbm_backend.cpp [platforms/drm] Fix typo in cleanup of eglSurface 2017-10-31 17:05:26 +01:00
egl_gbm_backend.h [drm] Implement changing of modes 2017-10-31 12:45:38 +01:00
gbm_surface.cpp
gbm_surface.h
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
screens_drm.cpp
screens_drm.h