multiple wl surfaces commit in one client

zou lan nancy.lan.zou at gmail.com
Thu Nov 5 02:26:52 UTC 2020


Hi pekka

I want to ask if in one client have created many wl surfaces, and commit
all of them to weston in one frame, could weston guarantee to handle these
surface update commands in one repaint?

The sample code may like this:
redraw() {
wl_surface_commit(surface1);
wl_surface_commit(surface2);
wl_display_dispatch();
}

I think weston will handle the commit of surface1 and surface2 before next
repaint because surface1 and surface2 are belong to one client, is that
correct? Thank you!

Best regards
Nancy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20201105/3c3d909b/attachment.htm>


More information about the wayland-devel mailing list