7c13c4a476
Initialize LittleCMS and use it to generate the sRGB EOTF and inverse curves. Use these curves to define the blending color space as optical (linear) sRGB by assuming that both content and output color spaces are sRGB. As a consequence, this causes Weston to do "gamma correct blending", as in, blend in light linear space which should avoid distorting colors in alpha gradients, when color-lcms is active. This makes use of the 3x1D LUT support added in gl-renderer earlier, and shows how the color manager is responsible for re-using existing color transformation objects. Co-authored-by: Vitaly Prosyak <vitaly.prosyak@amd.com> Signed-off-by: Vitaly Prosyak <vitaly.prosyak@amd.com> Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com> |
||
---|---|---|
.. | ||
color-lcms.c | ||
color-lcms.h | ||
color-transform.c | ||
meson.build |