feat(victory): frame-rate counter at the top left of the game window #225
No reviewers
Labels
No labels
accessibility
bloqué : binaire console
bug
chargeur
console-dll
cpu
documentation
duplicate
enhancement
good first issue
gpu
help wanted
invalid
performance
question
runtime-gdk
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LooperSalty--AnyXboxX!225
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/225/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?
@LooperSalty on GitHub · 2026-11-25 18:57 UTC · original
LooperSalty:feat/fps-overlay→main· +279 −0 · 4 files · 1 commits · merged 2026-11-25 19:09 UTCChange
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
@LooperSalty on GitHub · 2026-11-25 19:02 UTC · original
@codex review
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 19:04 UTC · original
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".
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 18:57 UTC · original · edited 2026-11-25 19:04 UTC
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.
@ -0,0 +11,4 @@//! `VICTORY_FPS_OVERLAY_SIZE=<pixels>` sets the character height (default 54).//!//! Source: rorodev6/victory, commit 4ddc0c1 (`crates/victory-gpu/src/fps_overlay.rs`),//! GPL-3.0-or-later; ported with a configurable size.@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 18:58 UTC · original
This 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 👍 / 👎.
@ -0,0 +11,4 @@//! `VICTORY_FPS_OVERLAY_SIZE=<pixels>` sets the character height (default 54).//!//! Source: rorodev6/victory, commit 4ddc0c1 (`crates/victory-gpu/src/fps_overlay.rs`),//! GPL-3.0-or-later; ported with a configurable size.@LooperSalty on GitHub · 2026-11-25 19:02 UTC · original
The 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.@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 18:58 UTC · original · reviewed
💡 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".