Lines Matching full:equation
77 * Given a known blend equation in the form of srcCoeff * srcColor + dstCoeff * dstColor where
171 template<GrBlendEquation Equation>
172 struct GrTBlendEquationIsAdvanced : skstd::bool_constant<Equation >= kFirstAdvancedGrBlendEquation> {};
174 #define GR_BLEND_EQUATION_IS_ADVANCED(EQUATION) \
175 GrTBlendEquationIsAdvanced<EQUATION>::value
177 inline bool GrBlendEquationIsAdvanced(GrBlendEquation equation) {
178 return equation >= kFirstAdvancedGrBlendEquation;
188 #define GR_BLEND_MODIFIES_DST(EQUATION, SRC_COEFF, DST_COEFF) \
189 GrTBlendModifiesDst<EQUATION, SRC_COEFF, DST_COEFF>::value
195 * For "add" and "reverse subtract" the blend equation with f=coverage is:
216 template<GrBlendEquation Equation, GrBlendCoeff SrcCoeff, GrBlendCoeff DstCoeff>
218 GR_BLEND_EQUATION_IS_ADVANCED(Equation) ||
219 ((kAdd_GrBlendEquation == Equation || kReverseSubtract_GrBlendEquation == Equation) &&
225 #define GR_BLEND_CAN_TWEAK_ALPHA_FOR_COVERAGE(EQUATION, SRC_COEFF, DST_COEFF) \
226 GrTBlendCanTweakAlphaForCoverage<EQUATION, SRC_COEFF, DST_COEFF>::value