Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-server-protocol.h

Issue 2404513002: exo: Implement zcr_linux_explicit_synchronization_v1
Patch Set: rebase, address review comments Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-server-protocol.h
diff --git a/third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-server-protocol.h b/third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-server-protocol.h
index 775fbdfcb8d2cc91e5b66bd8e34b9201ef60464f..52d51e4f0ccdaefa0e3ecf66ea1a9b96121e5186 100644
--- a/third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-server-protocol.h
+++ b/third_party/wayland-protocols/include/protocol/linux-explicit-synchronization-unstable-v1-server-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_SERVER_PROTOCOL_H
#define LINUX_EXPLICIT_SYNCHRONIZATION_UNSTABLE_V1_SERVER_PROTOCOL_H
@@ -131,6 +131,25 @@ struct zcr_linux_explicit_synchronization_v1_interface {
/**
+ * @ingroup iface_zcr_linux_explicit_synchronization_v1
+ */
+#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
+
+#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 */
+
+/**
* @ingroup iface_zcr_synchronization_v1
* @struct zcr_synchronization_v1_interface
*/
@@ -151,6 +170,9 @@ struct zcr_synchronization_v1_interface {
*
* 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.
* @param fd fence fd
*/
void (*set_acquire_fence)(struct wl_client *client,
@@ -159,6 +181,15 @@ struct zcr_synchronization_v1_interface {
};
+/**
+ * @ingroup iface_zcr_synchronization_v1
+ */
+#define ZCR_SYNCHRONIZATION_V1_DESTROY_SINCE_VERSION 1
+/**
+ * @ingroup iface_zcr_synchronization_v1
+ */
+#define ZCR_SYNCHRONIZATION_V1_SET_ACQUIRE_FENCE_SINCE_VERSION 1
+
#ifdef __cplusplus
}
#endif

Powered by Google App Engine
This is Rietveld 408576698