weston/protocol
Derek Foreman e4be014f93 compositor: Add an explicit latch point
Latch is the moment when the compositor considers updates for an upcoming
redraw. Nothing that takes place after an output latches for repaint can
change what will be repainted.

This needs a more explicit treatment now that upcoming transactional
protocols require things to happen immediately after the latch (ie:
when it's too late to change the upcoming render).

Add an explicit latch point, a signal to tap for testing, and some asserts
to make sure nothing can violate the inevitability of the current render
state.

Note that currently latch is tied to repaint such that we only claim to
have latched when a repaint will happen. In a future commit this will lead
to forcing the repaint loop to fire without damage when the fifo protocol
needs something to happen after a latch. This could be an area for
future improvement.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
2025-12-04 12:38:17 -06:00
..
ivi-application.xml protocol: fix "assigne" typo 2021-02-24 10:00:45 -05:00
ivi-hmi-controller.xml protocol: fix grammar 2017-01-03 11:59:03 +00:00
meson.build color: update color-management protocol to wp-v1 2025-02-26 10:09:43 -03:00
text-cursor-position.xml Convert text cursor position protocol to use fixed types. 2012-06-04 11:07:50 -04:00
weston-content-protection.xml protocol: Add content-protection protocol 2019-07-04 14:18:50 +05:30
weston-debug.xml Fix typos all around (thanks codespell!) 2019-02-20 16:47:35 +01:00
weston-desktop-shell.xml protocol: fix DTD warning in weston-desktop-shell 2015-11-19 15:58:44 +02:00
weston-direct-display.xml protocol: Add weston-direct-display extension 2019-11-18 19:33:00 +02:00
weston-output-capture.xml libweston: Get framebuffer from dma buffer in drm backend 2025-10-06 14:06:30 +02:00
weston-test.xml compositor: Add an explicit latch point 2025-12-04 12:38:17 -06:00
weston-touch-calibration.xml protocol: add weston_touch_calibration 2018-05-30 14:46:24 +03:00