D3D12.X: show live FPS in the game window title #477
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/482"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by Mavixot on 2026-11-24T00:56:18Z.
Displays live FPS in the top title bar of the XCL window, alongside shader compilation progress. Samples successful presents over at least one second using actual elapsed time, and reports zero during a stall. Related to #450's optional in-frame overlay.
What is in it
crates/xcl/src/hle/d3d12x/present.rs: reuse the window timer and presented-frame counter; three tests cover sampling intervals, irregular timing, stalls and recovery.Tested
b86fba483e6a,cargo build --workspace --locked --offlineand all three FPS tests pass. The full workspace suite and release smoke run are in progress.12019c9:cargo test --workspace --locked --offline --no-fail-fast -- --test-threads=4: 674 passed, 3 failed, 41 ignored, 0 GPU SKIPPED lines; Windows Application Control blocked 3 additional test targets. The three failures were a 3D texture mip readback mismatch and two poisoned-lock failures, also reproduced on unmodified main at2b4bb43.git diff --checkpasses.Regression run
Main (
2997c9a), 60 seconds:PR head (
b86fba483e6a): pending completion of the current validation run. The actual head block will be added when available. Earlier blocked or misidentified runs are excluded.Not tested
AI use
Pull request closed