victory-gpu: [display] fps_limit and F11/Alt+Enter borderless toggle #773
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/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?
Imported from fxceless/victory-fork. Originally posted by Revens2 on 2026-11-25T07:13:48Z.
Refs #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).
Imported from fxceless/victory-fork. Originally posted by chatgpt-codex-connector[bot] on 2026-11-25T07:14:00Z.
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
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.