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

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

Issue 820783005: More changes to bring together path / geo procs (Closed) Base URL: https://skia.googlesource.com/skia.git@lc1
Patch Set: dm fix Created 5 years, 11 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/GrOvalRenderer.cpp ('k') | src/gpu/effects/GrBezierEffect.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/effects/GrBezierEffect.h
diff --git a/src/gpu/effects/GrBezierEffect.h b/src/gpu/effects/GrBezierEffect.h
index 86f09bc58dc9c3c490319610ad40aa63207e4059..020286fddbf6e8e0e6460495e304d6bd0cb6001a 100644
--- a/src/gpu/effects/GrBezierEffect.h
+++ b/src/gpu/effects/GrBezierEffect.h
@@ -92,8 +92,8 @@ public:
const char* name() const SK_OVERRIDE { return "Conic"; }
- inline const GrAttribute* inPosition() const { return fInPosition; }
- inline const GrAttribute* inConicCoeffs() const { return fInConicCoeffs; }
+ inline const Attribute* inPosition() const { return fInPosition; }
+ inline const Attribute* inConicCoeffs() const { return fInConicCoeffs; }
inline bool isAntiAliased() const { return GrProcessorEdgeTypeIsAA(fEdgeType); }
inline bool isFilled() const { return GrProcessorEdgeTypeIsFill(fEdgeType); }
inline GrPrimitiveEdgeType getEdgeType() const { return fEdgeType; }
@@ -122,8 +122,8 @@ private:
uint8_t fCoverageScale;
GrPrimitiveEdgeType fEdgeType;
- const GrAttribute* fInPosition;
- const GrAttribute* fInConicCoeffs;
+ const Attribute* fInPosition;
+ const Attribute* fInConicCoeffs;
GR_DECLARE_GEOMETRY_PROCESSOR_TEST;
@@ -177,8 +177,8 @@ public:
const char* name() const SK_OVERRIDE { return "Quad"; }
- inline const GrAttribute* inPosition() const { return fInPosition; }
- inline const GrAttribute* inHairQuadEdge() const { return fInHairQuadEdge; }
+ inline const Attribute* inPosition() const { return fInPosition; }
+ inline const Attribute* inHairQuadEdge() const { return fInHairQuadEdge; }
inline bool isAntiAliased() const { return GrProcessorEdgeTypeIsAA(fEdgeType); }
inline bool isFilled() const { return GrProcessorEdgeTypeIsFill(fEdgeType); }
inline GrPrimitiveEdgeType getEdgeType() const { return fEdgeType; }
@@ -207,8 +207,8 @@ private:
uint8_t fCoverageScale;
GrPrimitiveEdgeType fEdgeType;
- const GrAttribute* fInPosition;
- const GrAttribute* fInHairQuadEdge;
+ const Attribute* fInPosition;
+ const Attribute* fInHairQuadEdge;
GR_DECLARE_GEOMETRY_PROCESSOR_TEST;
@@ -258,8 +258,8 @@ public:
const char* name() const SK_OVERRIDE { return "Cubic"; }
- inline const GrAttribute* inPosition() const { return fInPosition; }
- inline const GrAttribute* inCubicCoeffs() const { return fInCubicCoeffs; }
+ inline const Attribute* inPosition() const { return fInPosition; }
+ inline const Attribute* inCubicCoeffs() const { return fInCubicCoeffs; }
inline bool isAntiAliased() const { return GrProcessorEdgeTypeIsAA(fEdgeType); }
inline bool isFilled() const { return GrProcessorEdgeTypeIsFill(fEdgeType); }
inline GrPrimitiveEdgeType getEdgeType() const { return fEdgeType; }
@@ -286,8 +286,8 @@ private:
}
GrPrimitiveEdgeType fEdgeType;
- const GrAttribute* fInPosition;
- const GrAttribute* fInCubicCoeffs;
+ const Attribute* fInPosition;
+ const Attribute* fInCubicCoeffs;
GR_DECLARE_GEOMETRY_PROCESSOR_TEST;
« no previous file with comments | « src/gpu/GrOvalRenderer.cpp ('k') | src/gpu/effects/GrBezierEffect.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698