Lines Matching refs:SkXfermode
27 bool GrCustomXfermode::IsSupportedMode(SkXfermode::Mode mode) { in IsSupportedMode()
28 return mode > SkXfermode::kLastCoeffMode && mode <= SkXfermode::kLastMode; in IsSupportedMode()
35 static GrBlendEquation hw_blend_equation(SkXfermode::Mode mode) { in hw_blend_equation()
36 enum { kOffset = kOverlay_GrBlendEquation - SkXfermode::kOverlay_Mode }; in hw_blend_equation()
39 GR_STATIC_ASSERT(kOverlay_GrBlendEquation == SkXfermode::kOverlay_Mode + kOffset); in hw_blend_equation()
40 GR_STATIC_ASSERT(kDarken_GrBlendEquation == SkXfermode::kDarken_Mode + kOffset); in hw_blend_equation()
41 GR_STATIC_ASSERT(kLighten_GrBlendEquation == SkXfermode::kLighten_Mode + kOffset); in hw_blend_equation()
42 GR_STATIC_ASSERT(kColorDodge_GrBlendEquation == SkXfermode::kColorDodge_Mode + kOffset); in hw_blend_equation()
43 GR_STATIC_ASSERT(kColorBurn_GrBlendEquation == SkXfermode::kColorBurn_Mode + kOffset); in hw_blend_equation()
44 GR_STATIC_ASSERT(kHardLight_GrBlendEquation == SkXfermode::kHardLight_Mode + kOffset); in hw_blend_equation()
45 GR_STATIC_ASSERT(kSoftLight_GrBlendEquation == SkXfermode::kSoftLight_Mode + kOffset); in hw_blend_equation()
46 GR_STATIC_ASSERT(kDifference_GrBlendEquation == SkXfermode::kDifference_Mode + kOffset); in hw_blend_equation()
47 GR_STATIC_ASSERT(kExclusion_GrBlendEquation == SkXfermode::kExclusion_Mode + kOffset); in hw_blend_equation()
48 GR_STATIC_ASSERT(kMultiply_GrBlendEquation == SkXfermode::kMultiply_Mode + kOffset); in hw_blend_equation()
49 GR_STATIC_ASSERT(kHSLHue_GrBlendEquation == SkXfermode::kHue_Mode + kOffset); in hw_blend_equation()
50 GR_STATIC_ASSERT(kHSLSaturation_GrBlendEquation == SkXfermode::kSaturation_Mode + kOffset); in hw_blend_equation()
51 GR_STATIC_ASSERT(kHSLColor_GrBlendEquation == SkXfermode::kColor_Mode + kOffset); in hw_blend_equation()
52 GR_STATIC_ASSERT(kHSLLuminosity_GrBlendEquation == SkXfermode::kLuminosity_Mode + kOffset); in hw_blend_equation()
53 GR_STATIC_ASSERT(kGrBlendEquationCnt == SkXfermode::kLastMode + 1 + kOffset); in hw_blend_equation()
80 CustomXP(SkXfermode::Mode mode, GrBlendEquation hwBlendEquation) in CustomXP()
86 CustomXP(const DstTexture* dstTexture, bool hasMixedSamples, SkXfermode::Mode mode) in CustomXP()
97 SkXfermode::Mode mode() const { return fMode; } in mode()
119 const SkXfermode::Mode fMode;
329 CustomXPFactory(SkXfermode::Mode mode);
351 SkXfermode::Mode fMode;
357 CustomXPFactory::CustomXPFactory(SkXfermode::Mode mode) in CustomXPFactory()
389 int mode = d->fRandom->nextRangeU(SkXfermode::kLastCoeffMode + 1, in TestCreate()
390 SkXfermode::kLastSeparableMode); in TestCreate()
392 return new CustomXPFactory(static_cast<SkXfermode::Mode>(mode)); in TestCreate()
397 GrXPFactory* GrCustomXfermode::CreateXPFactory(SkXfermode::Mode mode) { in CreateXPFactory()