| Index: third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-client-protocol.h
|
| diff --git a/third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-client-protocol.h b/third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-client-protocol.h
|
| index 9faf364972bf0901d07814cc1896a32685871b98..00644ac0c5c6ac3a7cdf505dfebecdb05d909784 100644
|
| --- a/third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-client-protocol.h
|
| +++ b/third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-client-protocol.h
|
| @@ -1,4 +1,4 @@
|
| -/* Generated by wayland-scanner 1.11.0 */
|
| +/* Generated by wayland-scanner 1.12.90 */
|
|
|
| #ifndef LINUX_EXPLICIT_SYNCHRONIZATION_UNSTABLE_V1_CLIENT_PROTOCOL_H
|
| #define LINUX_EXPLICIT_SYNCHRONIZATION_UNSTABLE_V1_CLIENT_PROTOCOL_H
|
| @@ -96,17 +96,18 @@ enum zcr_linux_explicit_synchronization_v1_error {
|
| };
|
| #endif /* ZCR_LINUX_EXPLICIT_SYNCHRONIZATION_V1_ERROR_ENUM */
|
|
|
| -#define ZCR_LINUX_EXPLICIT_SYNCHRONIZATION_V1_DESTROY 0
|
| -#define ZCR_LINUX_EXPLICIT_SYNCHRONIZATION_V1_GET_SYNCHRONIZATION 1
|
| +#define ZCR_LINUX_EXPLICIT_SYNCHRONIZATION_V1_DESTROY 0
|
| +#define ZCR_LINUX_EXPLICIT_SYNCHRONIZATION_V1_GET_SYNCHRONIZATION 1
|
| +
|
|
|
| /**
|
| * @ingroup iface_zcr_linux_explicit_synchronization_v1
|
| */
|
| -#define ZCR_LINUX_EXPLICIT_SYNCHRONIZATION_V1_DESTROY_SINCE_VERSION 1
|
| +#define ZCR_LINUX_EXPLICIT_SYNCHRONIZATION_V1_DESTROY_SINCE_VERSION 1
|
| /**
|
| * @ingroup iface_zcr_linux_explicit_synchronization_v1
|
| */
|
| -#define ZCR_LINUX_EXPLICIT_SYNCHRONIZATION_V1_GET_SYNCHRONIZATION_SINCE_VERSION 1
|
| +#define ZCR_LINUX_EXPLICIT_SYNCHRONIZATION_V1_GET_SYNCHRONIZATION_SINCE_VERSION 1
|
|
|
| /** @ingroup iface_zcr_linux_explicit_synchronization_v1 */
|
| static inline void
|
| @@ -162,17 +163,28 @@ zcr_linux_explicit_synchronization_v1_get_synchronization(struct zcr_linux_expli
|
| return (struct zcr_synchronization_v1 *) id;
|
| }
|
|
|
| -#define ZCR_SYNCHRONIZATION_V1_DESTROY 0
|
| -#define ZCR_SYNCHRONIZATION_V1_SET_ACQUIRE_FENCE 1
|
| +#ifndef ZCR_SYNCHRONIZATION_V1_ERROR_ENUM
|
| +#define ZCR_SYNCHRONIZATION_V1_ERROR_ENUM
|
| +enum zcr_synchronization_v1_error {
|
| + /**
|
| + * the fence specified by the client could not be imported
|
| + */
|
| + ZCR_SYNCHRONIZATION_V1_ERROR_INVALID_FENCE = 0,
|
| +};
|
| +#endif /* ZCR_SYNCHRONIZATION_V1_ERROR_ENUM */
|
| +
|
| +#define ZCR_SYNCHRONIZATION_V1_DESTROY 0
|
| +#define ZCR_SYNCHRONIZATION_V1_SET_ACQUIRE_FENCE 1
|
| +
|
|
|
| /**
|
| * @ingroup iface_zcr_synchronization_v1
|
| */
|
| -#define ZCR_SYNCHRONIZATION_V1_DESTROY_SINCE_VERSION 1
|
| +#define ZCR_SYNCHRONIZATION_V1_DESTROY_SINCE_VERSION 1
|
| /**
|
| * @ingroup iface_zcr_synchronization_v1
|
| */
|
| -#define ZCR_SYNCHRONIZATION_V1_SET_ACQUIRE_FENCE_SINCE_VERSION 1
|
| +#define ZCR_SYNCHRONIZATION_V1_SET_ACQUIRE_FENCE_SINCE_VERSION 1
|
|
|
| /** @ingroup iface_zcr_synchronization_v1 */
|
| static inline void
|
| @@ -216,6 +228,9 @@ zcr_synchronization_v1_destroy(struct zcr_synchronization_v1 *zcr_synchronizatio
|
| *
|
| * The acquire state is double-buffered state, and will be applied on
|
| * the next wl_surface.commit.
|
| + *
|
| + * If the fence could not be imported, an INVALID_FENCE error is signaled
|
| + * to the client.
|
| */
|
| static inline void
|
| zcr_synchronization_v1_set_acquire_fence(struct zcr_synchronization_v1 *zcr_synchronization_v1, int32_t fd)
|
|
|