GstVulkan.VulkanTrash¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
cache |
r/w |
||
fence |
r/w |
||
notify |
r/w |
||
parent |
r/w |
||
user_data |
r/w |
Methods¶
class |
|
class |
|
class |
|
class |
|
Details¶
- class GstVulkan.VulkanTrash¶
New in version 1.18.
- classmethod mini_object_unref(device, user_data)¶
- Parameters:
device (
GstVulkan.VulkanDevice
) – theGstVulkan.VulkanDevice
user_data (
object
orNone
) – theGst.MiniObject
A
GstVulkan.VulkanTrashNotify
implementation for unreffing aGst.MiniObject
when the associatedGstVulkan.VulkanFence
is signalledNew in version 1.18.
- classmethod new(fence, notify, *user_data)¶
- Parameters:
fence (
GstVulkan.VulkanFence
) – aGstVulkan.VulkanFence
notify (
GstVulkan.VulkanTrashNotify
orNone
) – aGstVulkan.VulkanTrashNotify
- Returns:
a new
GstVulkan.VulkanTrash
- Return type:
Create and return a new
GstVulkan.VulkanTrash
object that will stores a callback to call when fence is signalled.New in version 1.18.
- classmethod new_free_semaphore(fence, semaphore)¶
- Parameters:
fence (
GstVulkan.VulkanFence
) – theGstVulkan.VulkanFence
semaphore (
Vulkan.Semaphore
) – aVkSemaphore
to free
- Returns:
a new
GstVulkan.VulkanTrash
object that will the free semaphore when fence is signalled- Return type:
New in version 1.18.
- classmethod object_unref(device, user_data)¶
- Parameters:
device (
GstVulkan.VulkanDevice
) – theGstVulkan.VulkanDevice
user_data (
object
orNone
) – theGst.MiniObject
A
GstVulkan.VulkanTrashNotify
implementation for unreffing aGst.Object
when the associatedGstVulkan.VulkanFence
is signalledNew in version 1.18.