wlroots/include/backend
Alexander Orzechowski 82223e451a render/drm_syncobj: Add a callback when ready
The old approach of using a signal is fundamentally broken for a common
usecase: When the waiter is ready, it's common to immediately finish and
free any resources associated with it.
Because of the semantics of wl_signal_emit_mutable() this is UB.
wl_signal_emit_mutable() always excepts that the waiter hasn't been freed
until the signal has finished being emitted.

Instead of over engineering the solution, let's just add a callback required
by wlr_drm_syncobj_timeline_waiter_init(). In this callback, the implementation
is free to finish() or free() any resource it likes.
2025-01-26 18:02:05 -05:00
..
drm backend/drm: Store only a single plane viewport 2024-10-29 11:18:48 +01:00
session Add some missing includes/declarations 2023-06-05 21:06:19 +00:00
headless.h backend/headless: take wl_event_loop instead of wl_display 2024-01-25 15:05:36 +00:00
libinput.h build: require libinput v1.19 2024-07-04 22:51:07 +02:00
multi.h backend/multi: take wl_event_loop instead of wl_display 2024-01-25 15:05:36 +00:00
wayland.h render/drm_syncobj: Add a callback when ready 2025-01-26 18:02:05 -05:00
x11.h backend/x11: take wl_event_loop instead of wl_display 2024-01-25 15:05:36 +00:00