summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vulkan/gstvkbarrier.h
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2020-08-12 15:59:01 +1000
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>2020-08-15 02:55:30 +0000
commit2d31aba78d4783eddfb3a15e517aab92e4e9711c (patch)
tree48ef7d0d94945dbbb1cdcea52198cde4273f3589 /gst-libs/gst/vulkan/gstvkbarrier.h
parentbc95b5d99a844f590e04077a342f26ea877e2aad (diff)
downloadgstreamer-plugins-bad-2d31aba78d4783eddfb3a15e517aab92e4e9711c.tar.gz
vulkan: docs annotation updates
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1506>
Diffstat (limited to 'gst-libs/gst/vulkan/gstvkbarrier.h')
-rw-r--r--gst-libs/gst/vulkan/gstvkbarrier.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/gst-libs/gst/vulkan/gstvkbarrier.h b/gst-libs/gst/vulkan/gstvkbarrier.h
index bb3bcd736..755b7c1a4 100644
--- a/gst-libs/gst/vulkan/gstvkbarrier.h
+++ b/gst-libs/gst/vulkan/gstvkbarrier.h
@@ -26,6 +26,15 @@
G_BEGIN_DECLS
+/**
+ * GstVulkanBarrierType:
+ * @GST_VULKAN_BARRIER_NONE: no barrier type
+ * @GST_VULKAN_BARRIER_MEMORY: memory barrier
+ * @GST_VULKAN_BARRIER_BUFFER: buffer barrier
+ * @GST_VULKAN_BARRIER_IMAGE: image barrier
+ *
+ * Since: 1.18
+ */
typedef enum
{
GST_VULKAN_BARRIER_NONE = 0,
@@ -34,11 +43,27 @@ typedef enum
GST_VULKAN_BARRIER_TYPE_IMAGE = 3,
} GstVulkanBarrierType;
+/**
+ * GstVulkanBarrierFlags:
+ * @GST_VULKAN_BARRIER_FLAGS_NONE: no flags
+ *
+ * Since: 1.18
+ */
typedef enum
{
GST_VULKAN_BARRIER_FLAG_NONE = 0,
} GstVulkanBarrierFlags;
+/**
+ * GstVulkanBarrierMemoryInfo:
+ * @type: the #GstVulkanBarrierType of the barrier
+ * @flags the #GstVulkanBarrierFlags of the barrier
+ * @queue: the #GstVulkanQueue this barrier is to execute with
+ * @pipeline_stages: the stages in the graphics pipeline to execute the barrier
+ * @access_flags: access flags
+ *
+ * Since: 1.18
+ */
struct _GstVulkanBarrierMemoryInfo
{
GstVulkanBarrierType type;
@@ -46,6 +71,9 @@ struct _GstVulkanBarrierMemoryInfo
GstVulkanQueue * queue;
VkPipelineStageFlags pipeline_stages;
VkAccessFlags access_flags;
+
+ /* <private> */
+ gpointer _reserved [GST_PADDING];
};
G_END_DECLS