Skip to main content

Module vulkan

Module vulkan 

Source
Expand description

External Vulkan images and their producer-owned reuse slots.

A producer exports a dedicated image and timeline semaphore once, then publishes the slot for each capture. Encoders import it on its declared device and return the slot only after their GPU reads have completed.

Structs§

Completion
Resolves to the producer slot after the GPU has signalled completion.
CompletionError
the GPU failed before the producer slot became safe to reuse.
Device
The physical device and driver that own an external image.
Frame
A published external image, retained until every consumer drops its clone.
Handles
The Vulkan handles exported for one reusable image slot.
Image
An external dedicated Vulkan image, in GENERAL layout while being read.
Plane
One DRM modifier memory plane’s allocation offset and row pitch.
PublishError
A publish failure that returns the still-idle slot.
Slot
One external Vulkan allocation and the producer value that keeps it alive.
Timeline
Monotonic values for one producer-to-consumer-to-producer handoff.

Enums§

Format
The Vulkan format of an image’s packed pixels.
Memory
The memory handle’s import contract.