]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/hwcontext_vulkan.h
hwcontext_vulkan: dynamically load functions
[ffmpeg] / libavutil / hwcontext_vulkan.h
index ab075a74e0ce04d98bc314e403419eb332c75915..e4645527d7df0712707401e09d280232c6e45374 100644 (file)
@@ -42,6 +42,13 @@ typedef struct AVVulkanDeviceContext {
      */
     const VkAllocationCallbacks *alloc;
 
+    /**
+     * Pointer to the instance-provided vkGetInstanceProcAddr loading function.
+     * If NULL, will pick either libvulkan or libvolk, depending on libavutil's
+     * compilation settings, and set this field.
+     */
+    PFN_vkGetInstanceProcAddr get_proc_addr;
+
     /**
      * Vulkan instance. Must be at least version 1.1.
      */