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

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

Issue 2350633002: third_party: Switch to zcr prefix for downstream wayland interfaces. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 /* Generated by wayland-scanner 1.11.0 */ 1 /* Generated by wayland-scanner 1.11.0 */
2 2
3 /* 3 /*
4 * Copyright 2016 The Chromium Authors. 4 * Copyright 2016 The Chromium Authors.
5 * 5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
8 * to deal in the Software without restriction, including without limitation 8 * to deal in the Software without restriction, including without limitation
9 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 9 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 * and/or sell copies of the Software, and to permit persons to whom the 10 * and/or sell copies of the Software, and to permit persons to whom the
(...skipping 10 matching lines...) Expand all
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23 * DEALINGS IN THE SOFTWARE. 23 * DEALINGS IN THE SOFTWARE.
24 */ 24 */
25 25
26 #include <stdlib.h> 26 #include <stdlib.h>
27 #include <stdint.h> 27 #include <stdint.h>
28 #include "wayland-util.h" 28 #include "wayland-util.h"
29 29
30 extern const struct wl_interface wl_output_interface; 30 extern const struct wl_interface wl_output_interface;
31 extern const struct wl_interface zcr_vsync_timing_v1_interface;
31 extern const struct wl_interface zwp_vsync_timing_v1_interface; 32 extern const struct wl_interface zwp_vsync_timing_v1_interface;
32 33
33 static const struct wl_interface *types[] = { 34 static const struct wl_interface *types[] = {
34 NULL, 35 NULL,
35 NULL, 36 NULL,
36 NULL, 37 NULL,
37 NULL, 38 NULL,
39 &zcr_vsync_timing_v1_interface,
40 &wl_output_interface,
38 &zwp_vsync_timing_v1_interface, 41 &zwp_vsync_timing_v1_interface,
39 &wl_output_interface, 42 &wl_output_interface,
40 }; 43 };
41 44
45 static const struct wl_message zcr_vsync_feedback_v1_requests[] = {
46 { "destroy", "", types + 0 },
47 { "get_vsync_timing", "n?o", types + 4 },
48 };
49
50 WL_EXPORT const struct wl_interface zcr_vsync_feedback_v1_interface = {
51 "zcr_vsync_feedback_v1", 1,
52 2, zcr_vsync_feedback_v1_requests,
53 0, NULL,
54 };
55
56 static const struct wl_message zcr_vsync_timing_v1_requests[] = {
57 { "destroy", "", types + 0 },
58 };
59
60 static const struct wl_message zcr_vsync_timing_v1_events[] = {
61 { "update", "uuuu", types + 0 },
62 };
63
64 WL_EXPORT const struct wl_interface zcr_vsync_timing_v1_interface = {
65 "zcr_vsync_timing_v1", 1,
66 1, zcr_vsync_timing_v1_requests,
67 1, zcr_vsync_timing_v1_events,
68 };
69
42 static const struct wl_message zwp_vsync_feedback_v1_requests[] = { 70 static const struct wl_message zwp_vsync_feedback_v1_requests[] = {
43 { "destroy", "", types + 0 }, 71 { "destroy", "", types + 0 },
44 » { "get_vsync_timing", "n?o", types + 4 }, 72 » { "get_vsync_timing", "n?o", types + 6 },
45 }; 73 };
46 74
47 WL_EXPORT const struct wl_interface zwp_vsync_feedback_v1_interface = { 75 WL_EXPORT const struct wl_interface zwp_vsync_feedback_v1_interface = {
48 "zwp_vsync_feedback_v1", 1, 76 "zwp_vsync_feedback_v1", 1,
49 2, zwp_vsync_feedback_v1_requests, 77 2, zwp_vsync_feedback_v1_requests,
50 0, NULL, 78 0, NULL,
51 }; 79 };
52 80
53 static const struct wl_message zwp_vsync_timing_v1_requests[] = { 81 static const struct wl_message zwp_vsync_timing_v1_requests[] = {
54 { "destroy", "", types + 0 }, 82 { "destroy", "", types + 0 },
55 }; 83 };
56 84
57 static const struct wl_message zwp_vsync_timing_v1_events[] = { 85 static const struct wl_message zwp_vsync_timing_v1_events[] = {
58 { "update", "uuuu", types + 0 }, 86 { "update", "uuuu", types + 0 },
59 }; 87 };
60 88
61 WL_EXPORT const struct wl_interface zwp_vsync_timing_v1_interface = { 89 WL_EXPORT const struct wl_interface zwp_vsync_timing_v1_interface = {
62 "zwp_vsync_timing_v1", 1, 90 "zwp_vsync_timing_v1", 1,
63 1, zwp_vsync_timing_v1_requests, 91 1, zwp_vsync_timing_v1_requests,
64 1, zwp_vsync_timing_v1_events, 92 1, zwp_vsync_timing_v1_events,
65 }; 93 };
66 94
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698