| Index: src/gpu/GrAADistanceFieldPathRenderer.h
|
| diff --git a/src/gpu/GrAADistanceFieldPathRenderer.h b/src/gpu/GrAADistanceFieldPathRenderer.h
|
| index c337016c0b4db13292e40a2d7398eba735892c60..e9a32dc07b6d0a8ff6dad29b4219f1d2e0d7fff1 100755
|
| --- a/src/gpu/GrAADistanceFieldPathRenderer.h
|
| +++ b/src/gpu/GrAADistanceFieldPathRenderer.h
|
| @@ -25,19 +25,22 @@ public:
|
| GrAADistanceFieldPathRenderer(GrContext* context);
|
| virtual ~GrAADistanceFieldPathRenderer();
|
|
|
| - virtual bool canDrawPath(const SkPath& path,
|
| - const SkStrokeRec& stroke,
|
| - const GrDrawTarget* target,
|
| + virtual bool canDrawPath(const GrDrawTarget*,
|
| + const GrDrawState*,
|
| + const SkPath&,
|
| + const SkStrokeRec&,
|
| bool antiAlias) const SK_OVERRIDE;
|
|
|
| protected:
|
| - virtual StencilSupport onGetStencilSupport(const SkPath&,
|
| - const SkStrokeRec&,
|
| - const GrDrawTarget*) const SK_OVERRIDE;
|
| + virtual StencilSupport onGetStencilSupport(const GrDrawTarget*,
|
| + const GrDrawState*,
|
| + const SkPath&,
|
| + const SkStrokeRec&) const SK_OVERRIDE;
|
|
|
| - virtual bool onDrawPath(const SkPath& path,
|
| - const SkStrokeRec& stroke,
|
| - GrDrawTarget* target,
|
| + virtual bool onDrawPath(GrDrawTarget*,
|
| + GrDrawState*,
|
| + const SkPath&,
|
| + const SkStrokeRec&,
|
| bool antiAlias) SK_OVERRIDE;
|
|
|
| private:
|
| @@ -76,7 +79,8 @@ private:
|
| SkTDynamicHash<PathData, PathData::Key> fPathCache;
|
| PathDataList fPathList;
|
|
|
| - bool internalDrawPath(const SkPath& path, const PathData* pathData, GrDrawTarget* target);
|
| + bool internalDrawPath(GrDrawTarget*, GrDrawState*, const SkPath& path,
|
| + const PathData* pathData);
|
| PathData* addPathToAtlas(const SkPath& path, const SkStrokeRec& stroke, bool antiAlias,
|
| uint32_t dimension, SkScalar scale);
|
| bool freeUnusedPlot();
|
|
|