From 1153f13bee03a312c5b2e00a42fdb289ef4cb421 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Wed, 29 Apr 2015 18:09:22 +0200 Subject: vo_opengl: gl_lcms: replace icc-cache by icc-cache-dir This now stores caches for multiple ICC profiles, potentially all the user has ever used. The big use case for this is for users with multiple monitors. The old logic would mandate recomputing the LUT and discarding the cache whenever dragging mpv from one screen to another. This also avoids having to save and check the ICC profile itself, since the file name already uniquely determines it. --- DOCS/man/vo.rst | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'DOCS') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index b398d4f57d..ead2f7b47e 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -669,11 +669,14 @@ Available video output drivers are: NOTE: Only implemented on OS X and X11 - ``icc-cache=`` - Store and load the 3D LUT created from the ICC profile in this file. + ``icc-cache-dir=`` + Store and load the 3D LUTs created from the ICC profile in this directory. This can be used to speed up loading, since LittleCMS 2 can take a while - to create the 3D LUT. Note that this file contains an uncompressed LUT. - Its size depends on the ``3dlut-size``, and can be very big. + to create a 3D LUT. Note that these files contain uncompressed LUTs. + Their size depends on the ``3dlut-size``, and can be very big. + + NOTE: This is not cleaned automatically, so old, unused cache files + may stick around indefinitely. ``icc-intent=`` Specifies the ICC intent used for the color transformation (when using -- cgit v1.2.3