From d40e623fd5c27544bd9af7b749b44cfa41f0f2fa Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sun, 19 Nov 2023 14:37:41 +0100 Subject: [PATCH] vo_gpu_next: bump ICC cache size limit to 20 MB These are less likely to be modified from run to run, and with the avoidance of redundant re-saving we can get away with a larger size. This is enough to save 10 3DLUTs at typical sizes. --- video/out/vo_gpu_next.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 5a09f2ac7f..0e2e3e0fc4 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1671,7 +1671,7 @@ static int preinit(struct vo *vo) if (gl_opts->shader_cache) cache_init(vo, &p->shader_cache, 10 << 20, gl_opts->shader_cache_dir); if (gl_opts->icc_opts->cache) - cache_init(vo, &p->icc_cache, 10 << 20, gl_opts->icc_opts->cache_dir); + cache_init(vo, &p->icc_cache, 20 << 20, gl_opts->icc_opts->cache_dir); pl_gpu_set_cache(p->gpu, p->shader_cache.cache); p->rr = pl_renderer_create(p->pllog, p->gpu);