color: add from sRGB to output color transformation
This is needed when drawing anything internal directly to an output,
like the borders/decorations in a nested compositor setup. This makes
the assumption that the internal stuff starts in sRGB, which should be
safe. As borders are never blended with other content, this should also
be sufficient.
This patch is a reminder that that path exists, rather than a real
implementation. To be implemented when someone needs it.
Signed-off-by:
Pekka Paalanen <pekka.paalanen@collabora.com>
parent
1d2eee20
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 2 additions, 0 deletionslibweston/renderer-gl/gl-renderer.c
Loading