backends/drm: do blending in gamma 2.2 space with color management too
This matches what we do without color management, and is more what users and app developers expect. Going with linear blending before was mostly from it being more "correct" / how physical blending of light works, but that doesn't really matter when existing software expects it to behave differently. BUG: 476868 CCBUG: 479755
This commit is contained in:
parent
5b86dba6bf
commit
f20ccabe80
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ std::optional<OutputLayerBeginFrameInfo> EglGbmLayerSurface::startRendering(cons
|
|||
m_surface->iccShader.reset();
|
||||
}
|
||||
if (enableColormanagement) {
|
||||
m_surface->intermediaryColorDescription = ColorDescription(colorDescription.containerColorimetry(), TransferFunction::linear,
|
||||
m_surface->intermediaryColorDescription = ColorDescription(colorDescription.containerColorimetry(), TransferFunction::gamma22,
|
||||
colorDescription.referenceLuminance(), colorDescription.minLuminance(),
|
||||
colorDescription.maxAverageLuminance(), colorDescription.maxHdrLuminance(),
|
||||
colorDescription.containerColorimetry(), colorDescription.sdrColorimetry());
|
||||
|
|
Loading…
Reference in a new issue