mirror of
https://github.com/MacosPorters/betterxen.git
synced 2026-11-26 14:10:43 +00:00
Add persistent frame-loop guest rendering (Gate 3) through the versioned C runtime interface. The guest fixture (fixtures/pe/frame-loop.exe, generated by fixtures/pe/frame-loop.py) runs on a dedicated guest thread, calling xenora.dll!frame_submit(index) until commanded to halt. Each frame is rendered on native Metal, verified against the geometry strip rule, and returned as read-back RGBA8 buffers. Add xenora_session_start_frame_loop, xenora_session_pause_frame_loop, xenora_session_resume_frame_loop, xenora_session_stop_frame_loop, and xenora_session_frame_loop_status to the C interface, plus new states. Destroying a live session safely stops and joins the guest loop without holding the global session lock. Xenora.app gains persistent frame-loop controls (start 300 frames, pause, resume, stop) and displays live frames with their index and completion count. Add --smoke-loop CLI flag and wire the five GPU acceptance tests into scripts/test-gpu.sh. Signed-off-by: Swastick Chowdhury <28708247+Swastickc@users.noreply.github.com>