[Wayland-bugs] [Bug 97353] Wayland lacks cross-process synchronisation

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Aug 17 17:14:17 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97353

--- Comment #23 from Tomek Bury <tomek.bury at gmail.com> ---
(In reply to Daniel Stone from comment #21)
> EGL was mostly written by copying GLX and changing a few terms around.
> eglWaitNative is the direct analog of glXWaitX (the documentation of which
> explicitly mentions XSync), and the required implementation of eglWaitNative
> on X11 is glXWaitX, which necessarily involves crossing a process boundary.
A spec that EGL borrows from mentioned XSync therfore EGL mandates
cross-process interoperability? Wow, that's a hell of a stretch :D

> EGL objects - as visible to clients - are not shareable across process
> contexts. But this does not mean that EGL calls are required to never do
> anything which could cross a process boundary [...]
I never said that. I'm only saying that cross-process stuff is explicitly
outside of EGL scope. As far as core EGL is concerned everything is inside one
process. Wayland needs more therefore Wayland needs extension(s) to expose any
cross-process functionality to callers.


> Implementing support for any winsys apart from fbdev or GBM necessarily
> imposes requirements on cross-process co-ordination; this includes exporting
> synchronisation objects between processes. 
Yes.

> If EGL banned cross-process fencing [...]
But it doesn't ban cross-process and it doesn't mandate cross-process, it only
says "no cross-process out of the box, wirte extension or look elsewhere if you
need it".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160817/bebb4308/attachment.html>


More information about the wayland-bugs mailing list