diff options
author | egdaniel <egdaniel@google.com> | 2015-02-17 07:34:43 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-02-17 07:34:43 -0800 |
commit | b197b8ff31b73ccb20423023e03592df8ae78ea6 (patch) | |
tree | 562ffa91d1f1d6f6a8fdac50eb86569a39cae163 /include/gpu/GrTypes.h | |
parent | d1371a6019189820653aaf20f72ee8f5d0ee3fef (diff) |
Use SkXfermode as public facing enum for GrPorterDuffXP
BUG=skia:
Review URL: https://codereview.chromium.org/926593005
Diffstat (limited to 'include/gpu/GrTypes.h')
-rw-r--r-- | include/gpu/GrTypes.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index 7532984ebe..7fbe432875 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -156,32 +156,6 @@ static inline bool GrIsPrimTypeTris(GrPrimitiveType type) { } /** - * Coeffecients for alpha-blending. - */ -enum GrBlendCoeff { - kInvalid_GrBlendCoeff = -1, - - kZero_GrBlendCoeff, //<! 0 - kOne_GrBlendCoeff, //<! 1 - kSC_GrBlendCoeff, //<! src color - kISC_GrBlendCoeff, //<! one minus src color - kDC_GrBlendCoeff, //<! dst color - kIDC_GrBlendCoeff, //<! one minus dst color - kSA_GrBlendCoeff, //<! src alpha - kISA_GrBlendCoeff, //<! one minus src alpha - kDA_GrBlendCoeff, //<! dst alpha - kIDA_GrBlendCoeff, //<! one minus dst alpha - kConstC_GrBlendCoeff, //<! constant color - kIConstC_GrBlendCoeff, //<! one minus constant color - kConstA_GrBlendCoeff, //<! constant color alpha - kIConstA_GrBlendCoeff, //<! one minus constant color alpha - - kFirstPublicGrBlendCoeff = kZero_GrBlendCoeff, - kLastPublicGrBlendCoeff = kIConstA_GrBlendCoeff, -}; -static const int kPublicGrBlendCoeffCount = kLastPublicGrBlendCoeff + 1; - -/** * Formats for masks, used by the font cache. * Important that these are 0-based. */ |