Add explicit SurfaceInterface::commited signal
ClosedPublic

Authored by davidedmundson on Jan 28 2019, 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.Jan 28 2019, 2:44 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 28 2019, 2:44 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
davidedmundson requested review of this revision.Jan 28 2019, 2:44 PM
zzag accepted this revision.Jan 28 2019, 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.Jan 28 2019, 3:11 PM
This revision was automatically updated to reflect the committed changes.