wlroots/include/wlr
Alexander Orzechowski e20c0290c1 wlr_compositor: Introduce wlr_surface_consume
If the compositor is running without a renderer, that means that
the compositor must be driven by something external that may or may not
be there. So we have two scenarios:
1. This compositor is currently being watched and driven by some
external source that is consuming buffers. This is okay, because
during the commit handler `surface->current.buffer` and
`surface->buffer_damage` will be usable and things will be handled
like normal.
2. Things break however if the compositor is not currently driven. This
however is commonly temporary. Something may not be interested right now,
but later it can be. In this case we have to accumulate state until
this external consumer is ready. Here, we have to accumulate the
`buffer_damage` and keep the buffer locked until the consumer is ready.

`wlr_surface_consume` needs to be called when the state of this surface
was consumed so that it is safe to release these resources.
2024-10-13 11:48:12 -04:00
..
backend backend/wayland: introduce wlr_wl_output_set_app_id() 2024-06-26 19:43:20 +00:00
interfaces pointer: release pressed buttons on destroy 2024-09-24 19:53:54 +00:00
render render/color: return tranform in wlr_color_transform_ref() 2024-08-24 11:07:58 +02:00
types wlr_compositor: Introduce wlr_surface_consume 2024-10-13 11:48:12 -04:00
util util/box: Introduce wlr_box_contains_box 2024-08-06 20:00:01 -04:00
xwayland xwayland: add wlr_xwayland_surface_has_window_type() 2024-08-10 16:10:34 +00:00
backend.h backend: add timeline feature flag 2024-10-11 17:11:35 +00:00
config.h.in render/color: introduce wlr_color_transform 2024-04-26 17:17:36 +00:00
meson.build Version pkgconfig, headers, and library for parallel installation 2024-05-27 22:15:00 +00:00
version.h.in Drop WLR_VERSION_API_* 2021-06-29 12:22:55 +02:00
xcursor.h examples, tinywl: use "default" cursor instead of "left_ptr" 2023-02-01 15:00:42 +01:00
xwayland.h xwayland: split headers 2022-11-02 19:00:23 +01:00