graesslin created this revision. graesslin added reviewers: KWin, Plasma. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY So far all outputs shared the same dumb buffer for the cursor image. This doesn't work any more when screen rotation is enabled. For rotated screens the cursor image per output is different. On some it might be rotated, on some not. To solve this problem the dumb buffers are moved from the DrmBackend to the DrmOutput. The DrmOutput now creates the cursor images itself and can rotate them if needed. Thus we get nicely transformed cursors. TEST PLAN Rotated screens, moved cursor around, image properly rotated REPOSITORY R108 KWin BRANCH drm-cursor-to-output REVISION DETAIL https://phabricator.kde.org/D8664 AFFECTED FILES plugins/platforms/drm/drm_backend.cpp plugins/platforms/drm/drm_backend.h plugins/platforms/drm/drm_output.cpp plugins/platforms/drm/drm_output.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart