wayland: how should dispatch the default wayland display queue?

Eugen Friedrich friedrix at gmail.com
Sun Jul 27 11:14:17 PDT 2014


Hi all,

after debugging a memory consumption issue in simple wayland application i
found a issue in our wayland graphics backend. Then i took a look into the
mesa implementation and found the quite similar implementation there.

Our graphics stack creates it's own wayland queue and uses this queue for
all wayland objects and only this queue will be dispatched. Our graphics
stack calls also wl_display_sync api and the issue is that the wayland
library will send a delete event which will go to the default queue of
wayland display but this is never dispatched from the driver and the memory
consumption increases.

So should the graphics stack dispatch also the default queue or should
application call somewhere wl_display_dispatch_pending?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20140727/0dabefd3/attachment.html>


More information about the wayland-devel mailing list