Files
Toastconcern--FrameStudio/layer
ToastconcernandClaude Opus 4.8 727ff9579a Windows layer: hook deferred contexts too (the environment is drawn on one)
The compositor records its environment on a deferred D3D11 context, a different object with its own vtable than the
immediate context we hooked — so our draw hooks never saw it and the home never replaced Aurora (connected, but 0
draws). Hook every context's vtable: the immediate one, and each deferred one as CreateDeferredContext /
CreateDeferredContext1 makes it, keeping each vtable's own original draw/PSSetShader so calls dispatch correctly.
classify and the constant-buffer upload now work on whichever context records the draw.

Also fix the crash guard false-tripping: it armed when Frame Home connected and disarmed only after 30 drawn frames,
so when the home never drew (this very bug) every compositor restart counted as a crash and it wrote . Arm only
once we actually swap a draw, so never-drawing can't be mistaken for crashing.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-21 20:58:54 -05:00
..