mirror of
https://github.com/HeyPuter/gex.git
synced 2026-11-13 20:12:43 -10:00
A D3D program's calls reach the page as a stream of records through the GL device's ring (its own magic and version). With GEX_MESA_DIRK=1, web/build-mesa-wasm.sh fetches dxvk at Mesa's pinned commit (third_party/mesa/subprojects/dxvk) and links its D3D11/DXGI front end on a gex_wgpu screen into the replay (web/mesa/gexd3d-mesa.cpp). A present files the frame under the client's window like a GL client's: the compositor shows it, newest first, and the frame report counts D3D presents and how far behind a window is. d3d=1 on the page turns the device on; a window with no surface shows nothing. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_c8c04c00da9a4525ab21b0b9f146c598