frontend: default color-profile to auto:

Now that ICC<->parametric image description interoperability is
implemented, and the stock sRGB profile is parametric, we can change the
default to what it should be.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2026-01-26 16:54:29 +02:00 committed by Leandro Ribeiro
parent a5ffb96d23
commit 22db719484
2 changed files with 2 additions and 13 deletions

View file

@ -2113,13 +2113,7 @@ wet_output_set_color_profile(struct weston_output *output,
} else if (parent_winsys_profile) {
cprof = weston_color_profile_ref(parent_winsys_profile);
} else {
/*
* TODO: Once parametric color profiles are fully supported
* and interoperable with ICC profiles, the default profile
* would be created like this:
* cprof = wet_create_output_color_profile(output, wc, "auto:");
*/
return 0;
cprof = wet_create_output_color_profile(output, wc, "auto:");
}
if (!cprof)

View file

@ -583,11 +583,6 @@ on DRM, headless, wayland, and x11 backends, and for remoting and pipewire
outputs.
.TP 7
.BI "color-profile=" name
.B NOTE:
This feature is not fully implemented yet, and therefore it is not expected to
work.
Color profiles describe how the display is assumed to behave. Knowing the
display color behavior, Weston can adapt window contents to produce the
presumed appearance. The option
@ -605,7 +600,7 @@ section by referring to it by its
value. Alternatively this key can use one of the special profile names that
contain a colon (:).
The default, once implemented, will be
The default is
.BR "color-profile=auto:" .
The following special names are accepted: