color-lcms: todo for eotf_mode

A reminder that this variable needs to be taken into account when
crafting color transformations.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2021-07-12 14:27:55 +03:00 committed by Pekka Paalanen
parent 46c0383c14
commit 271c11e9dc

View File

@ -102,6 +102,8 @@ cmlcms_get_surface_color_transform(struct weston_color_manager *cm_base,
struct cmlcms_color_transform_search_param param = {};
struct cmlcms_color_transform *xform;
/* TODO: take weston_output::eotf_mode into account */
setup_search_param(CMLCMS_CATEGORY_INPUT_TO_BLEND, surface, output,
cm->sRGB_profile, &param);
@ -132,6 +134,8 @@ cmlcms_get_output_color_transform(struct weston_color_manager *cm_base,
struct cmlcms_color_transform_search_param param = {};
struct cmlcms_color_transform *xform;
/* TODO: take weston_output::eotf_mode into account */
setup_search_param(CMLCMS_CATEGORY_BLEND_TO_OUTPUT, NULL, output,
cm->sRGB_profile, &param);
@ -152,6 +156,8 @@ cmlcms_get_sRGB_to_output_color_transform(struct weston_color_manager *cm_base,
struct cmlcms_color_transform_search_param param = {};
struct cmlcms_color_transform *xform;
/* TODO: take weston_output::eotf_mode into account */
setup_search_param(CMLCMS_CATEGORY_INPUT_TO_OUTPUT, NULL, output,
cm->sRGB_profile, &param);
/*
@ -179,6 +185,8 @@ cmlcms_get_sRGB_to_blend_color_transform(struct weston_color_manager *cm_base,
struct cmlcms_color_transform_search_param param = {};
struct cmlcms_color_transform *xform;
/* TODO: take weston_output::eotf_mode into account */
setup_search_param(CMLCMS_CATEGORY_INPUT_TO_BLEND, NULL, output,
cm->sRGB_profile, &param);