wlroots/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: don't leak mgpu_formats 2025-01-16 14:58:59 +00:00
headless backend/headless: accept hardware cursors 2025-01-14 16:42:12 +01:00
libinput pointer: release pressed buttons on destroy 2024-09-24 19:53:54 +00:00
multi Assert (almost all) signals have no attached listeners on destroy 2025-01-15 19:53:11 +03:00
session Assert (almost all) signals have no attached listeners on destroy 2025-01-15 19:53:11 +03:00
wayland render/drm_syncobj: Add a callback when ready 2025-01-26 18:02:05 -05:00
x11 output: introduce wlr_output_finish() 2025-01-08 16:06:12 +00:00
backend.c Assert (almost all) signals have no attached listeners on destroy 2025-01-15 19:53:11 +03:00
meson.build backend/session: make optional 2022-11-25 16:15:29 +00:00