F3: a second panel, translucent bars over the picture #3229
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3229"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by M4gnif1cus on 2026-11-29T20:50:38Z.
F3 now cycles the FPS counter → the existing panel → a second panel → the FPS counter. The existing panel is unchanged and still comes first after the counter.
What it shows
Cost
I measured it in one run, swapping between the two panels every 20 s for 4 minutes, using only the
Play-VIctory.cmddefaults (Series S, 1920×1080, RTX 5070 Ti Laptop, Core Ultra 9 275HX):On the frame thread the new panel costs about 11 µs per frame on average, 240 µs at most.
How it stays cheap
Notes
No new dependencies; one feature,
Win32_Graphics_Gdi, is added towindows-sys. Clippy reports no warnings in the new files, and the panel and menu tests pass.🤖 Generated with Claude Code
Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by M4gnif1cus on 2026-11-30T12:23:02Z.
The failing
checkjob comes frommain, not from this PR. I reproduced it locally on Windows, comparingmain(41adb551) with this branch (03f0f611).Where it stops. The first Clippy step (
cargo clippy --workspace --all-targets --locked -- -D warnings) fails invictory-loaderandvictory-shader, which this PR does not touch, for example:crates/victory-loader/src/crash.rs:unwind_copyis never used without thediagnosticsfeature (#3785 addresses this one).crates/victory-shader: unused imports (PAIR_MEETINGS,lane_regions), a loop condition that is not mutated, and a function with too many arguments.Behind those. To let Clippy reach the rest, I temporarily gated
unwind_copyand silenced thosevictory-shaderlints, then ran both Clippy steps onmainand on this branch:main--all-featuresThey are mostly in
victory-gpu(dead code, among others). So fixingunwind_copyalone will not turn the check green.Policy test.
cargo xtask policy(run by the test step) also fails on both, oncrates/victory-loader/src/heap_sites/frame_users.rs(a long run of hex digits).This PR's tests. The panel and menu tests in
victory-gpupass (30 of 30). I did not run the whole test suite.Pull request closed