Lease camera textures from Fensalir

This commit is contained in:
Meta Vens 2026-05-27 13:29:48 +01:00
commit daf1d4ef8a
10 changed files with 284 additions and 23 deletions

View file

@ -173,3 +173,4 @@
{"ts": "2026-05-27T12:43:45+01:00", "type": "implementation", "status": "ok", "note": "Camera descriptors now lower through FieldEvidence instead of the retired direct GPU sensor frame bridge. GPU/native video handles declare shared Texture2D resources and camera claims; metadata-only cadence frames remain observations with no render payload, so missing pixels cannot become fake latest-window requests. --fensalir-camera-observation-smoke verifies the split and camera image claims defer until Fensalir owns a selected visual-fusion lowering."}
{"ts": "2026-05-27T12:49:27+01:00", "type": "implementation", "status": "ok", "note": "Fensalir now resolves shared Texture2D field resources by native D3D12 handle and accepts Mimir video format names (Bgra8, Gray8/R8, Rg8, Nv12, LeapStereoIr). The camera observation bridge therefore produces resource declarations that can become real engine GPU resources before a selected camera/feature lowering exists."}
{"ts": "2026-05-27T12:54:07+01:00", "type": "implementation", "status": "ok", "note": "Mimir's proof path no longer uses the direct AquariumAcousticFieldFrame builder. Sync states lower into FieldEvidence calibration constraints through MapCalibrationConstraints, and the profile/benchmark smokes now measure the claim/defer path until Fensalir owns a selected acoustic visualization/fusion lowering."}
{"ts": "2026-05-27T13:26:42+01:00", "type": "decision", "status": "ok", "note": "Fensalir-owned Texture2D leases are the preferred live camera payload authority: Mimir receives AquariumRuntimeServices, requests keyed D3D12 texture/fence leases, writes decoded frames into the engine-owned shared texture, commits producer fence values, and lowers the resource key through FieldEvidence. Imported shared texture handles remain fallback/import edges."}

View file

@ -305,12 +305,17 @@ accepted_design:
Texture2D resources, and metadata-only cadence frames do not create camera
surface intents or fake payload requests. The old direct
`AquariumGpuSensorFrame` builder is no longer the active proof path;
Fensalir can now resolve those shared Texture2D resources by native D3D12
Fensalir can now resolve imported shared Texture2D resources by native D3D12
handle and accepts Mimir video format names such as Bgra8, Gray8, Rg8,
Nv12, and LeapStereoIr. `Mimir.BufferSmoke
--fensalir-camera-observation-smoke` verifies the split. Camera image
claims currently defer until Fensalir has a selected visual fusion/feature
extraction lowering for camera textures. Fensalir now owns the first in-process
Nv12, and LeapStereoIr. The preferred live camera path is now
Fensalir-owned texture leasing: Mimir receives `AquariumRuntimeServices`,
asks the engine field resource broker for a keyed Texture2D lease, writes
decoded frames into the returned shared D3D12 texture, signals the returned
producer fence, and commits that fence value before the resource key reaches
shader sampling. `Mimir.BufferSmoke --fensalir-camera-observation-smoke`
verifies the split, and `--fensalir-texture-lease-smoke` verifies the
engine-owned lease path. Camera image claims currently defer until Fensalir
has a selected visual fusion/feature extraction lowering for camera textures. Fensalir now owns the first in-process
D3D12 field resource registry: declared shared structured/curve buffers
import/alias GPU-resident resources by handle, while Fensalir-owned
resources allocate GPU slots only when Fensalir is the producer.