Textures picked by index looked at again sooner; play: painted textures every 6 frames #4643
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4643"
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 isgti07-hub on 2026-12-01T00:34:17Z.
What it changes
After a whole upload, a texture picked by index is looked at again 4, 12, 40, 120 and 400 frames later. One the title streams sharper levels into between two looks stays blurry until the next. In a 20-minute drive, 202 textures were found changed with nothing told of it (
changed after its upload with nothing to tell of it): the median 4 frames after their upload, the tenth slowest 16, the slowest 176 (about 9 s at 20 fps). In play: textures that look as if they are still loading.RECHECK_FRAMESis now[2, 6, 12, 24, 48, 100, 200, 400](a look reads 48 KiB).VICTORY_PAINTED_EVERY=6(from #1573, off by default), so a texture once found changed is looked at every 6 frames for good.How it was tested
cargo testpassed for the crates it touches: yes,cargo test --release --locked -p victory-gpu --lib draw::ona80a3ea0: 33 passed, 0 failed, 2 ignored.a80a3ea0, on main7d93ee07.Checked for overlap
RECHECK_FRAMESandVICTORY_PAINTED_EVERY. Related: #4161 (open: watches a texture for writes after its last recheck; complementary, this makes the looks before it sooner; both touchdraw.rsnearRECHECK_FRAMES), #1573 (merged: addedVICTORY_PAINTED_EVERY), #4206 (open: mentionsRECHECK_FRAMES, changes something else).🤖 Generated with Claude Code
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.