mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-10-01 19:52:53 +00:00
backend-headless: support all colorimetry modes
The headless backend does not display to anything, so it doesn't care what the colorimetry mode is. To allow testing compositor internal behavior, claim to support all colorimetry modes. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
parent
a7a47503f1
commit
ea91d595dc
|
@ -489,6 +489,8 @@ headless_head_create(struct weston_backend *base,
|
|||
weston_head_set_connection_status(&head->base, true);
|
||||
weston_head_set_supported_eotf_mask(&head->base,
|
||||
WESTON_EOTF_MODE_ALL_MASK);
|
||||
weston_head_set_supported_colorimetry_mask(&head->base,
|
||||
WESTON_COLORIMETRY_MODE_ALL_MASK);
|
||||
|
||||
/* Ideally all attributes of the head would be set here, so that the
|
||||
* user has all the information when deciding to create outputs.
|
||||
|
|
Loading…
Reference in a new issue