Add explicit SurfaceInterface::commited signal
ClosedPublic

Authored by davidedmundson on Mon, Jan 28, 2:44 PM.

Details

Summary

Whilst some interfaces that are double-buffered against the wl_surface
are proxied through SurfaceInterface, some are not, most notably
XdgShell.

We need some low level signal to know when the surface has been
committed which doesn't rely on their being a damaged buffer.

Test Plan

Unit test
Used in kwin

Diff Detail

Repository
R127 KWayland
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Mon, Jan 28, 2:44 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptMon, Jan 28, 2:44 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
davidedmundson requested review of this revision.Mon, Jan 28, 2:44 PM
zzag accepted this revision.Mon, Jan 28, 3:11 PM
zzag added a subscriber: zzag.
zzag added inline comments.
src/server/surface_interface.h
363

**/

This revision is now accepted and ready to land.Mon, Jan 28, 3:11 PM
This revision was automatically updated to reflect the committed changes.