| Index: third_party/wayland-protocols/protocol/vsync-feedback-protocol.c
|
| diff --git a/third_party/wayland-protocols/protocol/vsync-feedback-protocol.c b/third_party/wayland-protocols/protocol/vsync-feedback-protocol.c
|
| index df2a4b673cd2053101ef4d66ad4ea56660c3a993..2384d2bf9d43f28317f27253e167074851d4b1ee 100644
|
| --- a/third_party/wayland-protocols/protocol/vsync-feedback-protocol.c
|
| +++ b/third_party/wayland-protocols/protocol/vsync-feedback-protocol.c
|
| @@ -28,6 +28,7 @@
|
| #include "wayland-util.h"
|
|
|
| extern const struct wl_interface wl_output_interface;
|
| +extern const struct wl_interface zcr_vsync_timing_v1_interface;
|
| extern const struct wl_interface zwp_vsync_timing_v1_interface;
|
|
|
| static const struct wl_interface *types[] = {
|
| @@ -35,15 +36,42 @@ static const struct wl_interface *types[] = {
|
| NULL,
|
| NULL,
|
| NULL,
|
| + &zcr_vsync_timing_v1_interface,
|
| + &wl_output_interface,
|
| &zwp_vsync_timing_v1_interface,
|
| &wl_output_interface,
|
| };
|
|
|
| -static const struct wl_message zwp_vsync_feedback_v1_requests[] = {
|
| +static const struct wl_message zcr_vsync_feedback_v1_requests[] = {
|
| { "destroy", "", types + 0 },
|
| { "get_vsync_timing", "n?o", types + 4 },
|
| };
|
|
|
| +WL_EXPORT const struct wl_interface zcr_vsync_feedback_v1_interface = {
|
| + "zcr_vsync_feedback_v1", 1,
|
| + 2, zcr_vsync_feedback_v1_requests,
|
| + 0, NULL,
|
| +};
|
| +
|
| +static const struct wl_message zcr_vsync_timing_v1_requests[] = {
|
| + { "destroy", "", types + 0 },
|
| +};
|
| +
|
| +static const struct wl_message zcr_vsync_timing_v1_events[] = {
|
| + { "update", "uuuu", types + 0 },
|
| +};
|
| +
|
| +WL_EXPORT const struct wl_interface zcr_vsync_timing_v1_interface = {
|
| + "zcr_vsync_timing_v1", 1,
|
| + 1, zcr_vsync_timing_v1_requests,
|
| + 1, zcr_vsync_timing_v1_events,
|
| +};
|
| +
|
| +static const struct wl_message zwp_vsync_feedback_v1_requests[] = {
|
| + { "destroy", "", types + 0 },
|
| + { "get_vsync_timing", "n?o", types + 6 },
|
| +};
|
| +
|
| WL_EXPORT const struct wl_interface zwp_vsync_feedback_v1_interface = {
|
| "zwp_vsync_feedback_v1", 1,
|
| 2, zwp_vsync_feedback_v1_requests,
|
|
|