summaryrefslogtreecommitdiffstats
path: root/DOCS/man/options.rst
diff options
context:
space:
mode:
Diffstat (limited to 'DOCS/man/options.rst')
-rw-r--r--DOCS/man/options.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst
index 4066e606df..1a5bd637b7 100644
--- a/DOCS/man/options.rst
+++ b/DOCS/man/options.rst
@@ -4750,6 +4750,18 @@ The following video options are currently all specific to ``--vo=opengl`` and
This option might be silently removed in the future.
+``--opengl-shader-cache-dir=<dirname>``
+ Store and load compiled GL shaders in this directory. Normally, shader
+ compilation is very fast, so this is usually not needed. But some GL
+ implementations (notably ANGLE, the default on Windows) have relatively
+ slow shader compilation, and can cause startup delays.
+
+ NOTE: This is not cleaned automatically, so old, unused cache files may
+ stick around indefinitely.
+
+ This option might be silently removed in the future, if ANGLE fixes shader
+ compilation speed.
+
Miscellaneous
-------------