mirror of
https://github.com/tangerineturtle1/NX2navi.git
synced 2026-11-19 12:59:58 -04:00
Remove the Video memory use row; its low behaviour is the only one now.
Released textures go once they have gone unused for the hold, and what a switched-off upscaler or SMAA held is freed, with no setting to keep them. A vram_use line left in a settings file is known and read by nothing. Memory use is to be decided by the card's and the system's budget instead. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -154,7 +154,7 @@ static void img_free(Img *m);
|
||||
// long pause or loading screen with smaa set also counts as unused, and the images are made again after it.
|
||||
#define WORK_IDLE 3600
|
||||
static void work_idle(uint64_t frame) {
|
||||
if (!P.luma.img || frame - P.smaa_frame < WORK_IDLE || cfg_vram_keep()) return; // vram_use = high keeps them
|
||||
if (!P.luma.img || frame - P.smaa_frame < WORK_IDLE) return;
|
||||
rt_log("aa: SMAA's work images unused for %d frames: freed (%ux%u)", WORK_IDLE, P.w, P.h);
|
||||
img_free(&P.luma), img_free(&P.edges), img_free(&P.weights);
|
||||
P.w = P.h = 0;
|
||||
|
||||
Reference in New Issue
Block a user