D8664: [platforms/drm] Move cursor dumb buffers to Output
Martin Flöser
noreply at phabricator.kde.org
Sun Nov 5 11:03:08 UTC 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171105/1a132acf/attachment-0001.html>
More information about the Plasma-devel
mailing list