mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
A spa_node has callback both on the main and data thread, which can modify the internal state of vulkan_blit_state. Especially critical are functions, which might drop buffers currently in use. To mitigate this a read-write lock is used. The data thread shall try to aquire a read lock before accessing the buffers, while the main thread has to aquire exclusive access via a write lock before modifying the buffers. |
||
|---|---|---|
| .. | ||
| shaders | ||
| dmabuf.h | ||
| dmabuf_fallback.c | ||
| dmabuf_linux.c | ||
| meson.build | ||
| pixel-formats.c | ||
| pixel-formats.h | ||
| plugin.c | ||
| utils.c | ||
| utils.h | ||
| vulkan-blit-dsp-filter.c | ||
| vulkan-blit-filter.c | ||
| vulkan-blit-utils.c | ||
| vulkan-blit-utils.h | ||
| vulkan-compute-filter.c | ||
| vulkan-compute-source.c | ||
| vulkan-compute-utils.c | ||
| vulkan-compute-utils.h | ||
| vulkan-types.h | ||
| vulkan-utils.c | ||
| vulkan-utils.h | ||