<table><tr><td style="">romangg created this revision.<br />romangg added a reviewer: KWin.<br />Herald added a project: Frameworks.<br />Herald added a subscriber: kde-frameworks-devel.<br />romangg requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15910">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Missing from our surface handling was the damage_buffer call introduced in<br />
version 4 of the wl_compositor interface.</p>

<p>Its only difference to a normal damage call is that the damaged region is<br />
supposed to be defined by the client in buffer coordinates instead of<br />
surface coordinates. This damage must be tracked separately in KWayland<br />
and on commit with the buffer transformation united with the normal damage.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Autotest updated.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R127 KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>damageBuffer</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15910">https://phabricator.kde.org/D15910</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/test_wayland_surface.cpp<br />
src/client/registry.cpp<br />
src/client/surface.cpp<br />
src/client/surface.h<br />
src/server/compositor_interface.cpp<br />
src/server/surface_interface.cpp<br />
src/server/surface_interface_p.h</div></div></div><br /><div><strong>To: </strong>romangg, KWin<br /><strong>Cc: </strong>kde-frameworks-devel, michaelh, ngraham, bruns<br /></div>