Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: src/gpu/effects/GrRRectEffect.h

Issue 183893023: Unify edge type enums across GrEffect subclasses that clip rendering to a geometry. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: tot again Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/effects/GrConvexPolyEffect.cpp ('k') | src/gpu/effects/GrRRectEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrRRectEffect.h
diff --git a/src/gpu/effects/GrRRectEffect.h b/src/gpu/effects/GrRRectEffect.h
index aadd8c293ee8d886189edb8ef0947fd23573951a..45ac5f43cfbd0b641c7c62dbf6369462126a1a9b 100644
--- a/src/gpu/effects/GrRRectEffect.h
+++ b/src/gpu/effects/GrRRectEffect.h
@@ -9,25 +9,17 @@
#define GrRRectEffect_DEFINED
#include "GrTypes.h"
+#include "GrTypesPriv.h"
class GrEffectRef;
class SkRRect;
namespace GrRRectEffect {
- enum EdgeType {
- kFillAA_EdgeType,
- kInverseFillAA_EdgeType,
-
- kLastEdgeType = kInverseFillAA_EdgeType,
- };
-
- static const int kEdgeTypeCnt = kLastEdgeType + 1;
-
/**
* Creates an effect that performs anti-aliased clipping against a SkRRect. It doesn't support
* all varieties of SkRRect so the caller must check for a NULL return.
*/
- GrEffectRef* Create(EdgeType, const SkRRect&);
+ GrEffectRef* Create(GrEffectEdgeType, const SkRRect&);
};
#endif
« no previous file with comments | « src/gpu/effects/GrConvexPolyEffect.cpp ('k') | src/gpu/effects/GrRRectEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698