mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 16:58:01 +02:00
color: add WESTON_COLOR_FEATURE_SET_LUMINANCES
This follows a recent change in the CM&HDR protocol (more specifically, v4 of the experimental version). Now clients can use the protocol to set luminance parameters for the primary color volume. Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
This commit is contained in:
parent
9ae0a7ec05
commit
9db8ad6ad1
2 changed files with 7 additions and 0 deletions
|
|
@ -70,6 +70,12 @@ static const struct weston_color_feature_info color_feature_info_table[] = {
|
|||
"request from the CM&HDR protocol extension",
|
||||
.protocol_feature = XX_COLOR_MANAGER_V4_FEATURE_SET_TF_POWER,
|
||||
},
|
||||
{
|
||||
.feature = WESTON_COLOR_FEATURE_SET_LUMINANCES,
|
||||
.desc = "Allow clients to use the parametric set_luminances " \
|
||||
"request from the CM&HDR protocol extension",
|
||||
.protocol_feature = XX_COLOR_MANAGER_V4_FEATURE_SET_LUMINANCES,
|
||||
},
|
||||
{
|
||||
.feature = WESTON_COLOR_FEATURE_SET_MASTERING_DISPLAY_PRIMARIES,
|
||||
.desc = "Allow clients to use the parametric " \
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ enum weston_color_feature {
|
|||
WESTON_COLOR_FEATURE_PARAMETRIC,
|
||||
WESTON_COLOR_FEATURE_SET_PRIMARIES,
|
||||
WESTON_COLOR_FEATURE_SET_TF_POWER,
|
||||
WESTON_COLOR_FEATURE_SET_LUMINANCES,
|
||||
WESTON_COLOR_FEATURE_SET_MASTERING_DISPLAY_PRIMARIES,
|
||||
WESTON_COLOR_FEATURE_EXTENDED_TARGET_VOLUME,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue