mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
color_management_v1: implement set_luminances
Add support for set_luminances in parametric image description creators. Store explicit luminances in wlr_image_description_v1_data and use them in preference to default transfer-function luminances. Also send target_max_cll and target_max_fall when non-zero.
This commit is contained in:
parent
553eace76a
commit
e586b1ac9a
2 changed files with 57 additions and 6 deletions
|
|
@ -33,6 +33,8 @@ struct wlr_image_description_v1_data {
|
|||
|
||||
bool has_primaries;
|
||||
struct wlr_color_primaries primaries;
|
||||
bool has_luminances;
|
||||
struct wlr_color_luminances luminances;
|
||||
};
|
||||
|
||||
struct wlr_color_manager_v1_features {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue