@ -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_search_param param = { } ;
struct cmlcms_color_transform * xform ;
struct cmlcms_color_transform * xform ;
/* TODO: take weston_output::eotf_mode into account */
setup_search_param ( CMLCMS_CATEGORY_INPUT_TO_BLEND , surface , output ,
setup_search_param ( CMLCMS_CATEGORY_INPUT_TO_BLEND , surface , output ,
cm - > sRGB_profile , & param ) ;
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_search_param param = { } ;
struct cmlcms_color_transform * xform ;
struct cmlcms_color_transform * xform ;
/* TODO: take weston_output::eotf_mode into account */
setup_search_param ( CMLCMS_CATEGORY_BLEND_TO_OUTPUT , NULL , output ,
setup_search_param ( CMLCMS_CATEGORY_BLEND_TO_OUTPUT , NULL , output ,
cm - > sRGB_profile , & param ) ;
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_search_param param = { } ;
struct cmlcms_color_transform * xform ;
struct cmlcms_color_transform * xform ;
/* TODO: take weston_output::eotf_mode into account */
setup_search_param ( CMLCMS_CATEGORY_INPUT_TO_OUTPUT , NULL , output ,
setup_search_param ( CMLCMS_CATEGORY_INPUT_TO_OUTPUT , NULL , output ,
cm - > sRGB_profile , & param ) ;
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_search_param param = { } ;
struct cmlcms_color_transform * xform ;
struct cmlcms_color_transform * xform ;
/* TODO: take weston_output::eotf_mode into account */
setup_search_param ( CMLCMS_CATEGORY_INPUT_TO_BLEND , NULL , output ,
setup_search_param ( CMLCMS_CATEGORY_INPUT_TO_BLEND , NULL , output ,
cm - > sRGB_profile , & param ) ;
cm - > sRGB_profile , & param ) ;