Merge branch 'work/deadline' into 'main'

presentation-time: add an event describing the commit deadline

See merge request wayland/wayland-protocols!454
This commit is contained in:
Xaver Hugl 2025-12-19 00:34:35 +00:00
commit 5ba0d4330f

View file

@ -25,7 +25,7 @@
DEALINGS IN THE SOFTWARE.
</copyright>
<interface name="wp_presentation" version="2">
<interface name="wp_presentation" version="3">
<description summary="timed presentation related wl_surface requests">
<!-- Introduction -->
@ -123,7 +123,7 @@
</interface>
<interface name="wp_presentation_feedback" version="2">
<interface name="wp_presentation_feedback" version="3">
<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.
@ -263,6 +263,19 @@
The content update was never displayed to the user.
</description>
</event>
<event name="content_update_deadline" since="3">
<description summary="The content update deadline for the presentation cycle">
Describes the latching deadline for the presentation of the relevant
content update, expressed as a duration before the presentation
timestamp. This information can be used by the client to make better
decisions on when to commit in the next compositing cycle.
This event is sent before the "presented" event. It is not sent if
the content update was discarded.
</description>
<arg name="tv_nsec" type="uint" summary="duration in nanoseconds"/>
</event>
</interface>
</protocol>