D3D12.X: show live FPS in the game window title #482
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
goal:world-load
good first issue
help wanted
invalid
keep-open
off-goal
question
stale
test-only
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/xcl-dev--xcl!482
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/482/head"
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?
@Mavixot on GitHub · 2026-11-24 00:56 UTC · original
present-fps-counter→main· +73 −5 · 1 files · 1 commits · closed without mergingDisplays 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