Files
effectcraft/crates
vangel76 2130d01d4a Footage cache (#3271): the memory accountant trims only preview frames in RAM
PreviewMemory::trim_to counts the frames in RAM but took the next victim among all frames, GPU frames too: dropping one freed nothing it counts and lost a viewer frame. Victims are now taken among the frames an eligibility test accepts, in the same order (other scales first, then by the playhead): frames in RAM for the accountant, all frames for the cache's own budget. A test (with a GPU adapter) keeps the two oldest frames on the GPU; it fails on the old code.
2026-11-08 10:36:12 +01:00
..
…
…
…
…
…