OLD | NEW |
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 11 matching lines...) Expand all Loading... |
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 zcr_vsync_timing_v1_interface; |
32 extern const struct wl_interface zwp_vsync_timing_v1_interface; | |
33 | 32 |
34 static const struct wl_interface *types[] = { | 33 static const struct wl_interface *types[] = { |
35 NULL, | 34 NULL, |
36 NULL, | 35 NULL, |
37 NULL, | 36 NULL, |
38 NULL, | 37 NULL, |
39 &zcr_vsync_timing_v1_interface, | 38 &zcr_vsync_timing_v1_interface, |
40 &wl_output_interface, | 39 &wl_output_interface, |
41 &zwp_vsync_timing_v1_interface, | |
42 &wl_output_interface, | |
43 }; | 40 }; |
44 | 41 |
45 static const struct wl_message zcr_vsync_feedback_v1_requests[] = { | 42 static const struct wl_message zcr_vsync_feedback_v1_requests[] = { |
46 { "destroy", "", types + 0 }, | 43 { "destroy", "", types + 0 }, |
47 { "get_vsync_timing", "n?o", types + 4 }, | 44 { "get_vsync_timing", "n?o", types + 4 }, |
48 }; | 45 }; |
49 | 46 |
50 WL_EXPORT const struct wl_interface zcr_vsync_feedback_v1_interface = { | 47 WL_EXPORT const struct wl_interface zcr_vsync_feedback_v1_interface = { |
51 "zcr_vsync_feedback_v1", 1, | 48 "zcr_vsync_feedback_v1", 1, |
52 2, zcr_vsync_feedback_v1_requests, | 49 2, zcr_vsync_feedback_v1_requests, |
53 0, NULL, | 50 0, NULL, |
54 }; | 51 }; |
55 | 52 |
56 static const struct wl_message zcr_vsync_timing_v1_requests[] = { | 53 static const struct wl_message zcr_vsync_timing_v1_requests[] = { |
57 { "destroy", "", types + 0 }, | 54 { "destroy", "", types + 0 }, |
58 }; | 55 }; |
59 | 56 |
60 static const struct wl_message zcr_vsync_timing_v1_events[] = { | 57 static const struct wl_message zcr_vsync_timing_v1_events[] = { |
61 { "update", "uuuu", types + 0 }, | 58 { "update", "uuuu", types + 0 }, |
62 }; | 59 }; |
63 | 60 |
64 WL_EXPORT const struct wl_interface zcr_vsync_timing_v1_interface = { | 61 WL_EXPORT const struct wl_interface zcr_vsync_timing_v1_interface = { |
65 "zcr_vsync_timing_v1", 1, | 62 "zcr_vsync_timing_v1", 1, |
66 1, zcr_vsync_timing_v1_requests, | 63 1, zcr_vsync_timing_v1_requests, |
67 1, zcr_vsync_timing_v1_events, | 64 1, zcr_vsync_timing_v1_events, |
68 }; | 65 }; |
69 | 66 |
70 static const struct wl_message zwp_vsync_feedback_v1_requests[] = { | |
71 { "destroy", "", types + 0 }, | |
72 { "get_vsync_timing", "n?o", types + 6 }, | |
73 }; | |
74 | |
75 WL_EXPORT const struct wl_interface zwp_vsync_feedback_v1_interface = { | |
76 "zwp_vsync_feedback_v1", 1, | |
77 2, zwp_vsync_feedback_v1_requests, | |
78 0, NULL, | |
79 }; | |
80 | |
81 static const struct wl_message zwp_vsync_timing_v1_requests[] = { | |
82 { "destroy", "", types + 0 }, | |
83 }; | |
84 | |
85 static const struct wl_message zwp_vsync_timing_v1_events[] = { | |
86 { "update", "uuuu", types + 0 }, | |
87 }; | |
88 | |
89 WL_EXPORT const struct wl_interface zwp_vsync_timing_v1_interface = { | |
90 "zwp_vsync_timing_v1", 1, | |
91 1, zwp_vsync_timing_v1_requests, | |
92 1, zwp_vsync_timing_v1_events, | |
93 }; | |
94 | |
OLD | NEW |