wlroots/include
Sergio Gómez bd91aed2c9 compositor: add .present event to struct wlr_surface_output
For the implementation of fifo-v1, we need to be able to track
the presentation of individual surface commits.
This is done already in `wlr_presentation_time`, but the way
that is implemented is suited only for use by clients through the
protocol interface (.feedback requests).

Here we use the `surface_output` structure, which is a low-level
structure that links wlr_surfaces with wlr_outputs.
Within this structure we listen to the surface's and the output's
.commit events. Through these 2 we link a surface commit to an output
commit. Then, a new struct wlr_surface_output_commit is created which
listens to the output's .present event.

For the interface to this functionality, 2 elements are introduced:
the new .present event in struct wlr_surface_output, which signals
listeners whether a particular pair of (surface_seq, output_seq) has
been presented or discarded, and the wlr_surface_textured_on_output()
function, used by the scene logic to inform the implementation that
the surface's buffer has been textured on a particular output.

Signed-off-by: Sergio Gómez <sergio.g.delreal@gmail.com>
2025-12-25 08:10:19 -05:00
..
backend backend/drm: add support for image description transfer function 2025-06-18 00:11:33 +02:00
interfaces types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
render render: remove buffer primaries from pass options 2025-11-24 23:26:14 +00:00
types output: don't rebuild cursor color transform for each update 2025-11-24 23:26:14 +00:00
util util: add helper to get time in nanoseconds. 2025-12-25 07:54:39 -05:00
wlr compositor: add .present event to struct wlr_surface_output 2025-12-25 08:10:19 -05:00
xcursor Add some missing includes/declarations 2023-06-05 21:06:19 +00:00
xwayland xwm: Fix double-close 2025-10-20 14:02:29 +01:00
meson.build render/color: add fallback stub when LCMS2 is disabled 2024-06-04 17:45:51 +00:00