[Differential] [Request, 107 lines] D1281: [server] Add damage tracking feature to SurfaceInterface
graesslin (Martin Gräßlin)
noreply at phabricator.kde.org
Fri Apr 1 06:42:31 UTC 2016
graesslin created this revision.
graesslin added a reviewer: Plasma.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
REVISION SUMMARY
This change introduces a damage tracking feature in SurfaceInterface.
So far the SurfaceInterface only exposes the damage compared to the
last attached buffer. But this is not always usefull for the user of
the library. E.g. if:
- server renders
- client damages buffer and commits
- client damages buffer and commits
- server wants render
In this situation the last damage information is not helpful to the
user of the library. It would need the combined damage information over
all attached buffers.
The new API combines the damage of the two commits in the example above.
The user of the library can then call resetTrackedDamage once it
processed the current damage (e.g. by updating the OpenGL texture).
REPOSITORY
rKWAYLAND KWayland
BRANCH
surface-tracked-damage
REVISION DETAIL
https://phabricator.kde.org/D1281
AFFECTED FILES
autotests/client/test_wayland_surface.cpp
src/server/surface_interface.cpp
src/server/surface_interface.h
src/server/surface_interface_p.h
EMAIL PREFERENCES
https://phabricator.kde.org/settings/panel/emailpreferences/
To: graesslin, Plasma
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160401/a7ce7d3d/attachment.html>
More information about the Plasma-devel
mailing list