eglSwapBuffer blocks without any shell surface query!

Vikas Patil vikasmpatil at
Wed Jun 8 05:19:43 UTC 2016

Dear All,

What if I don't use any shell/shell surface in GLES/EGL based
application with wayland/weston? Will eglSwapBuffer blocks in that
case? Is using any shell surface must?

I am fine if application doesn't display but it should run and not
block without shell surface. I am trying to understand behavior of
eglSwapBuffer and why it is blocking?

Attached here example application which doesn't use any shell surface
and just renders in egl surface, however with this I am seeing
application gets blocked in eglSwapBuffer with i.MX6/Linux platform.

Thanks & Regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c
Type: text/x-csrc
Size: 18631 bytes
Desc: not available
URL: <>

More information about the wayland-devel mailing list