D15910: Implement wl_surface::damage_buffer
Roman Gilg
noreply at phabricator.kde.org
Tue Oct 2 23:12:57 BST 2018
romangg created this revision.
romangg added a reviewer: KWin.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
romangg requested review of this revision.
REVISION SUMMARY
Missing from our surface handling was the damage_buffer call introduced in
version 4 of the wl_compositor interface.
Its only difference to a normal damage call is that the damaged region is
supposed to be defined by the client in buffer coordinates instead of
surface coordinates. This damage must be tracked separately in KWayland
and on commit with the buffer transformation united with the normal damage.
TEST PLAN
Autotest updated.
REPOSITORY
R127 KWayland
BRANCH
damageBuffer
REVISION DETAIL
https://phabricator.kde.org/D15910
AFFECTED FILES
autotests/client/test_wayland_surface.cpp
src/client/registry.cpp
src/client/surface.cpp
src/client/surface.h
src/server/compositor_interface.cpp
src/server/surface_interface.cpp
src/server/surface_interface_p.h
To: romangg, #kwin
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181002/06c330ad/attachment.html>
More information about the Kde-frameworks-devel
mailing list