mirror of https://github.com/mpv-player/mpv
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:
parent
47eae92c46
commit
d40e623fd5
|
@ -1671,7 +1671,7 @@ static int preinit(struct vo *vo)
|
||||||
if (gl_opts->shader_cache)
|
if (gl_opts->shader_cache)
|
||||||
cache_init(vo, &p->shader_cache, 10 << 20, gl_opts->shader_cache_dir);
|
cache_init(vo, &p->shader_cache, 10 << 20, gl_opts->shader_cache_dir);
|
||||||
if (gl_opts->icc_opts->cache)
|
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);
|
pl_gpu_set_cache(p->gpu, p->shader_cache.cache);
|
||||||
p->rr = pl_renderer_create(p->pllog, p->gpu);
|
p->rr = pl_renderer_create(p->pllog, p->gpu);
|
||||||
|
|
Loading…
Reference in New Issue