| OLD | NEW |
| 1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
| 2 <protocol name="vsync_feedback_unstable_v1"> | 2 <protocol name="vsync_feedback_unstable_v1"> |
| 3 | 3 |
| 4 <copyright> | 4 <copyright> |
| 5 Copyright 2016 The Chromium Authors. | 5 Copyright 2016 The Chromium Authors. |
| 6 | 6 |
| 7 Permission is hereby granted, free of charge, to any person obtaining a | 7 Permission is hereby granted, free of charge, to any person obtaining a |
| 8 copy of this software and associated documentation files (the "Software"), | 8 copy of this software and associated documentation files (the "Software"), |
| 9 to deal in the Software without restriction, including without limitation | 9 to deal in the Software without restriction, including without limitation |
| 10 the rights to use, copy, modify, merge, publish, distribute, sublicense, | 10 the rights to use, copy, modify, merge, publish, distribute, sublicense, |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 most significant and least significant part, suffixed by "_h" and "_l" | 89 most significant and least significant part, suffixed by "_h" and "_l" |
| 90 respectively. | 90 respectively. |
| 91 </description> | 91 </description> |
| 92 <arg name="timebase_l" type="uint" summary="new vsync timebase (lower 32 b
its)"/> | 92 <arg name="timebase_l" type="uint" summary="new vsync timebase (lower 32 b
its)"/> |
| 93 <arg name="timebase_h" type="uint" summary="new vsync timebase (upper 32 b
its)"/> | 93 <arg name="timebase_h" type="uint" summary="new vsync timebase (upper 32 b
its)"/> |
| 94 <arg name="interval_l" type="uint" summary="new vsync interval (lower 32 b
its)"/> | 94 <arg name="interval_l" type="uint" summary="new vsync interval (lower 32 b
its)"/> |
| 95 <arg name="interval_h" type="uint" summary="new vsync interval (upper 32 b
its)"/> | 95 <arg name="interval_h" type="uint" summary="new vsync interval (upper 32 b
its)"/> |
| 96 </event> | 96 </event> |
| 97 </interface> | 97 </interface> |
| 98 | 98 |
| 99 <interface name="zwp_vsync_feedback_v1" version="1"> | |
| 100 <description summary="DEPRECATED"> | |
| 101 The global interface that allows clients to subscribe for vertical | |
| 102 synchronization timing data for given wl_output. | |
| 103 </description> | |
| 104 | |
| 105 <request name="destroy" type="destructor"> | |
| 106 <description summary="destroy vsync feedback object"> | |
| 107 Destroy this vsync feedback object. Existing vsync timing objects shall | |
| 108 not be affected by this request. | |
| 109 </description> | |
| 110 </request> | |
| 111 | |
| 112 <request name="get_vsync_timing"> | |
| 113 <description summary="get vsync timing object for given wl_output"> | |
| 114 Create a new vsync timing object that represents a subscription to | |
| 115 vertical synchronization timing updates of given wl_output object. | |
| 116 | |
| 117 The newly created object will immediately signal an update to notify | |
| 118 the subscriber of initial timing parameters. | |
| 119 </description> | |
| 120 <arg name="id" type="new_id" interface="zwp_vsync_timing_v1" summary="the
new vsync timing interface id"/> | |
| 121 <arg name="output" type="object" interface="wl_output" summary="the wl_out
put object to subscribe for timings of" allow-null="true"/> | |
| 122 </request> | |
| 123 </interface> | |
| 124 | |
| 125 <interface name="zwp_vsync_timing_v1" version="1"> | |
| 126 <request name="destroy" type="destructor"> | |
| 127 <description summary="destroy vsync timing object"> | |
| 128 Destroy this vsync timing object. | |
| 129 </description> | |
| 130 </request> | |
| 131 | |
| 132 <event name="update"> | |
| 133 <description summary="vsync timing updated"> | |
| 134 Notifies client that vertical synchronization timing of given wl_output | |
| 135 has changed. | |
| 136 | |
| 137 Timing information consists of two data, timebase and interval. Timebase | |
| 138 is an absolute timestamp of the vsync event that caused the timing to | |
| 139 change. Interval is a period of time between subsequent vsync events. | |
| 140 | |
| 141 The unit of all above mentioned time values shall be microseconds and | |
| 142 absolute timestamps should match the realm of the primary system | |
| 143 monotonic counter, i.e. the POSIX clock_gettime(CLOCK_MONOTONIC). Data | |
| 144 type of both values is defined to be a 64-bit unsigned integer, but | |
| 145 since the biggest unsigned integer datatype defined by the Wayland | |
| 146 protocol is the 32-bit uint, both timebase and interval are split into | |
| 147 most significant and least significant part, suffixed by "_h" and "_l" | |
| 148 respectively. | |
| 149 </description> | |
| 150 <arg name="timebase_l" type="uint" summary="new vsync timebase (lower 32 b
its)"/> | |
| 151 <arg name="timebase_h" type="uint" summary="new vsync timebase (upper 32 b
its)"/> | |
| 152 <arg name="interval_l" type="uint" summary="new vsync interval (lower 32 b
its)"/> | |
| 153 <arg name="interval_h" type="uint" summary="new vsync interval (upper 32 b
its)"/> | |
| 154 </event> | |
| 155 </interface> | |
| 156 </protocol> | 99 </protocol> |
| OLD | NEW |