Two wayland connection in single process context

Vikas Patil vikasmpatil at
Wed Jul 27 11:36:04 UTC 2016

Dear All,

Could you comment/suggest on following approach of using two different
wayland connection in single process?

First wayland connection for creating wl_shm backed wayland surface
for receiving touch inputs in main thread or as separate thread. Like
simple-touch.c example but without painting and transparent.

Second wayland connection for another egl wayland surface for
rendering in shared library which will be loaded by above application.
Like simple-egl.c example.

Will this work? Is it this the right way to do it or is there any
other mechanism available for such requirement?

Thanks & Regards,

More information about the wayland-devel mailing list