[FFmpeg-devel] [PATCH 2/2] vulkan: discard dependencies when explicitly waiting for execution
Lynne
dev at lynne.ee
Wed Jun 7 02:23:24 EEST 2023
This reduces memory needed dramatically, as unneeded resources
can be immediately returned to the pool.
Although waitforfences is threadsafe, we add a mutex wait around
it, as the mutex fence in combination with waitforfences assures
us that no other thread will reset the fence in the meanwhile
whilst the mutex is locked. This allows is to call
ff_vk_exec_discard_deps.
Patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-vulkan-discard-dependencies-when-explicitly-waiting-.patch
Type: text/x-diff
Size: 1245 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20230607/92020ae5/attachment.patch>
More information about the ffmpeg-devel
mailing list