NativeCanvasDevices

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

A version adapter supplies exactly one stable driver identity per physical device. Entries are retained only for that device lifetime and removed after successful terminal cleanup. Every operation runs on the thread that first initializes this registry; callbacks are never dispatched to another thread.

Functions

Link copied to clipboard

Closes every device after native GUI queues have been discarded and before native device destruction.

Link copied to clipboard
fun consumed()

Records native GUI consumption and then polls all device lifetimes on the render thread.

Link copied to clipboard

Resolves the lifetime manager for one stable native driver identity without allocating GPU storage.

Link copied to clipboard
fun failedGui()

Quarantines outstanding GUI generations after an incomplete native consumer operation.

Link copied to clipboard
fun poll()

Polls all device fences without waiting, including frames without a visible Strata screen.

Link copied to clipboard
fun reload()

Invalidates device-owned derived presentation generations after a resource reload.

Link copied to clipboard

Reports separately budgeted portable GUI resource sets across every registered native device.

Link copied to clipboard

Reports native payload bytes held by registered independently budgeted GUI cache managers.

Link copied to clipboard

Reports native entry reservations held by registered independently budgeted GUI cache managers.

Link copied to clipboard

Reports active, retired, asynchronously releasing, and failed target-set permits across all registered devices.