Upload CPU camera frames into Fensalir leases

This commit is contained in:
Meta Vens 2026-05-27 14:11:48 +01:00
commit 7f3df7979b
9 changed files with 105 additions and 8 deletions

View file

@ -339,6 +339,11 @@ request the destination texture before emitting a frame descriptor.
Each camera backend must use the closest-to-device path available and expose
its unavoidable copy count. Managed/process wrappers are diagnostic bring-up
surfaces, not the production camera hot path.
For raw single-plane system-memory frames, `MimirVideoCaptureDriverSource`
performs the one declared CPU-to-GPU upload into the Fensalir lease, drops the
managed payload from the live sample, and increments `UnavoidableCopyCount`.
NV12 CPU upload is rejected until Fensalir owns a real planar upload path;
device/GPU NV12 producers should write the leased texture directly.
Metadata-only cadence frames do not create camera surface intents or fake
payload requests. The old direct `AquariumGpuSensorFrame` bridge proof has been
removed from Mimir's active proof path. Camera image claims currently defer

View file

@ -51,6 +51,10 @@ Get-Content .\state\evidence.jsonl -Tail 8
that implement `IMimirFensalirTextureLeaseReceiver`.
Camera backends must use the closest-to-device path available and report
unavoidable copies; process or managed convenience layers are diagnostics.
Raw single-plane CPU-origin frames can use the explicit broker upload lane,
which increments `UnavoidableCopyCount` and clears live managed payload bytes
after upload. NV12 CPU upload is rejected until Fensalir owns planar copy;
device/GPU NV12 producers should write the leased texture directly.
Foreign shared texture handles are import edges, not the primary hot path.
- The current Mimir/Fensalir rendering teardown map is
[[docs/fensalir-rendering-rebuild-migration|Fensalir Rendering Rebuild