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