<div>graesslin created this revision.<br />
graesslin added a reviewer: Plasma.<br />
Herald added a project: Plasma.<br />
Herald added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>This change introduces a damage tracking feature in SurfaceInterface.<br />
So far the SurfaceInterface only exposes the damage compared to the<br />
last attached buffer. But this is not always usefull for the user of<br />
the library. E.g. if:</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">server renders</li>
<li class="remarkup-list-item">client damages buffer and commits</li>
<li class="remarkup-list-item">client damages buffer and commits</li>
<li class="remarkup-list-item">server wants render</li>
</ul>
<p>In this situation the last damage information is not helpful to the<br />
user of the library. It would need the combined damage information over<br />
all attached buffers.</p>
<p>The new API combines the damage of the two commits in the example above.<br />
The user of the library can then call resetTrackedDamage once it<br />
processed the current damage (e.g. by updating the OpenGL texture).</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWAYLAND KWayland</div></div></div><br /><div><strong>BRANCH</strong><div><div>surface-tracked-damage</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1281" rel="noreferrer">https://phabricator.kde.org/D1281</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/client/test_wayland_surface.cpp<br />
src/server/surface_interface.cpp<br />
src/server/surface_interface.h<br />
src/server/surface_interface_p.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, Plasma<br /><strong>Cc: </strong>plasma-devel, sebas<br /></div>