GstVulkanCommandBuffer
Members
parent
(GstMiniObject)
–
the parent GstMiniObject
cmd
(VkCommandBuffer)
–
the vulkan command buffer handle
pool
(GstVulkanCommandPool *)
–
the parent GstVulkanCommandPool for command buffer reuse and locking
level
(VkCommandBufferLevel)
–
the level of the vulkan command buffer
Since : 1.18
Constructors
gst_vulkan_command_buffer_new_wrapped
GstVulkanCommandBuffer * gst_vulkan_command_buffer_new_wrapped (VkCommandBuffer cmd, VkCommandBufferLevel level)
Parameters:
cmd
–
a VkCommandBuffer
level
–
the VkCommandBufferLevel for cmd
Returns
(
[transfer: full])
–
a new GstVulkanCommandBuffer
Since : 1.18
Methods
gst_vulkan_command_buffer_ref
GstVulkanCommandBuffer * gst_vulkan_command_buffer_ref (GstVulkanCommandBuffer * cmd)
Increases the refcount of the given buffer by one.
Parameters:
cmd
–
Returns
(
[transfer: full])
–
cmd
Since : 1.18
Function Macros
gst_vulkan_command_buffer_lock
#define gst_vulkan_command_buffer_lock(cmd) (gst_vulkan_command_pool_lock((cmd)->pool))
Lock cmd for writing cmmands to cmd. Must be matched by a corresponding gst_vulkan_command_buffer_unlock.
Parameters:
cmd
–
Since : 1.18
gst_vulkan_command_buffer_unlock
#define gst_vulkan_command_buffer_unlock(cmd) (gst_vulkan_command_pool_unlock((cmd)->pool))
Unlock cmd for writing cmmands to cmd. Must be matched by a corresponding gst_vulkan_command_buffer_lock.
Parameters:
cmd
–
Since : 1.18
Constants
The results of the search are