Skip to content
Snippets Groups Projects

Gamma correct blending with sRGB

Merged Pekka Paalanen requested to merge pq/weston:mr/color-arch into main
All threads resolved!
Compare changes
  • Side-by-side
  • Inline
Files
5
  • 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: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
Loading