Lines Matching refs:dstCoeff
92 static constexpr bool GrBlendCoeffsUseSrcColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) { in GrBlendCoeffsUseSrcColor() argument
93 return kZero_GrBlendCoeff != srcCoeff || GrBlendCoeffRefsSrc(dstCoeff); in GrBlendCoeffsUseSrcColor()
96 static constexpr bool GrBlendCoeffsUseDstColor(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff, in GrBlendCoeffsUseDstColor() argument
99 (dstCoeff != kZero_GrBlendCoeff && !(dstCoeff == kISA_GrBlendCoeff && srcColorIsOpaque)); in GrBlendCoeffsUseDstColor()
108 GrBlendCoeff dstCoeff) { in GrBlendModifiesDst() argument
110 kZero_GrBlendCoeff != srcCoeff || kOne_GrBlendCoeff != dstCoeff; in GrBlendModifiesDst()
118 GrBlendCoeff dstCoeff) { in GrBlendShouldDisable() argument
120 kOne_GrBlendCoeff == srcCoeff && kZero_GrBlendCoeff == dstCoeff; in GrBlendShouldDisable()
152 GrBlendCoeff dstCoeff) { in GrBlendAllowsCoverageAsAlpha() argument
154 !GrBlendModifiesDst(equation, srcCoeff, dstCoeff) || in GrBlendAllowsCoverageAsAlpha()
157 (kOne_GrBlendCoeff == dstCoeff || kISC_GrBlendCoeff == dstCoeff || in GrBlendAllowsCoverageAsAlpha()
158 kISA_GrBlendCoeff == dstCoeff)); in GrBlendAllowsCoverageAsAlpha()