Skip to content

shaders/icc: lower lcms2 version dependency

Niklas Haas requested to merge lcms-version into master

This is a quick hack. In theory, we should replicate the logic from the function. Actually, in looking up its implementation, I realized that calling cmsDetectRGBProfileGamma multiple times is fairly wasteful, and we should re-use the generate tabulated tone curves instead.

Indeed, we should even re-use the cmsEstimateGamma result if possible, somehow.

Merge request reports

Loading