aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrTypes.h
diff options
context:
space:
mode:
authorGravatar egdaniel <egdaniel@google.com>2015-02-17 07:34:43 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-02-17 07:34:43 -0800
commitb197b8ff31b73ccb20423023e03592df8ae78ea6 (patch)
tree562ffa91d1f1d6f6a8fdac50eb86569a39cae163 /include/gpu/GrTypes.h
parentd1371a6019189820653aaf20f72ee8f5d0ee3fef (diff)
Use SkXfermode as public facing enum for GrPorterDuffXP
Diffstat (limited to 'include/gpu/GrTypes.h')
-rw-r--r--include/gpu/GrTypes.h26
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.
*/