[Wayland-bugs] [Bug 97353] Wayland lacks cross-process synchronisation
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Aug 17 10:02:13 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=97353
--- Comment #17 from Tomek Bury <tomek.bury at gmail.com> ---
(In reply to Daniel Stone from comment #16)
> It doesn't give you standardised cross-process primitives, but EGL platforms
> and winsys mostly require working across process boundaries.
Definitely not EGL:
"2.3 Direct Rendering and Address Spaces
EGL is assumed to support only direct rendering, unlike similar APIs such as
GLX. EGL objects and related context state cannot be used outside of the
address space in which they are created. In a single-threaded environment, each
process has its own address space. In a multi-threaded environment, all threads
may share the same virtual address space; however, this capability is not
required, and imple- mentations may choose to restrict their address space to
be per-thread even in an environment supporting multiple application threads.
Context state, including both the client and server state of OpenGL and OpenGL
ES contexts, exists in the client’s address space; this state cannot be shared
by a client in another process.
Support of indirect rendering (in those environments where this concept makes
sense) may have the effect of relaxing these limits on sharing. However, such
support is beyond the scope of this document."
> It's entirely
> legitimate to place requirements on how they operate, without having to
> specify an entire generic mechanism for external fencing.
I fully agree. Perhaps sync requirement should do here:
https://www.khronos.org/registry/egl/extensions/EXT/EGL_EXT_platform_wayland.txt
https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_platform_wayland.txt
and here:
https://cgit.freedesktop.org/mesa/mesa/tree/docs/specs/WL_bind_wayland_display.spec
(BTW. shouldn't this be submitted to Khronos?)
--
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/869a69e7/attachment.html>
More information about the wayland-bugs
mailing list