mirror of
https://gitlab.freedesktop.org/wayland/wayland-protocols.git
synced 2025-12-20 02:20:12 +01:00
presentation-time: Specify refresh bounds for VRR
When this extension was developed, we did not yet know how VRR hardware would behave in practice as it was not standardised, and the KMS interface was equally unstandardised. Now things have shaken out to an acceptable level, we have a good idea of what we need, which is simply to include a base refresh rate - the rate the compositor would drive the display for non-VRR clients. Bump the protocol to version 2 and require the compositor to provide a rate. Signed-off-by: Daniel Stone <daniels@collabora.com> Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
37a1560cf6
commit
8cdb391032
1 changed files with 8 additions and 5 deletions
|
|
@ -25,7 +25,7 @@
|
|||
DEALINGS IN THE SOFTWARE.
|
||||
</copyright>
|
||||
|
||||
<interface name="wp_presentation" version="1">
|
||||
<interface name="wp_presentation" version="2">
|
||||
<description summary="timed presentation related wl_surface requests">
|
||||
|
||||
<!-- Introduction -->
|
||||
|
|
@ -123,7 +123,7 @@
|
|||
|
||||
</interface>
|
||||
|
||||
<interface name="wp_presentation_feedback" version="1">
|
||||
<interface name="wp_presentation_feedback" version="2">
|
||||
<description summary="presentation time feedback event">
|
||||
A presentation_feedback object returns an indication that a
|
||||
wl_surface content update has become visible to the user.
|
||||
|
|
@ -224,9 +224,12 @@
|
|||
targeting the next few vblanks. If such prediction cannot
|
||||
usefully be done, the argument is zero.
|
||||
|
||||
If the output does not have a constant refresh rate, explicit
|
||||
video mode switches excluded, then the refresh argument must
|
||||
be zero.
|
||||
For version 2 and later, if the output does not have a constant
|
||||
refresh rate, explicit video mode switches excluded, then the
|
||||
refresh argument must be either an appropriate rate picked by the
|
||||
compositor (e.g. fastest rate), or 0 if no such rate exists.
|
||||
For version 1, if the output does not have a constant refresh rate,
|
||||
the refresh argument must be zero.
|
||||
|
||||
The 64-bit value combined from seq_hi and seq_lo is the value
|
||||
of the output's vertical retrace counter when the content
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue