backends/drm: disable degamma_lut and ctm on NVidia
The NVidia driver maps them to hardware planes, which means they do not apply to the cursor because the cursor plane doesn't have these color operations. BUG: 491634
This commit is contained in:
parent
74c90b727f
commit
fe5db7f97d
1 changed files with 2 additions and 2 deletions
|
@ -55,11 +55,11 @@ bool DrmCrtc::updateProperties()
|
|||
m_postBlendingColorOps.push_back(std::make_unique<LegacyLutColorOp>(next, &gammaLut, gammaLutSize.value()));
|
||||
next = m_postBlendingColorOps.back().get();
|
||||
}
|
||||
if (ctm.isValid()) {
|
||||
if (!gpu()->isNVidia() && ctm.isValid()) {
|
||||
m_postBlendingColorOps.push_back(std::make_unique<LegacyMatrixColorOp>(next, &ctm));
|
||||
next = m_postBlendingColorOps.back().get();
|
||||
}
|
||||
if (degammaLut.isValid() && degammaLutSize.isValid() && degammaLutSize.value() > 0) {
|
||||
if (!gpu()->isNVidia() && degammaLut.isValid() && degammaLutSize.isValid() && degammaLutSize.value() > 0) {
|
||||
m_postBlendingColorOps.push_back(std::make_unique<LegacyLutColorOp>(next, °ammaLut, degammaLutSize.value()));
|
||||
next = m_postBlendingColorOps.back().get();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue