Repository navigation
Conversation
Sample successfully presented frames over at least one second using the existing window timer. Keep FPS visible alongside shader compilation progress and report zero when presentation stops. Cover irregular sampling, sample intervals, stalls and recovery with unit tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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