GstVulkan.VulkanCommandPool

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GstVulkan.VulkanCommandPool GstVulkan.VulkanCommandPool Gst.Object->GstVulkan.VulkanCommandPool

Subclasses:

None

Methods

Inherited:

Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

create ()

get_queue ()

lock ()

unlock ()

Virtual Methods

Inherited:

Gst.Object (1), GObject.Object (7)

Properties

Inherited:

Gst.Object (2)

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

parent

Gst.Object

r

the parent Gst.Object

pool

Vulkan.CommandPool

r

the vulkan command pool handle

queue

GstVulkan.VulkanQueue

r

the GstVulkan.VulkanQueue to command buffers will be allocated from

Class Details

class GstVulkan.VulkanCommandPool(**kwargs)
Bases:

Gst.Object

Abstract:

No

Structure:

GstVulkan.VulkanCommandPoolClass

New in version 1.18.

create()
Raises:

GLib.Error

Returns:

a new or recycled primary GstVulkan.VulkanCommandBuffer

Return type:

GstVulkan.VulkanCommandBuffer

New in version 1.18.

get_queue()
Returns:

the parent GstVulkan.VulkanQueue for this command pool

Return type:

GstVulkan.VulkanQueue

New in version 1.18.

lock()

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 GstVulkan.VulkanCommandBuffer's need to be encapsulated in a GstVulkan.VulkanCommandPool.lock()/GstVulkan.VulkanCommandPool.unlock() pair to meet the Vulkan API requirements that host access to the command pool is externally synchronised.

New in version 1.18.

unlock()

See the documentation for GstVulkan.VulkanCommandPool.lock() for when you would need to use this function.

New in version 1.18.