color: add from sRGB to blending color transformation
This is needed when the compositor produces any content internally:
- the lines in triangle fan debug
- the censoring color fill (unmet HDCP requirements)
Solid color surfaces do not need this special-casing because
weston_surface is supposed to carry color space information, which will
get used in gl_shader_config_init_for_view().
This makes sure the internally produced graphics fit in, e.g on a
monitor in HDR mode.
For now, just ensure there is an identity transformation. Actual
implementations in GL-renderer will follow later.
Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
parent
cda3951a
No related branches found
No related tags found
Showing
- include/libweston/libweston.h 1 addition, 0 deletionsinclude/libweston/libweston.h
- libweston/color-noop.c 15 additions, 0 deletionslibweston/color-noop.c
- libweston/color.h 16 additions, 0 deletionslibweston/color.h
- libweston/compositor.c 4 additions, 0 deletionslibweston/compositor.c
- libweston/renderer-gl/gl-renderer.c 3 additions, 0 deletionslibweston/renderer-gl/gl-renderer.c
Loading
Please register or sign in to comment