feat(victory): frame-rate counter at the top left of the game window #225
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/225"
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 LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-25T18:57:29Z.
Change
A frame-rate counter in large bold text at the top left of the game window, asked by the maintainer to follow fps while playing.
third_party/victory/crates/victory-gpu/src/fps_overlay.rs: ported from rorodev6/victory4ddc0c1(GPL-3.0-or-later). A layered, click-through, top-most window on its own thread reads the frames presented every 250 ms and shows the rate over the last second. No frame time, nothing drawn into the title's picture, no GPU work.queue::presented()counter; the character height is configurable withVICTORY_FPS_OVERLAY_SIZE=<pixels>(default 54, bounded 16-240) and the window scales with it.VICTORY_FPS_OVERLAY=0hides it.host.rs; module registered inlib.rs(Windows only).THIRD_PARTY.md: rorodev6/victory added to the sources ofthird_party/victory(rule 10).Verification
cargo build --profile diag -p victory --features diagnostics(third_party/victory): OK.cargo test -p victory-gpu --features diagnostics fps_overlay: 2 passed (size parsing and bounds, window scaling). They fail without the port.🤖 Generated with Claude Code
https://claude.ai/code/session_01LwHrL4tW8PW9t9yQ4GbErX
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T18:57:40Z.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
297cc12ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T18:58:35Z.
Review: COMMENTED
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit:
297cc12ac2ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T18:58:35Z.
Code review location:
third_party/victory/crates/victory-gpu/src/fps_overlay.rs; line 14This file explicitly identifies itself as a port of rorodev6/victory commit
4ddc0c1, but the reviewed commit message contains neither the requiredSource:trailer nor aCo-authored-by:trailer crediting the upstream author. The source comment andTHIRD_PARTY.mdentry do not satisfy the separate commit-attribution requirement inAGENTS.mdrule 10. Include both trailers in the port's commit message to preserve the required provenance and authorship.AGENTS.md reference: AGENTS.md:L59-L59
Useful? React with 👍 / 👎.
Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-25T19:02:45Z.
Code review location:
third_party/victory/crates/victory-gpu/src/fps_overlay.rs; line 14The trailers are in the commit message of
297cc12(last paragraph), andgit interpret-trailers --parsereads them:so rule 10 is met (source comment in the file,
THIRD_PARTY.mdrow, and both trailers). Resolving.Imported from LooperSalty/AnyXboxX. Originally posted by LooperSalty on 2026-11-25T19:02:48Z.
@codex review
Imported from LooperSalty/AnyXboxX. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T19:04:17Z.
Codex Review: Didn't find any major issues. Keep it up!
Reviewed commit:
297cc12ac2ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".