[PATCH wayland-protocols 1/3] linux-explicit-synchronization: Allow fences with opaque EGL buffers

Pekka Paalanen ppaalanen at gmail.com
Fri Dec 14 11:57:25 UTC 2018


On Thu, 29 Nov 2018 11:35:28 +0200
Alexandros Frantzis <alexandros.frantzis at collabora.com> wrote:

> Add opaque EGL buffers to the supported buffer types for use with the
> explicit synchronization protocol. Opaque EGL buffers rely on the same
> EGL implementation in both the compositor and clients, which makes it
> straightforward to manage client expectations about fence support for
> such buffers.
> 
> Also make it clearer that implementations are free to support other
> buffer types beyond the required ones.
> 
> Signed-off-by: Alexandros Frantzis <alexandros.frantzis at collabora.com>
> ---
>  .../linux-explicit-synchronization-unstable-v1.xml  | 13 +++++++++----
>  1 file changed, 9 insertions(+), 4 deletions(-)
> 
> diff --git a/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml b/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml
> index db36284..5809b42 100644
> --- a/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml
> +++ b/unstable/linux-explicit-synchronization/linux-explicit-synchronization-unstable-v1.xml
> @@ -26,7 +26,7 @@
>      DEALINGS IN THE SOFTWARE.
>    </copyright>
>  
> -  <interface name="zwp_linux_explicit_synchronization_v1" version="1">
> +  <interface name="zwp_linux_explicit_synchronization_v1" version="2">
>      <description summary="protocol for providing explicit synchronization">
>        This global is a factory interface, allowing clients to request
>        explicit synchronization for buffers on a per-surface basis.
> @@ -76,7 +76,7 @@
>      </request>
>    </interface>
>  
> -  <interface name="zwp_linux_surface_synchronization_v1" version="1">
> +  <interface name="zwp_linux_surface_synchronization_v1" version="2">
>      <description summary="per-surface explicit synchronization support">
>        This object implements per-surface explicit synchronization.
>  
> @@ -101,8 +101,13 @@
>        Each surface can be associated with only one object of this interface at
>        any time.
>  
> -      Explicit synchronization is guaranteed to be supported only for buffers
> -      created with any version of the wp_linux_dmabuf buffer factory.
> +      In version 1 of this interface, explicit synchronization is only
> +      guaranteed to be supported for buffers created with any version of the
> +      wp_linux_dmabuf buffer factory. Version 2 additionally guarantees
> +      explicit synchronization support for opaque EGL buffers, which is a type
> +      of platform specific buffers described in the EGL_WL_bind_wayland_display
> +      extension. Compositors are free to support explicit synchronization for
> +      additional buffer types.
>      </description>
>  
>      <request name="destroy" type="destructor">

Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.com>


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20181214/ad0eac3a/attachment.sig>


More information about the wayland-devel mailing list