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

Unified Diff: third_party/wayland-protocols/protocol/vsync-feedback-protocol.c

Issue 2352563002: third_party: Remove deprecated zwp wayland interfaces. (Closed)
Patch Set: rebase Created 4 years, 3 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/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 2384d2bf9d43f28317f27253e167074851d4b1ee..a021d91102afb785cc3f33988eab532d7b0ad9d6 100644
--- a/third_party/wayland-protocols/protocol/vsync-feedback-protocol.c
+++ b/third_party/wayland-protocols/protocol/vsync-feedback-protocol.c
@@ -29,7 +29,6 @@
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[] = {
NULL,
@@ -38,8 +37,6 @@ static const struct wl_interface *types[] = {
NULL,
&zcr_vsync_timing_v1_interface,
&wl_output_interface,
- &zwp_vsync_timing_v1_interface,
- &wl_output_interface,
};
static const struct wl_message zcr_vsync_feedback_v1_requests[] = {
@@ -67,28 +64,3 @@ WL_EXPORT const struct wl_interface zcr_vsync_timing_v1_interface = {
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,
- 0, NULL,
-};
-
-static const struct wl_message zwp_vsync_timing_v1_requests[] = {
- { "destroy", "", types + 0 },
-};
-
-static const struct wl_message zwp_vsync_timing_v1_events[] = {
- { "update", "uuuu", types + 0 },
-};
-
-WL_EXPORT const struct wl_interface zwp_vsync_timing_v1_interface = {
- "zwp_vsync_timing_v1", 1,
- 1, zwp_vsync_timing_v1_requests,
- 1, zwp_vsync_timing_v1_events,
-};
-

Powered by Google App Engine
This is Rietveld 408576698