Home | History | Annotate | Download | only in gpu

Lines Matching refs:Coeff

90 template<GrBlendCoeff Coeff>
91 struct GrTBlendCoeffRefsSrc : skstd::bool_constant<kSC_GrBlendCoeff == Coeff ||
92 kISC_GrBlendCoeff == Coeff ||
93 kSA_GrBlendCoeff == Coeff ||
94 kISA_GrBlendCoeff == Coeff> {};
96 #define GR_BLEND_COEFF_REFS_SRC(COEFF) \
97 GrTBlendCoeffRefsSrc<COEFF>::value
99 inline bool GrBlendCoeffRefsSrc(GrBlendCoeff coeff) {
100 switch (coeff) {
111 template<GrBlendCoeff Coeff>
112 struct GrTBlendCoeffRefsDst : skstd::bool_constant<kDC_GrBlendCoeff == Coeff ||
113 kIDC_GrBlendCoeff == Coeff ||
114 kDA_GrBlendCoeff == Coeff ||
115 kIDA_GrBlendCoeff == Coeff> {};
117 #define GR_BLEND_COEFF_REFS_DST(COEFF) \
118 GrTBlendCoeffRefsDst<COEFF>::value
120 inline bool GrBlendCoeffRefsDst(GrBlendCoeff coeff) {
121 switch (coeff) {
133 template<GrBlendCoeff Coeff>
134 struct GrTBlendCoeffRefsSrc2 : skstd::bool_constant<kS2C_GrBlendCoeff == Coeff ||
135 kIS2C_GrBlendCoeff == Coeff ||
136 kS2A_GrBlendCoeff == Coeff ||
137 kIS2A_GrBlendCoeff == Coeff> {};
139 #define GR_BLEND_COEFF_REFS_SRC2(COEFF) \
140 GrTBlendCoeffRefsSrc2<COEFF>::value
142 inline bool GrBlendCoeffRefsSrc2(GrBlendCoeff coeff) {
143 switch (coeff) {