GstVulkan.VulkanCommandPool¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
the parent |
|
pool |
r |
the vulkan command pool handle |
|
queue |
r |
the |
Class Details¶
- class GstVulkan.VulkanCommandPool(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
New in version 1.18.
- create()¶
- Raises:
- Returns:
a new or recycled primary
GstVulkan.VulkanCommandBuffer
- Return type:
New in version 1.18.
- get_queue()¶
- Returns:
the parent
GstVulkan.VulkanQueue
for this command pool- Return type:
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 aGstVulkan.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.