diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2024-07-11 13:05:28 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2024-07-19 14:45:39 +0200 |
commit | 2990cc5f71f9c285510e362d8dc4a6efc4f3c2ca (patch) | |
tree | e3c515a565a51efae63fef824b7a791377d15440 /girs | |
parent | dd4027388e7a15e11a82edac06b24664f0f43ca0 (diff) |
vulkan: add source pipeline stage to _operation_add_frame_barrier()
Instead of dragging the last destination pipeline stage as current barrier
source pipeline stage (which isn't a valid semantic) this patch adds a parameter
to gst_vulkan_operation_add_frame_barrier() to set the source pipeline stage to
define the barrier.
The previous logic brought problems particularly with queue transfers, when the
new queue doesn't support the stage set during a previous operation in a
different queue.
Now the operation API is closer to Vulkan semantics.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7165>
Diffstat (limited to 'girs')
-rw-r--r-- | girs/GstVulkan-1.0.gir | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/girs/GstVulkan-1.0.gir b/girs/GstVulkan-1.0.gir index f37bb6d2a0..e917d91852 100644 --- a/girs/GstVulkan-1.0.gir +++ b/girs/GstVulkan-1.0.gir @@ -4636,6 +4636,11 @@ gst_vulkan_operation_update_frame().</doc> <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c">a Vulkan Image #GstBuffer</doc> <type name="Gst.Buffer" c:type="GstBuffer*"/> </parameter> + <parameter name="src_stage" transfer-ownership="none"> + <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c">source pipeline stage (VkPipelineStageFlags or + VkPipelineStageFlags2)</doc> + <type name="guint64" c:type="guint64"/> + </parameter> <parameter name="dst_stage" transfer-ownership="none"> <doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/vulkan/gstvkoperation.c">destination pipeline stage (VkPipelineStageFlags or VkPipelineStageFlags2)</doc> |