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:
parent
46c0383c14
commit
271c11e9dc
@ -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, ¶m);
|
||||
|
||||
@ -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, ¶m);
|
||||
|
||||
@ -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, ¶m);
|
||||
/*
|
||||
@ -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, ¶m);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user