[FFmpeg-devel] [PATCH 3/6] vulkan: add opaque field to execution contexts

Lynne dev at lynne.ee
Sat Nov 23 21:58:35 EET 2024


Helps keep track of what dispatch happened where.
---
 libavutil/vulkan.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h
index 9b46a279ca..ec20d1ef56 100644
--- a/libavutil/vulkan.h
+++ b/libavutil/vulkan.h
@@ -121,6 +121,9 @@ typedef struct FFVkExecContext {
     /* Fence for the command buffer */
     VkFence fence;
 
+    /* Opaque data, untouched, free to use by users */
+    void *opaque;
+
     void *query_data;
     int query_idx;
 
-- 
2.45.2.753.g447d99e1c3b


More information about the ffmpeg-devel mailing list