diff options
author | 2017-11-10 15:34:03 -0500 | |
---|---|---|
committer | 2017-11-13 14:36:40 +0000 | |
commit | aae47c878b83ab6d9742d92a6fa47e762f6b9204 (patch) | |
tree | fd13dbc1dc7c5dc36f8262099cf8ade55ec0cb47 /include/private/GrTypesPriv.h | |
parent | 2d9cb57c83553be3434c04f860d5e9fec30cb453 (diff) |
sksl enum support
Bug: skia:
Change-Id: I4d505b31cf8b59de12bcdbca410aafc085977ba9
Reviewed-on: https://skia-review.googlesource.com/68621
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Diffstat (limited to 'include/private/GrTypesPriv.h')
-rw-r--r-- | include/private/GrTypesPriv.h | 17 |
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) { |