vulkan: refactor interop API
I want to deprecate the clumsily designed pl_sync
/ pl_tex_export
APIs, and instead merge this functionality (which is extremely Vulkan-specific) into the pl_vulkan_hold/release
helpers. This requires doing a number of things:
- Minor internal refactoring to support arbitrary queue family transitions
- Generalize/expand
pl_vulkan_hold
andpl_vulkan_release
to adduint32_t qf
parameters - Create a helper for creating vulkan-specific (exportable) semaphore objects, replacing the old
pl_sync
abstraction
Edited by Niklas Haas