Sets device
on context
a #GstContext
a #GstVulkanDevice
Sets display
on context
a #GstContext
a #GstVulkanDisplay
Sets instance
on context
a #GstContext
a #GstVulkanInstance
Sets queue
on context
a #GstContext
a #GstVulkanQueue
Allocate a new #GstVulkanBufferMemory.
a #GstVulkanDevice
size of the new buffer
buffer usage flags
memory properties flags for the backing memory
Initializes the Vulkan buffer memory allocator. It is safe to call this function multiple times. This must be called before any other #GstVulkanBufferMemory operation.
Allocated a new wrapped #GstVulkanBufferMemory with buffer
.
a #GstVulkanDevice
a #VkBuffer
usage flags of buffer
user data to call notify
with
a #GDestroyNotify called when buffer
is no longer in use
Perform the steps necessary for retrieving a #GstVulkanInstance and (optionally) an #GstVulkanDisplay from the surrounding elements or from the application using the #GstContext mechanism.
If the contents of display_ptr
or instance_ptr
are not %NULL, then no
#GstContext query is necessary and no #GstVulkanInstance or #GstVulkanDisplay
retrieval is performed.
a #GstElement
the resulting #GstVulkanDisplay
the resulting #GstVulkanInstance
Helper function for implementing #GstElementClass.set_context() in Vulkan capable elements.
Retrieve's the #GstVulkanDisplay or #GstVulkanInstance in context
and places
the result in display
or instance
respectively.
a #GstElement
a #GstContext
location of a #GstVulkanDisplay
location of a #GstVulkanInstance
Allocated a new #GstVulkanImageMemory.
a #GstVulkanDevice
the VkFormat for the new image
width for the new image
height for the new image
tiling for the new image
usage flags for the new image
VkDeviceMemory property flags for the new image
Initializes the Vulkan image memory allocator. It is safe to call this function multiple times. This must be called before any other #GstVulkanImageMemory operation.
Allocated a new #GstVulkanMemory.
a #GstVulkanDevice
the Vulkan memory type index
a #GstAllocationParams
the size to allocate
Initializes the Vulkan memory allocator. It is safe to call this function multiple times. This must be called before any other #GstVulkanMemory operation.
The printf format specifier for raw Vulkan non dispatchable handles.