mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-25 04:50:09 +01:00
linux-explicit-synchronization: Clarify implicit synchronization guarantees of release events
Clarify that after zwp_buffer_release_v1 events, otherwise unused buffers can be reused without any additional implicit synchronization. This is in contrast to wl_buffer.release, which doesn't guarantee that implicit synchronization is not required to safely use a buffer after the event is received. Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com> Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
08903bdf90
commit
57423eac60
1 changed files with 10 additions and 0 deletions
|
|
@ -226,6 +226,11 @@
|
||||||
signaled when all operations by the compositor on that buffer for that
|
signaled when all operations by the compositor on that buffer for that
|
||||||
commit have finished.
|
commit have finished.
|
||||||
|
|
||||||
|
Once the fence has signaled, and assuming the associated buffer is not
|
||||||
|
pending release from other wl_surface.commit requests, no additional
|
||||||
|
explicit or implicit synchronization is required to safely reuse or
|
||||||
|
destroy the buffer.
|
||||||
|
|
||||||
This event destroys the zwp_linux_buffer_release_v1 object.
|
This event destroys the zwp_linux_buffer_release_v1 object.
|
||||||
</description>
|
</description>
|
||||||
<arg name="fence" type="fd" summary="fence for last operation on buffer"/>
|
<arg name="fence" type="fd" summary="fence for last operation on buffer"/>
|
||||||
|
|
@ -238,6 +243,11 @@
|
||||||
using it, or has a guarantee that all its operations on that buffer for
|
using it, or has a guarantee that all its operations on that buffer for
|
||||||
that commit have finished.
|
that commit have finished.
|
||||||
|
|
||||||
|
Once this event is received, and assuming the associated buffer is not
|
||||||
|
pending release from other wl_surface.commit requests, no additional
|
||||||
|
explicit or implicit synchronization is required to safely reuse or
|
||||||
|
destroy the buffer.
|
||||||
|
|
||||||
This event destroys the zwp_linux_buffer_release_v1 object.
|
This event destroys the zwp_linux_buffer_release_v1 object.
|
||||||
</description>
|
</description>
|
||||||
</event>
|
</event>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue