diff options
author | Dudemanguy <random342@airmail.cc> | 2023-07-04 14:48:03 -0500 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-07-04 22:14:43 +0000 |
commit | 48e0ee9979c2928edef813e64592217420dbd4a0 (patch) | |
tree | 00000f45448e793195de23317de1430b236d2ade /DOCS | |
parent | d6a690109022210b1196487e1509b940380bee6b (diff) | |
download | mpv-48e0ee9979c2928edef813e64592217420dbd4a0.tar.bz2 mpv-48e0ee9979c2928edef813e64592217420dbd4a0.tar.xz |
vo_gpu/vo_gpu_next: enable gpu shader and icc cache by default
4502522a7aee093c923e79a65e4684ea2634af30 changed the way mpv handled and
saved cached files. In particular, it made a separate boolean option for
actually enabling cache and left the *-dir options as purely just a path
(i.e. having a dir set didn't mean you save cache). This technically
regressed people's configs, so let's just turn the cache on by default.
Linux users already expect random stuff in ~/.cache and well everyone
else can just live with some files possibly appearing in their config
directory.
Diffstat (limited to 'DOCS')
-rw-r--r-- | DOCS/interface-changes.rst | 2 | ||||
-rw-r--r-- | DOCS/man/options.rst | 18 |
2 files changed, 11 insertions, 9 deletions
diff --git a/DOCS/interface-changes.rst b/DOCS/interface-changes.rst index 6fa814afff..0cbc4b6ea2 100644 --- a/DOCS/interface-changes.rst +++ b/DOCS/interface-changes.rst @@ -82,6 +82,8 @@ Interface changes - change `--slang` default from blank to `auto` - add `--input-cursor-passthrough` option to allow pointer events to completely passthrough the mpv window + - icc and gpu-shader cache are now saved by default (use --no-icc-shader-cache and + --no-gpu-shader-cache to disable) --- mpv 0.35.0 --- - add the `--vo=gpu-next` video output driver, as well as the options `--allow-delayed-peak-detect`, `--builtin-scalers`, diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index acdf098585..6a08a2d5b6 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -6720,10 +6720,10 @@ them. ``--icc-cache`` Store and load 3D LUTs created from the ICC profile on disk in the - cache directory. This can be used to speed up loading, since LittleCMS - 2 can take a while to create a 3D LUT. Note that these files contain - uncompressed LUTs. Their size depends on the ``--icc-3dlut-size``, and - can be very big. + cache directory (Default: ``yes``). This can be used to speed up loading, + since LittleCMS 2 can take a while to create a 3D LUT. Note that these + files contain uncompressed LUTs. Their size depends on the + ``--icc-3dlut-size``, and can be very big. NOTE: This is not cleaned automatically, so old, unused cache files may stick around indefinitely. @@ -6868,11 +6868,11 @@ them. This option might be silently removed in the future. ``--gpu-shader-cache`` - Store and load compiled GLSL shaders in the cache directory. Normally, shader - compilation is very fast, so this is not usually needed. It mostly matters - for GPU APIs that require internally recompiling shaders to other languages, - for example anything based on ANGLE or Vulkan. Enabling this can improve - startup performance on these platforms. + Store and load compiled GLSL shaders in the cache directory (Default: ``yes``). + Normally, shader compilation is very fast, so this is not usually needed. + It mostly matters for GPU APIs that require internally recompiling shaders to + other languages, for example anything based on ANGLE or Vulkan. Enabling this + can improve startup performance on these platforms. NOTE: This is not cleaned automatically, so old, unused cache files may stick around indefinitely. |