backends/drm: don't block direct scanout if color profile source isn't set to ICC
If there's a valid ICC profile loaded is irrelevant with a different color profile source
This commit is contained in:
parent
1f2e439b66
commit
ebffcd9dc4
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ bool EglGbmLayer::doAttemptScanout(GraphicsBuffer *buffer, const ColorDescriptio
|
|||
if (directScanoutDisabled) {
|
||||
return false;
|
||||
}
|
||||
if (m_pipeline->iccProfile()) {
|
||||
if (m_pipeline->output()->colorProfileSource() == Output::ColorProfileSource::ICC && !m_pipeline->output()->highDynamicRange() && m_pipeline->iccProfile()) {
|
||||
// TODO make the icc profile output a color pipeline too?
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue