mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-30 19:58:19 +02:00
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> |
||
|---|---|---|
| .. | ||
| egl-glue.c | ||
| fragment.glsl | ||
| gl-renderer-internal.h | ||
| gl-renderer.c | ||
| gl-renderer.h | ||
| gl-shader-config-color-transformation.c | ||
| gl-shaders.c | ||
| gl-utils.c | ||
| meson.build | ||
| vertex.glsl | ||