GstVulkanCommandPool

GstVulkanCommandPool

GObject
    ╰──GInitiallyUnowned
        ╰──GstObject
            ╰──GstVulkanCommandPool

Members

parent (GstObject) –

the parent GstObject

queue (GstVulkanQueue *) –

the GstVulkanQueue to command buffers will be allocated from

pool (VkCommandPool) –

the vulkan command pool handle

Since : 1.18


Class structure

GstVulkanCommandPoolClass

Fields
parent_class (GstObjectClass) –

the parent GstObjectClass

Since : 1.18


Methods

gst_vulkan_command_pool_create

GstVulkanCommandBuffer *
gst_vulkan_command_pool_create (GstVulkanCommandPool * pool,
                                GError ** error)

Parameters:

error

a GError

Returns

a new or recycled primary GstVulkanCommandBuffer

Since : 1.18


gst_vulkan_command_pool_get_queue

GstVulkanQueue *
gst_vulkan_command_pool_get_queue (GstVulkanCommandPool * pool)

Parameters:

Returns ( [transfer: full])

the parent GstVulkanQueue for this command pool

Since : 1.18


gst_vulkan_command_pool_lock

gst_vulkan_command_pool_lock (GstVulkanCommandPool * pool)

This should be called to ensure no other thread will attempt to access the pool's internal resources. Any modification of any of the allocated GstVulkanCommandBuffer's need to be encapsulated in a gst_vulkan_command_pool_lock/gst_vulkan_command_pool_unlock pair to meet the Vulkan API requirements that host access to the command pool is externally synchronised.

Parameters:

Since : 1.18


gst_vulkan_command_pool_unlock

gst_vulkan_command_pool_unlock (GstVulkanCommandPool * pool)

See the documentation for gst_vulkan_command_pool_lock for when you would need to use this function.

Parameters:

Since : 1.18


The results of the search are