wlroots/render
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
..
allocator Assert (almost all) signals have no attached listeners on destroy 2025-01-15 19:53:11 +03:00
gles2 Make wlr_matrix private API 2025-01-26 17:46:50 +01:00
pixman render/pixman: Fix non-uniform scale with rotation 2024-05-23 11:56:59 +00:00
vulkan matrix: drop rotation 2025-01-26 17:56:04 +01:00
color.c render/color: Invert ownership model of color_transform types. 2024-08-24 14:33:22 -04:00
color_fallback.c render/color: add fallback stub when LCMS2 is disabled 2024-06-04 17:45:51 +00:00
color_lcms2.c render/color: Invert ownership model of color_transform types. 2024-08-24 14:33:22 -04:00
dmabuf.c Define _POSIX_C_SOURCE globally 2024-02-15 15:41:12 +01:00
dmabuf_fallback.c render/dmabuf: add dmabuf_export_sync_file() 2022-12-06 14:54:09 +00:00
dmabuf_linux.c render/dmabuf: add dmabuf_export_sync_file() 2022-12-06 14:54:09 +00:00
drm_format_set.c render/drm_format_set: fix corruption in wlr_drm_format_set_remove() 2024-11-28 19:14:31 +00:00
drm_syncobj.c render/drm_syncobj: Add a callback when ready 2025-01-26 18:02:05 -05:00
egl.c render/egl: attribs len could be equal to size 2024-12-30 17:34:02 +08:00
meson.build build: check eglext.h header version 2024-06-27 17:54:57 +00:00
pass.c render: drop legacy render pass 2023-11-22 00:55:56 +01:00
pixel_format.c render/pixel-format: Move has_alpha into it's own array 2024-01-31 13:47:17 -05:00
swapchain.c all: use public <wlr/render/allocator.h> 2024-11-07 18:48:20 +01:00
wlr_renderer.c Assert (almost all) signals have no attached listeners on destroy 2025-01-15 19:53:11 +03:00
wlr_texture.c wlr_texture: Introduce wlr_texture_preferred_read_format 2023-11-30 19:56:54 -05:00