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.
This commit is contained in:
Niklas Haas 2023-11-19 14:37:41 +01:00 committed by sfan5
parent 47eae92c46
commit d40e623fd5
1 changed files with 1 additions and 1 deletions

View File

@ -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);