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.VulkanDeviceuser_data (
objectorNone) – theGst.MiniObject
A
GstVulkan.VulkanTrashNotifyimplementation for unreffing aGst.MiniObjectwhen the associatedGstVulkan.VulkanFenceis signalledNew in version 1.18.
- classmethod new(fence, notify, *user_data)¶
- Parameters:
fence (
GstVulkan.VulkanFence) – aGstVulkan.VulkanFencenotify (
GstVulkan.VulkanTrashNotify) – aGstVulkan.VulkanTrashNotify
- Returns:
a new
GstVulkan.VulkanTrash- Return type:
Create and return a new
GstVulkan.VulkanTrashobject 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.VulkanFencesemaphore (
Vulkan.Semaphore) – aVkSemaphoreto free
- Returns:
a new
GstVulkan.VulkanTrashobject 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.VulkanDeviceuser_data (
objectorNone) – theGst.MiniObject
A
GstVulkan.VulkanTrashNotifyimplementation for unreffing aGst.Objectwhen the associatedGstVulkan.VulkanFenceis signalledNew in version 1.18.