From 10155af4526d8214ca5315aaab67d3415dd93ec9 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 27 Jul 2021 22:32:26 +0200 Subject: presentation-time: use enum entry description tags Instead of describing each enum entry in the enum description, use enum entry descriptions. This avoids the awkward list of flags in the top-level description. This has been possible for a long time, but wasn't correctly handled by wayland-scanner until recently [1]. [1]: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/151 Signed-off-by: Simon Ser --- stable/presentation-time/presentation-time.xml | 72 +++++++++++++------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'stable/presentation-time') diff --git a/stable/presentation-time/presentation-time.xml b/stable/presentation-time/presentation-time.xml index d1731f0..b666664 100644 --- a/stable/presentation-time/presentation-time.xml +++ b/stable/presentation-time/presentation-time.xml @@ -159,43 +159,43 @@ These flags provide information about how the presentation of the related content update was done. The intent is to help clients assess the reliability of the feedback and the visual - quality with respect to possible tearing and timings. The - flags are: - - VSYNC: - The presentation was synchronized to the "vertical retrace" by - the display hardware such that tearing does not happen. - Relying on user space scheduling is not acceptable for this - flag. If presentation is done by a copy to the active - frontbuffer, then it must guarantee that tearing cannot - happen. - - HW_CLOCK: - The display hardware provided measurements that the hardware - driver converted into a presentation timestamp. Sampling a - clock in user space is not acceptable for this flag. - - HW_COMPLETION: - The display hardware signalled that it started using the new - image content. The opposite of this is e.g. a timer being used - to guess when the display hardware has switched to the new - image content. - - ZERO_COPY: - The presentation of this update was done zero-copy. This means - the buffer from the client was given to display hardware as - is, without copying it. Compositing with OpenGL counts as - copying, even if textured directly from the client buffer. - Possible zero-copy cases include direct scanout of a - fullscreen surface and a surface on a hardware overlay. + quality with respect to possible tearing and timings. - - - - + + + The presentation was synchronized to the "vertical retrace" by + the display hardware such that tearing does not happen. + Relying on user space scheduling is not acceptable for this + flag. If presentation is done by a copy to the active + frontbuffer, then it must guarantee that tearing cannot + happen. + + + + + The display hardware provided measurements that the hardware + driver converted into a presentation timestamp. Sampling a + clock in user space is not acceptable for this flag. + + + + + The display hardware signalled that it started using the new + image content. The opposite of this is e.g. a timer being used + to guess when the display hardware has switched to the new + image content. + + + + + The presentation of this update was done zero-copy. This means + the buffer from the client was given to display hardware as + is, without copying it. Compositing with OpenGL counts as + copying, even if textured directly from the client buffer. + Possible zero-copy cases include direct scanout of a + fullscreen surface and a surface on a hardware overlay. + + -- cgit v1.2.3