GstVulkan.VulkanHandlePool

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gst.Object Gst.Object GObject.InitiallyUnowned->Gst.Object GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GstVulkan.VulkanHandlePool GstVulkan.VulkanHandlePool Gst.Object->GstVulkan.VulkanHandlePool

Subclasses:

GstVulkan.VulkanDescriptorCache, GstVulkan.VulkanFenceCache, GstVulkan.VulkanTrashList

Methods

Inherited:

Gst.Object (27), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

acquire ()

alloc ()

release (handle)

Virtual Methods

Inherited:

Gst.Object (1), GObject.Object (7)

do_acquire ()

do_alloc ()

do_free (handle)

do_release (handle)

Properties

Inherited:

Gst.Object (2)

Signals

Inherited:

Gst.Object (1), GObject.Object (1)

Fields

Inherited:

Gst.Object (1), GObject.Object (1)

Name

Type

Access

Description

available

[object]

r

the collection of allocated and available handles

device

GstVulkan.VulkanDevice

r

the GstVulkan.VulkanDevice handles are allocated from

outstanding

[object]

r

the collection of outstanding handles

parent

Gst.Object

r

the parent Gst.Object

Class Details

class GstVulkan.VulkanHandlePool(**kwargs)
Bases:

Gst.Object

Abstract:

Yes

Structure:

GstVulkan.VulkanHandlePoolClass

New in version 1.18.

acquire()
Raises:

GLib.Error

Return type:

object or None

alloc()
Raises:

GLib.Error

Return type:

object or None

release(handle)
Parameters:

handle (object or None) –

do_acquire() virtual
Return type:

object or None

acquire a handle for usage

do_alloc() virtual
Return type:

object or None

allocate a new handle

do_free(handle) virtual
Parameters:

handle (object or None) –

free a handle

do_release(handle) virtual
Parameters:

handle (object or None) –

release a handle for possible reuse at the next call to acquire