| Index: third_party/wayland-protocols/protocol/linux-explicit-synchronization-protocol.c
|
| diff --git a/third_party/wayland-protocols/protocol/alpha-compositing-protocol.c b/third_party/wayland-protocols/protocol/linux-explicit-synchronization-protocol.c
|
| similarity index 69%
|
| copy from third_party/wayland-protocols/protocol/alpha-compositing-protocol.c
|
| copy to third_party/wayland-protocols/protocol/linux-explicit-synchronization-protocol.c
|
| index 543bff8c554c025e380c5d45336d60a70b559908..924b6f56c443dfa74d9894394ac38a22273e58f1 100644
|
| --- a/third_party/wayland-protocols/protocol/alpha-compositing-protocol.c
|
| +++ b/third_party/wayland-protocols/protocol/linux-explicit-synchronization-protocol.c
|
| @@ -28,34 +28,33 @@
|
| #include "wayland-util.h"
|
|
|
| extern const struct wl_interface wl_surface_interface;
|
| -extern const struct wl_interface zcr_blending_v1_interface;
|
| +extern const struct wl_interface zcr_synchronization_v1_interface;
|
|
|
| static const struct wl_interface *types[] = {
|
| NULL,
|
| - &zcr_blending_v1_interface,
|
| + &zcr_synchronization_v1_interface,
|
| &wl_surface_interface,
|
| };
|
|
|
| -static const struct wl_message zcr_alpha_compositing_v1_requests[] = {
|
| +static const struct wl_message zcr_linux_explicit_synchronization_v1_requests[] = {
|
| { "destroy", "", types + 0 },
|
| - { "get_blending", "no", types + 1 },
|
| + { "get_synchronization", "no", types + 1 },
|
| };
|
|
|
| -WL_EXPORT const struct wl_interface zcr_alpha_compositing_v1_interface = {
|
| - "zcr_alpha_compositing_v1", 1,
|
| - 2, zcr_alpha_compositing_v1_requests,
|
| +WL_EXPORT const struct wl_interface zcr_linux_explicit_synchronization_v1_interface = {
|
| + "zcr_linux_explicit_synchronization_v1", 1,
|
| + 2, zcr_linux_explicit_synchronization_v1_requests,
|
| 0, NULL,
|
| };
|
|
|
| -static const struct wl_message zcr_blending_v1_requests[] = {
|
| +static const struct wl_message zcr_synchronization_v1_requests[] = {
|
| { "destroy", "", types + 0 },
|
| - { "set_blending", "u", types + 0 },
|
| - { "set_alpha", "f", types + 0 },
|
| + { "set_acquire_fence", "h", types + 0 },
|
| };
|
|
|
| -WL_EXPORT const struct wl_interface zcr_blending_v1_interface = {
|
| - "zcr_blending_v1", 1,
|
| - 3, zcr_blending_v1_requests,
|
| +WL_EXPORT const struct wl_interface zcr_synchronization_v1_interface = {
|
| + "zcr_synchronization_v1", 1,
|
| + 2, zcr_synchronization_v1_requests,
|
| 0, NULL,
|
| };
|
|
|
|
|