One question on wayland desing on buffer

HalleyZhao halleyzhao at
Mon Sep 2 00:40:41 UTC 2019

Hi experts:  wayland designs a light-weight server, usually client manages buffer by themselves. It gives client more flexibility, migration rendering/composition between different server, subsurface to keep layout while keeping view hiarchy.  however, there is something not convenient for wayland server. take android surfaceflinger as counterpart, surfaceflinger manages the buffer/layer of surface, then any client (owns the BufferQueue client proxy) can update the surface directly. that is, mediaserver in android can enqueueBuffer to update the surface directly. in wayland world, a mediaserver has to pass the buffer (handle) to app/UI process, then the surface is updated in app process.  Is my above understanding correct? 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the wayland-devel mailing list