upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
diff options
context:
space:
mode:
authorNotRexed <therealnothingfn@gmail.com>2026-11-27 11:06:42 -0500
committerNotRexed <therealnothingfn@gmail.com>2026-11-27 11:06:42 -0500
commit9cc82932a7ab882db2b5633e8985b2745a9568e4 (patch)
treedecc711154ae2559c704d2ccda7ea9a37e96bf94 /runtime/xma_decoder/tests/ffi_cpp_smoke.cpp
parent4a7ba3fa52cb33dea2200653eb22b5856122e14a (diff)
Idle textures: those made again after they were let go are let go later (LEONIDA_TEXTURE_FAVOR_REUSED=1, off by default)
Where the card's room sets a limit, the sweep lets idle host copies of textures go longest idle first. A texture whose copy had to be made again after it was let go now counts as used 20 seconds later for each time (8 counted at most) with the switch: the ones the title keeps coming back to stay, and others go in their place. What is drawn does not change, only which idle copies go; one that goes and is asked for again is made and sent up again as before. LEONIDA_AB can name the switch (the order shows over minutes, not over a phase of seconds). After felicienradio/cold-project-vi 6b1a183 (edupode, GPL-3.0-or-later; VICTORY_TEXTURE_FAVOR_REUSED, on there). Measured there on a 12 GB RTX 5070 Ti laptop: of a long play 34 % of the copies let go came back (40,796 of 121,015; 14 GB sent up again, textures in the distance blinking). What the new order saves was not measured there, so it is off by default here. Test: the rank of a texture by its last use and the times it was made again. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/xma_decoder/tests/ffi_cpp_smoke.cpp')
0 files changed, 0 insertions, 0 deletions