| 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 zcr_synchronization_v1_interface; |
| 32 | 32 |
| 33 static const struct wl_interface *types[] = { | 33 static const struct wl_interface *types[] = { |
| 34 NULL, | 34 NULL, |
| 35 » &zcr_blending_v1_interface, | 35 » &zcr_synchronization_v1_interface, |
| 36 &wl_surface_interface, | 36 &wl_surface_interface, |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 static const struct wl_message zcr_alpha_compositing_v1_requests[] = { | 39 static const struct wl_message zcr_linux_explicit_synchronization_v1_requests[]
= { |
| 40 { "destroy", "", types + 0 }, | 40 { "destroy", "", types + 0 }, |
| 41 » { "get_blending", "no", types + 1 }, | 41 » { "get_synchronization", "no", types + 1 }, |
| 42 }; | 42 }; |
| 43 | 43 |
| 44 WL_EXPORT const struct wl_interface zcr_alpha_compositing_v1_interface = { | 44 WL_EXPORT const struct wl_interface zcr_linux_explicit_synchronization_v1_interf
ace = { |
| 45 » "zcr_alpha_compositing_v1", 1, | 45 » "zcr_linux_explicit_synchronization_v1", 1, |
| 46 » 2, zcr_alpha_compositing_v1_requests, | 46 » 2, zcr_linux_explicit_synchronization_v1_requests, |
| 47 0, NULL, | 47 0, NULL, |
| 48 }; | 48 }; |
| 49 | 49 |
| 50 static const struct wl_message zcr_blending_v1_requests[] = { | 50 static const struct wl_message zcr_synchronization_v1_requests[] = { |
| 51 { "destroy", "", types + 0 }, | 51 { "destroy", "", types + 0 }, |
| 52 » { "set_blending", "u", types + 0 }, | 52 » { "set_acquire_fence", "h", types + 0 }, |
| 53 » { "set_alpha", "f", types + 0 }, | |
| 54 }; | 53 }; |
| 55 | 54 |
| 56 WL_EXPORT const struct wl_interface zcr_blending_v1_interface = { | 55 WL_EXPORT const struct wl_interface zcr_synchronization_v1_interface = { |
| 57 » "zcr_blending_v1", 1, | 56 » "zcr_synchronization_v1", 1, |
| 58 » 3, zcr_blending_v1_requests, | 57 » 2, zcr_synchronization_v1_requests, |
| 59 0, NULL, | 58 0, NULL, |
| 60 }; | 59 }; |
| 61 | 60 |
| OLD | NEW |