aboutsummaryrefslogtreecommitdiffstats
path: root/tools/target_swr_fuzzer.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2024-09-20 05:28:19 +0200
committerLynne <dev@lynne.ee>2024-09-22 02:11:08 +0200
commita577d313b2c14c855ab8aa69bbe3527bd7727212 (patch)
treed90868a14c912e13e59d4c38f3ca3c18063d7394 /tools/target_swr_fuzzer.c
parent2395444c80cce3879196a465fb76a33c357711f8 (diff)
downloadffmpeg-a577d313b2c14c855ab8aa69bbe3527bd7727212.tar.gz
hwcontext_vulkan: add support for implicit DRM synchronization
More recent kernel versions allow for users to extract a sync_file handle from a DMA-BUF, which can then be imported into Vulkan as a binary semaphore. This finally allows for synchronization between Vulkan and DMA-BUF images, such as those from screen capture software, or VAAPI, avoiding any corruption artifacts. This is done fully asynchronously, where we use the kernel's given binary semaphores as a dependency to increment the image's usual VkSemaphores we allocate. The old imported binary semaphores are cleaned up after execution as usual. In the future, hwcontext_drm should receive support for explicitly synchronized images as well, which would make the synchronization more robust and portable.
Diffstat (limited to 'tools/target_swr_fuzzer.c')
0 files changed, 0 insertions, 0 deletions