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

Unified Diff: third_party/wayland-protocols/include/protocol/vsync-feedback-unstable-v1-server-protocol.h

Issue 2352563002: third_party: Remove deprecated zwp wayland interfaces. (Closed)
Patch Set: rebase 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/include/protocol/vsync-feedback-unstable-v1-server-protocol.h
diff --git a/third_party/wayland-protocols/include/protocol/vsync-feedback-unstable-v1-server-protocol.h b/third_party/wayland-protocols/include/protocol/vsync-feedback-unstable-v1-server-protocol.h
index 9f5198c6089183f6b57f9258262ac203e366781a..846fc1d71e0f9148c7c52a3885b797edf69f4f94 100644
--- a/third_party/wayland-protocols/include/protocol/vsync-feedback-unstable-v1-server-protocol.h
+++ b/third_party/wayland-protocols/include/protocol/vsync-feedback-unstable-v1-server-protocol.h
@@ -35,8 +35,6 @@ struct wl_resource;
* @section page_ifaces_vsync_feedback_unstable_v1 Interfaces
* - @subpage page_iface_zcr_vsync_feedback_v1 - Protocol for providing vertical synchronization timing
* - @subpage page_iface_zcr_vsync_timing_v1 -
- * - @subpage page_iface_zwp_vsync_feedback_v1 - DEPRECATED
- * - @subpage page_iface_zwp_vsync_timing_v1 -
* @section page_copyright_vsync_feedback_unstable_v1 Copyright
* <pre>
*
@@ -65,8 +63,6 @@ struct wl_resource;
struct wl_output;
struct zcr_vsync_feedback_v1;
struct zcr_vsync_timing_v1;
-struct zwp_vsync_feedback_v1;
-struct zwp_vsync_timing_v1;
/**
* @page page_iface_zcr_vsync_feedback_v1 zcr_vsync_feedback_v1
@@ -93,31 +89,6 @@ extern const struct wl_interface zcr_vsync_feedback_v1_interface;
* @defgroup iface_zcr_vsync_timing_v1 The zcr_vsync_timing_v1 interface
*/
extern const struct wl_interface zcr_vsync_timing_v1_interface;
-/**
- * @page page_iface_zwp_vsync_feedback_v1 zwp_vsync_feedback_v1
- * @section page_iface_zwp_vsync_feedback_v1_desc Description
- *
- * The global interface that allows clients to subscribe for vertical
- * synchronization timing data for given wl_output.
- * @section page_iface_zwp_vsync_feedback_v1_api API
- * See @ref iface_zwp_vsync_feedback_v1.
- */
-/**
- * @defgroup iface_zwp_vsync_feedback_v1 The zwp_vsync_feedback_v1 interface
- *
- * The global interface that allows clients to subscribe for vertical
- * synchronization timing data for given wl_output.
- */
-extern const struct wl_interface zwp_vsync_feedback_v1_interface;
-/**
- * @page page_iface_zwp_vsync_timing_v1 zwp_vsync_timing_v1
- * @section page_iface_zwp_vsync_timing_v1_api API
- * See @ref iface_zwp_vsync_timing_v1.
- */
-/**
- * @defgroup iface_zwp_vsync_timing_v1 The zwp_vsync_timing_v1 interface
- */
-extern const struct wl_interface zwp_vsync_timing_v1_interface;
/**
* @ingroup iface_zcr_vsync_feedback_v1
@@ -187,74 +158,6 @@ zcr_vsync_timing_v1_send_update(struct wl_resource *resource_, uint32_t timebase
wl_resource_post_event(resource_, ZCR_VSYNC_TIMING_V1_UPDATE, timebase_l, timebase_h, interval_l, interval_h);
}
-/**
- * @ingroup iface_zwp_vsync_feedback_v1
- * @struct zwp_vsync_feedback_v1_interface
- */
-struct zwp_vsync_feedback_v1_interface {
- /**
- * destroy vsync feedback object
- *
- * Destroy this vsync feedback object. Existing vsync timing
- * objects shall not be affected by this request.
- */
- void (*destroy)(struct wl_client *client,
- struct wl_resource *resource);
- /**
- * get vsync timing object for given wl_output
- *
- * Create a new vsync timing object that represents a
- * subscription to vertical synchronization timing updates of given
- * wl_output object.
- *
- * The newly created object will immediately signal an update to
- * notify the subscriber of initial timing parameters.
- * @param id the new vsync timing interface id
- * @param output the wl_output object to subscribe for timings of
- */
- void (*get_vsync_timing)(struct wl_client *client,
- struct wl_resource *resource,
- uint32_t id,
- struct wl_resource *output);
-};
-
-
-/**
- * @ingroup iface_zwp_vsync_timing_v1
- * @struct zwp_vsync_timing_v1_interface
- */
-struct zwp_vsync_timing_v1_interface {
- /**
- * destroy vsync timing object
- *
- * Destroy this vsync timing object.
- */
- void (*destroy)(struct wl_client *client,
- struct wl_resource *resource);
-};
-
-#define ZWP_VSYNC_TIMING_V1_UPDATE 0
-
-/**
- * @ingroup iface_zwp_vsync_timing_v1
- */
-#define ZWP_VSYNC_TIMING_V1_UPDATE_SINCE_VERSION 1
-
-/**
- * @ingroup iface_zwp_vsync_timing_v1
- * Sends an update event to the client owning the resource.
- * @param resource_ The client's resource
- * @param timebase_l new vsync timebase (lower 32 bits)
- * @param timebase_h new vsync timebase (upper 32 bits)
- * @param interval_l new vsync interval (lower 32 bits)
- * @param interval_h new vsync interval (upper 32 bits)
- */
-static inline void
-zwp_vsync_timing_v1_send_update(struct wl_resource *resource_, uint32_t timebase_l, uint32_t timebase_h, uint32_t interval_l, uint32_t interval_h)
-{
- wl_resource_post_event(resource_, ZWP_VSYNC_TIMING_V1_UPDATE, timebase_l, timebase_h, interval_l, interval_h);
-}
-
#ifdef __cplusplus
}
#endif

Powered by Google App Engine
This is Rietveld 408576698