Home | History | Annotate | Download | only in effects

Lines Matching refs:DstCoeff

74              GrBlendEquation BlendEquation, GrBlendCoeff SrcCoeff, GrBlendCoeff DstCoeff>
77 (GR_BLEND_MODIFIES_DST(BlendEquation, SrcCoeff, DstCoeff) ?
80 (GR_BLEND_COEFFS_USE_DST_COLOR(SrcCoeff, DstCoeff) ?
83 ((PrimaryOut >= kModulate_OutputType && GR_BLEND_COEFFS_USE_SRC_COLOR(SrcCoeff,DstCoeff)) ||
84 (SecondaryOut >= kModulate_OutputType && GR_BLEND_COEFF_REFS_SRC2(DstCoeff)) ?
89 GR_BLEND_CAN_TWEAK_ALPHA_FOR_COVERAGE(BlendEquation, SrcCoeff, DstCoeff) ?
94 !GR_BLEND_COEFFS_USE_SRC_COLOR(SrcCoeff, DstCoeff));
97 !GR_BLEND_COEFF_REFS_SRC2(DstCoeff));
175 * D' = f * (S * srcCoeff + D * dstCoeff) + (1-f) * D
179 * D' = f * S * srcCoeff + D * (1 - [f * (1 - dstCoeff)])
181 * To implement this formula, we output [f * (1 - dstCoeff)] for the secondary color and replace the
194 * D' = f * D * dstCoeff + (1-f) * D
198 * D' = D - D * [f * (1 - dstCoeff)]
200 * To implement this formula, we output [f * (1 - dstCoeff)] for the primary color and use a reverse