| Index: src/gpu/GrTessellator.h
|
| diff --git a/src/gpu/GrTessellator.h b/src/gpu/GrTessellator.h
|
| index dd92015cc2a6d4a3d57b3bbb600c479da67c81f1..7cc4311aa575f1e4df2e818e34a831066033aadb 100644
|
| --- a/src/gpu/GrTessellator.h
|
| +++ b/src/gpu/GrTessellator.h
|
| @@ -8,7 +8,6 @@
|
| #ifndef GrTessellator_DEFINED
|
| #define GrTessellator_DEFINED
|
|
|
| -#include "GrColor.h"
|
| #include "SkPoint.h"
|
|
|
| class SkPath;
|
| @@ -24,13 +23,9 @@
|
|
|
| class VertexAllocator {
|
| public:
|
| - VertexAllocator(size_t stride) : fStride(stride) {}
|
| virtual ~VertexAllocator() {}
|
| - virtual void* lock(int vertexCount) = 0;
|
| + virtual SkPoint* lock(int vertexCount) = 0;
|
| virtual void unlock(int actualCount) = 0;
|
| - size_t stride() const { return fStride; }
|
| -private:
|
| - size_t fStride;
|
| };
|
|
|
| struct WindingVertex {
|
| @@ -45,9 +40,8 @@
|
| int PathToVertices(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds,
|
| WindingVertex** verts);
|
|
|
| -int PathToTriangles(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds,
|
| - VertexAllocator*, bool antialias, const GrColor& color,
|
| - bool canTweakAlphaForCoverage, bool *isLinear);
|
| +int PathToTriangles(const SkPath& path, SkScalar tolerance, const SkRect& clipBounds,
|
| + VertexAllocator*, bool *isLinear);
|
| }
|
|
|
| #endif
|
|
|