GstVulkan.VulkanQueue¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
device |
r |
the |
|
family |
r |
the vulkan queue family |
|
index |
r |
the vulkan queue index |
|
parent |
r |
the parent |
|
queue |
r |
the vulkan queue handle |
Class Details¶
- class GstVulkan.VulkanQueue(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
New in version 1.18.
- classmethod flags_to_string(queue_bits)¶
- Parameters:
queue_bits (
Vulkan.QueueFlags) –- Return type:
New in version 1.18.
- classmethod handle_context_query(element, query, queue)¶
- Parameters:
element (
Gst.Element) – aGst.Elementquery (
Gst.Query) – aGst.Queryof typeGst.QueryType.CONTEXTqueue (
GstVulkan.VulkanQueueorNone) – theGstVulkan.VulkanQueue
- Returns:
whether query was responded to with queue
- Return type:
If a
GstVulkan.VulkanQueueis requested in query, sets queue as the reply.Intended for use with element query handlers to respond to
Gst.QueryType.CONTEXTfor aGstVulkan.VulkanQueue.New in version 1.18.
- classmethod run_context_query(element, queue)¶
- Parameters:
element (
Gst.Element) – aGst.Elementqueue (
GstVulkan.VulkanQueue) – aGstVulkan.VulkanQueue
- Returns:
whether queue contains a valid
GstVulkan.VulkanQueue- queue:
- Return type:
(
bool, queue:GstVulkan.VulkanQueue)
Attempt to retrieve a
GstVulkan.VulkanQueueusingGst.QueryType.CONTEXTfrom the surrounding elements of element.New in version 1.18.
- create_command_pool()¶
- Raises:
- Returns:
a new
GstVulkan.VulkanCommandPoolorNone- Return type:
New in version 1.18.
- get_device()¶
- Returns:
the
GstVulkan.VulkanDevicefor self- Return type:
New in version 1.18.
- submit_lock()¶
Locks the queue for command submission using
vkQueueSubmit()to meet the Vulkan requirements for externally synchronised resources.New in version 1.18.
- submit_unlock()¶
Unlocks the queue for command submission using
vkQueueSubmit().See
GstVulkan.VulkanQueue.submit_lock() for details on when this call is needed.New in version 1.18.