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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 16 18:34:36 UTC 2016


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

--- Comment #13 from Daniel Stone <daniel at fooishbar.org> ---
(In reply to Kristian Høgsberg from comment #12)
> (In reply to Tomek Bury from comment #11)
> > That's not the case, at least in the latest compositor. Now compositor keeps
> > EGL images for the lifetime of a client and assumes that writes from client
> > and reads from the compositor will be implicitly interlocked, the
> > eglImageCreate() and eglImageDestroy() happens only once per buffer and
> > can't be a driver hook point to create fences.
> 
> Which compositor is this? From a quick look at weston, it looks like it
> unrefs the EGLImages when a new wl_buffer is attached, but maybe there's
> some subtlety in the ref-counting there.

I'd equally consider any compositor which doesn't do this to be broken. Weston
to the best of my knowledge (and a quick check) does destroy and recreate.

You're very right that this should be documented better. I'm not sure if the
Khronos specs are the best place, or a document in the Wayland repository
itself. Can we take this bug as one request for explicit fencing support (being
actively pursued), and another one to document the EGL platform requirements
for both driver implementations and compositors?

-- 
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/20160816/13157b8a/attachment.html>


More information about the wayland-bugs mailing list