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
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel