| Index: third_party/wayland-protocols/protocol/explicit-fencing-protocol.c
|
| diff --git a/third_party/wayland-protocols/protocol/viewporter-protocol.c b/third_party/wayland-protocols/protocol/explicit-fencing-protocol.c
|
| similarity index 60%
|
| copy from third_party/wayland-protocols/protocol/viewporter-protocol.c
|
| copy to third_party/wayland-protocols/protocol/explicit-fencing-protocol.c
|
| index a3f24331cfd5ad2d0436b80eb3b3dd1981fcfe04..92c1d4546fac703c61075021833403a167d13ea3 100644
|
| --- a/third_party/wayland-protocols/protocol/viewporter-protocol.c
|
| +++ b/third_party/wayland-protocols/protocol/explicit-fencing-protocol.c
|
| @@ -1,7 +1,7 @@
|
| -/* Generated by wayland-scanner 1.11.0 */
|
| +/* Generated by wayland-scanner 1.11.90 */
|
|
|
| /*
|
| - * Copyright © 2013-2016 Collabora, Ltd.
|
| + * Copyright 2016 The Chromium Authors.
|
| *
|
| * Permission is hereby granted, free of charge, to any person obtaining a
|
| * copy of this software and associated documentation files (the "Software"),
|
| @@ -28,37 +28,37 @@
|
| #include "wayland-util.h"
|
|
|
| extern const struct wl_interface wl_surface_interface;
|
| -extern const struct wl_interface wp_viewport_interface;
|
| +extern const struct wl_interface zcr_explicit_fenced_surface_v1_interface;
|
|
|
| static const struct wl_interface *types[] = {
|
| NULL,
|
| - NULL,
|
| - NULL,
|
| - NULL,
|
| - &wp_viewport_interface,
|
| + &zcr_explicit_fenced_surface_v1_interface,
|
| &wl_surface_interface,
|
| };
|
|
|
| -static const struct wl_message wp_viewporter_requests[] = {
|
| +static const struct wl_message zcr_linux_explicit_fencing_v1_requests[] = {
|
| { "destroy", "", types + 0 },
|
| - { "get_viewport", "no", types + 4 },
|
| + { "get_fencing", "no", types + 1 },
|
| };
|
|
|
| -WL_EXPORT const struct wl_interface wp_viewporter_interface = {
|
| - "wp_viewporter", 1,
|
| - 2, wp_viewporter_requests,
|
| +WL_EXPORT const struct wl_interface zcr_linux_explicit_fencing_v1_interface = {
|
| + "zcr_linux_explicit_fencing_v1", 1,
|
| + 2, zcr_linux_explicit_fencing_v1_requests,
|
| 0, NULL,
|
| };
|
|
|
| -static const struct wl_message wp_viewport_requests[] = {
|
| +static const struct wl_message zcr_explicit_fenced_surface_v1_requests[] = {
|
| { "destroy", "", types + 0 },
|
| - { "set_source", "ffff", types + 0 },
|
| - { "set_destination", "ii", types + 0 },
|
| + { "set_acquire_fence", "h", types + 0 },
|
| };
|
|
|
| -WL_EXPORT const struct wl_interface wp_viewport_interface = {
|
| - "wp_viewport", 1,
|
| - 3, wp_viewport_requests,
|
| - 0, NULL,
|
| +static const struct wl_message zcr_explicit_fenced_surface_v1_events[] = {
|
| + { "present", "h", types + 0 },
|
| +};
|
| +
|
| +WL_EXPORT const struct wl_interface zcr_explicit_fenced_surface_v1_interface = {
|
| + "zcr_explicit_fenced_surface_v1", 1,
|
| + 2, zcr_explicit_fenced_surface_v1_requests,
|
| + 1, zcr_explicit_fenced_surface_v1_events,
|
| };
|
|
|
|
|