GstVulkan.VulkanTrashList¶
- Subclasses:
Methods¶
- Inherited:
GstVulkan.VulkanHandlePool (3), Gst.Object (27), GObject.Object (37)
- Structs:
|
|
|
|
|
|
|
Virtual Methods¶
|
|
|
|
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
the parent |
Class Details¶
- class GstVulkan.VulkanTrashList(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
New in version 1.18.
- acquire(fence, notify, *user_data)¶
- Parameters:
fence (
GstVulkan.VulkanFence
) – aGstVulkan.VulkanFence
to wait for signallingnotify (
GstVulkan.VulkanTrashNotify
) – notify function for when fence is signalled
- Returns:
a new or reused
GstVulkan.VulkanTrash
for the provided parameters.- Return type:
New in version 1.18.
- add(trash)¶
- Parameters:
trash (
GstVulkan.VulkanTrash
) –GstVulkan.VulkanTrash
object to add to the list- Returns:
whether trash could be added to self
- Return type:
New in version 1.18.
- gc()¶
Remove any stored
GstVulkan.VulkanTrash
objects that have had their associatedGstVulkan.VulkanFence
signalled.New in version 1.18.
- wait(timeout)¶
- Parameters:
timeout (
int
) – timeout in ns to wait, -1 for indefinite- Returns:
whether the wait succeeded in waiting for all objects to be freed.
- Return type:
New in version 1.18.
- do_add_func(trash) virtual¶
- Parameters:
trash (
GstVulkan.VulkanTrash
) – theGstVulkan.VulkanTrash
to add to trash_list- Returns:
whether trash could be added to trash_list
- Return type:
the
GstVulkan.VulkanTrashListAdd
functions
- do_gc_func() virtual¶
the
GstVulkan.VulkanTrashListGC
function
- do_wait_func(timeout) virtual¶
- Parameters:
timeout (
int
) – the timeout in ns to wait- Returns:
whether all objects were signalled and freed within the timeout
- Return type:
the
GstVulkan.VulkanTrashListWait
function