NativeCanvasDriver
Version-owned GPU operations borrowed by one render-thread canvas device.
Every call runs on the device construction thread; implementations must not retain a screen or a retained node. Targets contain ordinary nearest-sampled RGBA8 straight-alpha color, normalized to a top-left origin. A returned target remains owned by the device until physical destruction. A partial allocation whose rollback fails is transferred with NativeCanvasAllocationFailure, retaining its reserved permit. No operation performs a CPU readback.
Functions
Allocates one target set after its lifetime permit has already been reserved.
Drains deferred native destruction during terminal device shutdown after submitted work has completed and resources have been closed.
Records a completion fence after all GPU work issued so far on the device queue.