victory-gpu: [display] fps_limit and F11/Alt+Enter borderless toggle #773
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!773
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-773"
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?
@Revens2 on GitHub · 2026-11-25 07:13 UTC · original
Revens2:fix/issue-727→main· +366 −5 · 9 files · 1 commits · openRefs #727 (window mode, fps limit) and #728 (phase 0, measurement). Does not close either.
What is in it
[display] fps_limitinvictory.toml(envVICTORY_FPS_LIMIT, 0 = off, at most 1000). Applied just beforePresent: sleep until 1.5 ms before the deadline, then spin. A late frame is not made up for (no burst after a slow frame). The title's own frame clock (frame.rs) is untouched.[display] window_mode = "windowed" | "borderless"(envVICTORY_WINDOW_MODE) and F11 / Alt+Enter at run time, on the windowvictory-gpucreates. Borderless is a popup over the monitor the window is on (flip model, no exclusive fullscreen); the swap chain keeps the title's size and is stretched, so another aspect ratio is stretched too. The windowed rectangle and style are restored on the way back. The toggle runs on the window's own thread. A window made by the title is not touched.VICTORY_FPS_LIMIT,[display] fps_limit,window_mode). README andvictory.example.tomldocument the keys.Overlap: #433 (
[window] size, start-up size) and #131 (borderless by default) touch the same window code. This adds no size setting and keeps the default windowed, so it should rebase on either;config.rsandhost.rswill need a manual merge with #433. Not duplicated: no[window]table here.Tested
cargo test --workspace --locked --no-fail-fast: 540 passed, 0 failed, 10 ignored (WARP, Windows 11). One earlier run failedinplace::tests::warp_a_title_buffer_in_place_shows_its_bytes_at_its_offsetonce and passed on the next two runs; this change does not touchinplace.rs; cause not investigated.Not tested
non verifie.GetAsyncKeyState), as the F3 key of #717 would.non verifiewhat the title does with F11.non verifie.AI use
Written with Claude Sonnet 5.5 (Claude Code).
@chatgpt-codex-connector[bot] on GitHub · 2026-11-25 07:14 UTC · original · edited 2026-11-25 07:17 UTC
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
0ad4aebℹ️ 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.
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.