@ -55,11 +55,11 @@ bool DrmCrtc::updateProperties()
m_postBlendingColorOps . push_back ( std : : make_unique < LegacyLutColorOp > ( next , & gammaLut , gammaLutSize . value ( ) ) ) ;
m_postBlendingColorOps . push_back ( std : : make_unique < LegacyLutColorOp > ( next , & gammaLut , gammaLutSize . value ( ) ) ) ;
next = m_postBlendingColorOps . back ( ) . get ( ) ;
next = m_postBlendingColorOps . back ( ) . get ( ) ;
}
}
if ( ctm . isValid ( ) ) {
if ( ! gpu ( ) - > isNVidia ( ) & & ctm . isValid ( ) ) {
m_postBlendingColorOps . push_back ( std : : make_unique < LegacyMatrixColorOp > ( next , & ctm ) ) ;
m_postBlendingColorOps . push_back ( std : : make_unique < LegacyMatrixColorOp > ( next , & ctm ) ) ;
next = m_postBlendingColorOps . back ( ) . get ( ) ;
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 , & degammaLut , degammaLutSize . value ( ) ) ) ;
m_postBlendingColorOps . push_back ( std : : make_unique < LegacyLutColorOp > ( next , & degammaLut , degammaLutSize . value ( ) ) ) ;
next = m_postBlendingColorOps . back ( ) . get ( ) ;
next = m_postBlendingColorOps . back ( ) . get ( ) ;
}
}