Callbacks

VulkanDeviceForEachQueueFunc (device, queue, *user_data)

VulkanHandleDestroyNotify (handle, *user_data)

VulkanImageMemoryFindViewFunc (view, *user_data)

VulkanTrashListAdd (trash_list, trash)

VulkanTrashListGC (trash_list)

VulkanTrashListWait (trash_list, timeout)

VulkanTrashNotify (device, *user_data)

Details

GstVulkan.VulkanDeviceForEachQueueFunc(device, queue, *user_data)
Parameters:
Return type:

bool

New in version 1.18.

GstVulkan.VulkanHandleDestroyNotify(handle, *user_data)
Parameters:

Function definition called when the GstVulkan.VulkanHandle is no longer in use. All implementations of this callback must free the internal handle stored inside handle.

New in version 1.18.

GstVulkan.VulkanImageMemoryFindViewFunc(view, *user_data)
Parameters:
Return type:

bool

Function definition used to find views. Return True if view matches the criteria.

New in version 1.18.

GstVulkan.VulkanTrashListAdd(trash_list, trash)
Parameters:
Returns:

whether trash could be added to trash_list

Return type:

bool

Add trash to trash_list for tracking

New in version 1.18.

GstVulkan.VulkanTrashListGC(trash_list)
Parameters:

trash_list (GstVulkan.VulkanTrashList) – the GstVulkan.VulkanTrashList instance

Remove any memory allocated by any signalled objects.

New in version 1.18.

GstVulkan.VulkanTrashListWait(trash_list, timeout)
Parameters:
Returns:

whether all objects were signalled and freed within the timeout

Return type:

bool

Wait for a most timeout to pass for all GstVulkan.VulkanTrash objects to be signalled and freed.

New in version 1.18.

GstVulkan.VulkanTrashNotify(device, *user_data)
Parameters:

New in version 1.18.