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 10 matching lines...) Expand all Loading... |
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_surface_interface; | 30 extern const struct wl_interface wl_surface_interface; |
| 31 extern const struct wl_interface zcr_blending_v1_interface; |
31 extern const struct wl_interface zwp_blending_v1_interface; | 32 extern const struct wl_interface zwp_blending_v1_interface; |
32 | 33 |
33 static const struct wl_interface *types[] = { | 34 static const struct wl_interface *types[] = { |
34 NULL, | 35 NULL, |
| 36 &zcr_blending_v1_interface, |
| 37 &wl_surface_interface, |
35 &zwp_blending_v1_interface, | 38 &zwp_blending_v1_interface, |
36 &wl_surface_interface, | 39 &wl_surface_interface, |
37 }; | 40 }; |
38 | 41 |
| 42 static const struct wl_message zcr_alpha_compositing_v1_requests[] = { |
| 43 { "destroy", "", types + 0 }, |
| 44 { "get_blending", "no", types + 1 }, |
| 45 }; |
| 46 |
| 47 WL_EXPORT const struct wl_interface zcr_alpha_compositing_v1_interface = { |
| 48 "zcr_alpha_compositing_v1", 1, |
| 49 2, zcr_alpha_compositing_v1_requests, |
| 50 0, NULL, |
| 51 }; |
| 52 |
| 53 static const struct wl_message zcr_blending_v1_requests[] = { |
| 54 { "destroy", "", types + 0 }, |
| 55 { "set_blending", "u", types + 0 }, |
| 56 { "set_alpha", "f", types + 0 }, |
| 57 }; |
| 58 |
| 59 WL_EXPORT const struct wl_interface zcr_blending_v1_interface = { |
| 60 "zcr_blending_v1", 1, |
| 61 3, zcr_blending_v1_requests, |
| 62 0, NULL, |
| 63 }; |
| 64 |
39 static const struct wl_message zwp_alpha_compositing_v1_requests[] = { | 65 static const struct wl_message zwp_alpha_compositing_v1_requests[] = { |
40 { "destroy", "", types + 0 }, | 66 { "destroy", "", types + 0 }, |
41 » { "get_blending", "no", types + 1 }, | 67 » { "get_blending", "no", types + 3 }, |
42 }; | 68 }; |
43 | 69 |
44 WL_EXPORT const struct wl_interface zwp_alpha_compositing_v1_interface = { | 70 WL_EXPORT const struct wl_interface zwp_alpha_compositing_v1_interface = { |
45 "zwp_alpha_compositing_v1", 1, | 71 "zwp_alpha_compositing_v1", 1, |
46 2, zwp_alpha_compositing_v1_requests, | 72 2, zwp_alpha_compositing_v1_requests, |
47 0, NULL, | 73 0, NULL, |
48 }; | 74 }; |
49 | 75 |
50 static const struct wl_message zwp_blending_v1_requests[] = { | 76 static const struct wl_message zwp_blending_v1_requests[] = { |
51 { "destroy", "", types + 0 }, | 77 { "destroy", "", types + 0 }, |
52 { "set_blending", "u", types + 0 }, | 78 { "set_blending", "u", types + 0 }, |
53 { "set_alpha", "f", types + 0 }, | 79 { "set_alpha", "f", types + 0 }, |
54 }; | 80 }; |
55 | 81 |
56 WL_EXPORT const struct wl_interface zwp_blending_v1_interface = { | 82 WL_EXPORT const struct wl_interface zwp_blending_v1_interface = { |
57 "zwp_blending_v1", 1, | 83 "zwp_blending_v1", 1, |
58 3, zwp_blending_v1_requests, | 84 3, zwp_blending_v1_requests, |
59 0, NULL, | 85 0, NULL, |
60 }; | 86 }; |
61 | 87 |
OLD | NEW |