mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-07 10:48:05 +02:00
color-lcms: do not advertise saturation intent
Weston does not support the saturation rendering intent for parametric image descriptions yet. Not really, Weston would just do the same as media-relative with BPC does. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
63e58c47e4
commit
e9c388b5a1
3 changed files with 3 additions and 4 deletions
|
|
@ -523,9 +523,8 @@ weston_color_manager_create(struct weston_compositor *compositor)
|
|||
(1 << WESTON_COLOR_FEATURE_SET_MASTERING_DISPLAY_PRIMARIES) |
|
||||
(1 << WESTON_COLOR_FEATURE_EXTENDED_TARGET_VOLUME);
|
||||
|
||||
/* We support all rendering intents. */
|
||||
cm->base.supported_rendering_intents = (1 << WESTON_RENDER_INTENT_PERCEPTUAL) |
|
||||
(1 << WESTON_RENDER_INTENT_SATURATION) |
|
||||
/* (1 << WESTON_RENDER_INTENT_SATURATION) | */
|
||||
(1 << WESTON_RENDER_INTENT_ABSOLUTE) |
|
||||
(1 << WESTON_RENDER_INTENT_RELATIVE) |
|
||||
(1 << WESTON_RENDER_INTENT_RELATIVE_BPC);
|
||||
|
|
|
|||
|
|
@ -433,7 +433,7 @@ color_manager_get(struct client *client)
|
|||
test_assert_u32_eq(cm->supported_rendering_intents,
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_PERCEPTUAL) |
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_RELATIVE) |
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_SATURATION) |
|
||||
/* (1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_SATURATION) | */
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_ABSOLUTE) |
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_RELATIVE_BPC));
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ color_manager_get(struct client *client)
|
|||
test_assert_u32_eq(cm->supported_rendering_intents,
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_PERCEPTUAL) |
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_RELATIVE) |
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_SATURATION) |
|
||||
/* (1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_SATURATION) | */
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_ABSOLUTE) |
|
||||
(1 << WP_COLOR_MANAGER_V1_RENDER_INTENT_RELATIVE_BPC));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue