[Wayland-bugs] [Bug 98766] We need fences support in Wayland compositors

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 4 17:46:48 UTC 2018


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

--- Comment #11 from James Jones <jajones at nvidia.com> ---
Not proposing baking in any particular backend assumptions or debating whether
Khronos or Linux assumptions are better, but rather I was indirectly suggesting
a few modifications to make the overall extension less dependent on any
particular type, and allow persistence

-Register fences as a new wayland object type prior to actual attachment,
similar to how wl_surface abstracts DRM/shm/etc.  This makes persistence easy
when the underlying objects support it, and since apparently wayland object
creation is cheap, shouldn't add appreciable overhead where persistence doesn't
matter or doesn't work.

-Explicitly name the type of the FD being registered.  If dma-fence/sync FD is
the only type available in rev1, that's fine, but it's an easily extensible
API.

-- 
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/20180604/cdefd002/attachment.html>


More information about the wayland-bugs mailing list