NativeGuiResources
Device-owned lifetime registry for complete portable GUI resource generations.
Each stable presenter may retain at most three sets and this device at most 64, independently of native Canvas target permits. A set contains at most one resource for each exact positive layer extent supplied before allocation. Cache release only requests retirement; initialization, extraction pins, actual GUI consumption, and physical destruction independently control release. Resources and fences remain here rather than in screens or immutable core frames, including after partial initialization or GUI failure. Every call belongs to the constructing render thread, and ordinary operations never wait for completion.
Functions
Transfers one layer resource immediately after allocation, before initialization or upload may fail.
Pins a complete initialized generation before any callback or intermediate native flush can release its cache.
Creates one immutable presenter identity without reserving storage or retaining the presenter.
Releases one extraction pin after the complete ordered presenter call returns or fails.
Marks the pinned generation as potentially referenced immediately before each native GUI blit.
Requests retirement while letting the screen immediately clear every cache and resource reference.
Reserves one complete portable generation before the caller allocates any native resource.
Reports active, retired, partially initialized, quarantined, and asynchronously destroying portable sets.
Seals initialization and records its completion fence after all attempted allocations and uploads.