kwin/plugins/platforms/drm
Martin Flöser c06c234778 [platforms/drm] Properly adjust cursor position on a rotated output
Summary:
This change refactors the way how the cursor position on a screen is
calculated. It is changed to a matrix multiplication with the
adjustments for the rotated screen just being additional steps added to
the matrix.

With this calculation I got correct positions for all variants of
scaled, rotated and differently positioned outputs.

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D8627
2017-11-05 09:22:10 +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] Restore previous mode if an atomic test fails 2017-11-05 09:21:24 +01:00
drm_object_plane.h [platforms/drm] Restore previous mode if an atomic test fails 2017-11-05 09:21:24 +01:00
drm_output.cpp [platforms/drm] Properly adjust cursor position on a rotated output 2017-11-05 09:22:10 +01:00
drm_output.h [platforms/drm] Restore previous mode if an atomic test fails 2017-11-05 09:21:24 +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 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