summaryrefslogtreecommitdiff
path: root/libweston/backend-fbdev
diff options
context:
space:
mode:
authorPekka Paalanen <pekka.paalanen@collabora.com>2021-06-08 14:17:44 +0300
committerPekka Paalanen <pq@iki.fi>2021-11-23 09:23:05 +0000
commit9a9e6ced1b6b7b4ae547b38de34abf0ae0d2a886 (patch)
tree773e236c4ea285fe1486294f88943bfd25431a4f /libweston/backend-fbdev
parent9a0aa37edd1774d05c2c639db74b4e7150e74703 (diff)
downloadweston-9a9e6ced1b6b7b4ae547b38de34abf0ae0d2a886.tar.gz
libweston: add weston_output::color_profile
Add API to set an output's color profile. This new function can also be called while the output is enabled. This allows changing the output color profile even at runtime if desired. color-noop has no way of creating weston_color_profile objects, so it just asserts that no color profile is set. color-lcms does not yet implement taking the output color profile into account, so for now it just fails everything if a profile is set. weston_surface_color_transform_fini() was previously used only prior to freeing the struct, but now it is used also to just clear the struct, hence it needs to reset the fields. Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
Diffstat (limited to 'libweston/backend-fbdev')
0 files changed, 0 insertions, 0 deletions