Propagate Fensalir texture leases to video drivers

This commit is contained in:
Meta Vens 2026-05-27 13:32:38 +01:00
commit 7202d30ef1
10 changed files with 85 additions and 3 deletions

View file

@ -174,3 +174,4 @@
{"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."}
{"ts": "2026-05-27T13:32:24+01:00", "type": "decision", "status": "ok", "note": "Texture lease services now propagate from MimirRuntime into direct video capture sources. MimirVideoCaptureDriverSource forwards a MimirFensalirTextureLeaseClient to drivers that implement IMimirFensalirTextureLeaseReceiver, so a direct camera driver can request its Fensalir-owned destination texture before it emits the frame descriptor and producer fence value."}

View file

@ -312,7 +312,9 @@ accepted_design:
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`
shader sampling. `MimirVideoCaptureDriverSource` forwards that lease client
to direct camera drivers that implement `IMimirFensalirTextureLeaseReceiver`.
`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