Package-level declarations

Types

Link copied to clipboard
class NativeCanvasAllocationFailure(val target: NativeCanvasTarget, val failure: Throwable, val releaseRequested: Boolean = false) : RuntimeException

Transfers a partially allocated target to its device when allocation rollback cannot finish.

Link copied to clipboard

One presentation's externally leased texture contents or custom-renderer invocation.

Link copied to clipboard

Render-thread owner of bounded native canvas targets, source leases, and renderer lifetimes.

Link copied to clipboard

Render-thread registry that keeps native canvas cleanup alive independently of visible screens.

Link copied to clipboard

Version-owned GPU operations borrowed by one render-thread canvas device.

Link copied to clipboard

One render-thread-owned completion fence, independent of screens and presentation snapshots.

Link copied to clipboard

Detached read-only result of final native canvas preparation for one GUI batch.

Link copied to clipboard

Attachment-owned native producer created independently for each retained canvas attachment.

Link copied to clipboard

Immutable paint-cache identifier for one native canvas attachment.

Link copied to clipboard

Detached immutable pixels associated with exactly one committed native token.

Link copied to clipboard

A version-owned color target and optional depth attachment, exclusively owned by a canvas device.

Link copied to clipboard

Immutable identity of one committed native color generation.

Link copied to clipboard

Owns one portable GUI layer's native storage and any CPU upload storage needed until completion.

Link copied to clipboard

A device-owned GUI cache lifetime participant registered with one NativeCanvasDevice.

Link copied to clipboard

Immutable identity for one portable presenter across frame replacement and detach/reattach.

Link copied to clipboard

Device-owned lifetime registry for complete portable GUI resource generations.

Link copied to clipboard

Opaque immutable identity for one complete portable prepared-list generation.

Functions

Link copied to clipboard
fun nativeCanvasSource(driver: NativeCanvasDriver, producerFactory: () -> NativeCanvasProducer, depth: Boolean = false): CanvasSource

Creates a native canvas source for a stable version-owned physical-device driver.