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

Unified Diff: third_party/wayland-protocols/protocol/alpha-compositing-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 side-by-side diff with in-line comments
Download patch
Index: third_party/wayland-protocols/protocol/alpha-compositing-protocol.c
diff --git a/third_party/wayland-protocols/protocol/alpha-compositing-protocol.c b/third_party/wayland-protocols/protocol/alpha-compositing-protocol.c
index 29fd4d9198f4e074cae6605cea64764f764c9124..9b64edb1fd89615d3c2f547ed72d2cdf779112e6 100644
--- a/third_party/wayland-protocols/protocol/alpha-compositing-protocol.c
+++ b/third_party/wayland-protocols/protocol/alpha-compositing-protocol.c
@@ -28,19 +28,45 @@
#include "wayland-util.h"
extern const struct wl_interface wl_surface_interface;
+extern const struct wl_interface zcr_blending_v1_interface;
extern const struct wl_interface zwp_blending_v1_interface;
static const struct wl_interface *types[] = {
NULL,
+ &zcr_blending_v1_interface,
+ &wl_surface_interface,
&zwp_blending_v1_interface,
&wl_surface_interface,
};
-static const struct wl_message zwp_alpha_compositing_v1_requests[] = {
+static const struct wl_message zcr_alpha_compositing_v1_requests[] = {
{ "destroy", "", types + 0 },
{ "get_blending", "no", types + 1 },
};
+WL_EXPORT const struct wl_interface zcr_alpha_compositing_v1_interface = {
+ "zcr_alpha_compositing_v1", 1,
+ 2, zcr_alpha_compositing_v1_requests,
+ 0, NULL,
+};
+
+static const struct wl_message zcr_blending_v1_requests[] = {
+ { "destroy", "", types + 0 },
+ { "set_blending", "u", types + 0 },
+ { "set_alpha", "f", types + 0 },
+};
+
+WL_EXPORT const struct wl_interface zcr_blending_v1_interface = {
+ "zcr_blending_v1", 1,
+ 3, zcr_blending_v1_requests,
+ 0, NULL,
+};
+
+static const struct wl_message zwp_alpha_compositing_v1_requests[] = {
+ { "destroy", "", types + 0 },
+ { "get_blending", "no", types + 3 },
+};
+
WL_EXPORT const struct wl_interface zwp_alpha_compositing_v1_interface = {
"zwp_alpha_compositing_v1", 1,
2, zwp_alpha_compositing_v1_requests,

Powered by Google App Engine
This is Rietveld 408576698