mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 12:18:08 +02: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue