Lines Matching refs:srcCoeff
45 GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff)
49 , fSrcCoeff(srcCoeff)
51 , fProps(GetProperties(primaryOut, secondaryOut, equation, srcCoeff, dstCoeff)) {}
90 GrBlendCoeff srcCoeff() const {
184 static constexpr BlendFormula MakeCoeffFormula(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
186 return (kZero_GrBlendCoeff == srcCoeff &&
191 kAdd_GrBlendEquation, srcCoeff, dstCoeff);
198 static constexpr BlendFormula MakeSAModulateFormula(GrBlendCoeff srcCoeff, GrBlendCoeff dstCoeff) {
200 kAdd_GrBlendEquation, srcCoeff, dstCoeff);
206 * D' = f * (S * srcCoeff + D * dstCoeff) + (1-f) * D
210 * D' = f * S * srcCoeff + D * (1 - [f * (1 - dstCoeff)])
218 BlendFormula::OutputType oneMinusDstCoeffModulateOutput, GrBlendCoeff srcCoeff) {
220 kAdd_GrBlendEquation, srcCoeff, kIS2C_GrBlendCoeff);
246 * D' = f * S * srcCoeff + (1-f) * D
253 static constexpr BlendFormula MakeCoverageDstCoeffZeroFormula(GrBlendCoeff srcCoeff) {
255 kAdd_GrBlendEquation, srcCoeff, kIS2A_GrBlendCoeff);
396 blendInfo->fSrcBlend = fBlendFormula.srcCoeff();