aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/private/GrTypesPriv.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/private/GrTypesPriv.h')
-rw-r--r--include/private/GrTypesPriv.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/include/private/GrTypesPriv.h b/include/private/GrTypesPriv.h
index 437664275c..cdfaed21be 100644
--- a/include/private/GrTypesPriv.h
+++ b/include/private/GrTypesPriv.h
@@ -11,6 +11,7 @@
#include <chrono>
#include "GrTypes.h"
#include "SkRefCnt.h"
+#include "GrSharedEnums.h"
class GrCaps;
@@ -643,22 +644,6 @@ enum class GrSLRestrict {
//////////////////////////////////////////////////////////////////////////////
-/**
- * We have coverage effects that clip rendering to the edge of some geometric primitive.
- * This enum specifies how that clipping is performed. Not all factories that take a
- * GrProcessorEdgeType will succeed with all values and it is up to the caller to check for
- * a NULL return.
- */
-enum class GrClipEdgeType {
- kFillBW,
- kFillAA,
- kInverseFillBW,
- kInverseFillAA,
- kHairlineAA,
-
- kLast = kHairlineAA
-};
-
static const int kGrClipEdgeTypeCnt = (int) GrClipEdgeType::kLast + 1;
static inline bool GrProcessorEdgeTypeIsFill(const GrClipEdgeType edgeType) {