weston/libweston/renderer-gl
Detlev Casanova 4de2655f08 renderer-gl: Also set dmabuf.rb when creating render buffer
gl_fbo_image_init() allocates and returns a renderbuffer through its rb
argument.
If it is not set in the dmabuf.rb field, gl_fbo_fini() will not be able to
release it and DMA buffers can start leaking.

This is usually not an issue because the DMA buffers are released when
Weston closes, but in the case of the pipewire output, the buffers are
allocated when a pipewire client connects and freed when the client
disconnects.
In that situation, dangling DMA buffers can be observed because of the
unfreed render buffer (rb).

Signed-off-by: Detlev Casanova <detlev.casanova@collabora.com>
2026-05-26 14:43:57 -04:00
..
egl-glue.c gl-renderer: add function to query supported rendering formats 2025-09-02 13:34:00 +00:00
fragment.glsl renderer-gl: implement blend shader 2026-04-08 21:55:45 +00:00
gl-renderer-internal.h renderer-gl: Add Perfetto debug annotations for shader configs 2026-05-05 08:59:21 -05:00
gl-renderer.c renderer-gl: Also set dmabuf.rb when creating render buffer 2026-05-26 14:43:57 -04:00
gl-renderer.h gl-renderer: add function to query supported rendering formats 2025-09-02 13:34:00 +00:00
gl-shader-config-color-transformation.c color: rename to_shaper_plus_3dlut() to to_clut() 2026-05-13 10:21:33 +03:00
gl-shaders.c trace: drop the explicit flow from COMMIT_ANNOTATION 2026-05-21 16:45:31 -05:00
gl-utils.c gl-renderer: Disable texture validity checks by default 2026-02-13 17:04:05 +00:00
meson.build gl-renderer: Move utilities to new file gl-utils.c 2025-02-06 08:42:56 +00:00
vertex.glsl gl-renderer: Remove sub-mesh wireframe coloring 2024-07-04 14:15:04 +00:00