mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-26 03:00:17 +01:00
color-lcms: shorten parametric profile description
Details are printed separately for logs and debugs, we don't need to clutter the (short) description with these. The name_part is already long enough for frontend-created automatic profiles. Client-created parametric profiles will be indistinguishable from each other, but we also don't log them anywhere. In debug prints, they are identified by id numbers and printed in detail. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
e75873d376
commit
e76da2ccd0
1 changed files with 1 additions and 4 deletions
|
|
@ -709,10 +709,7 @@ cmlcms_get_color_profile_from_params(struct weston_color_manager *cm_base,
|
|||
return true;
|
||||
}
|
||||
|
||||
str_printf(&desc, "Parametric (%s): %s primaries, %s transfer function",
|
||||
name_part,
|
||||
params->primaries_info ? params->primaries_info->desc : "custom",
|
||||
params->tf.info->desc);
|
||||
str_printf(&desc, "Parametric %s", name_part);
|
||||
|
||||
cprof = cmlcms_color_profile_alloc(cm, CMLCMS_PROFILE_TYPE_PARAMS, desc);
|
||||
*cprof->params = *params;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue