cms-helper/static: Add "identity" builtin cms profile (v3)

Graphics / Wayland / Weston - Mario Kleiner [gmail.com] - 23 July 2015 14:29 UTC

Allows to force loading an identity gamma table if option icc_profile= is given in weston.ini for an output, ie., icc_profile= is specified to an empty assignment.

Some special display output devices, e.g., for neuro-science applications, and special display testing hardware need a guaranteed perfect pixel passthrough from framebuffer to output. This is an easy way to set this up for cms-static.

v2: Remove confusing/redundant weston_log debug output.
v3: Don't use the "identity" keyword to trigger this, but instead assignment of an empty string will trigger loading of an identity LUT. Suggested by Derek Foreman.

7e07db9 cms-helper/static: Add "identity" builtin cms profile (v3)
src/cms-static.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share