| Index: src/gpu/GrAAHairLinePathRenderer.h
|
| diff --git a/src/gpu/GrAAHairLinePathRenderer.h b/src/gpu/GrAAHairLinePathRenderer.h
|
| index 22cc876eab82755ab7f843191d7d4b456267f6e8..c5f64f5e8f281aeae119770a1e3fef857a62c037 100644
|
| --- a/src/gpu/GrAAHairLinePathRenderer.h
|
| +++ b/src/gpu/GrAAHairLinePathRenderer.h
|
| @@ -17,9 +17,10 @@ public:
|
|
|
| static GrPathRenderer* Create(GrContext* context);
|
|
|
| - 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;
|
|
|
| typedef SkTArray<SkPoint, true> PtArray;
|
| @@ -27,9 +28,10 @@ public:
|
| typedef SkTArray<float, true> FloatArray;
|
|
|
| protected:
|
| - 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:
|
| @@ -37,23 +39,25 @@ private:
|
| const GrIndexBuffer* fLinesIndexBuffer,
|
| const GrIndexBuffer* fQuadsIndexBuffer);
|
|
|
| - bool createLineGeom(const SkPath& path,
|
| - GrDrawTarget* target,
|
| - const PtArray& lines,
|
| - int lineCnt,
|
| + bool createLineGeom(GrDrawTarget* target,
|
| + GrDrawState*,
|
| GrDrawTarget::AutoReleaseGeometry* arg,
|
| - SkRect* devBounds);
|
| + SkRect* devBounds,
|
| + const SkPath& path,
|
| + const PtArray& lines,
|
| + int lineCnt);
|
|
|
| - bool createBezierGeom(const SkPath& path,
|
| - GrDrawTarget* target,
|
| + bool createBezierGeom(GrDrawTarget* target,
|
| + GrDrawState*,
|
| + GrDrawTarget::AutoReleaseGeometry* arg,
|
| + SkRect* devBounds,
|
| + const SkPath& path,
|
| const PtArray& quads,
|
| int quadCnt,
|
| const PtArray& conics,
|
| int conicCnt,
|
| const IntArray& qSubdivs,
|
| - const FloatArray& cWeights,
|
| - GrDrawTarget::AutoReleaseGeometry* arg,
|
| - SkRect* devBounds);
|
| + const FloatArray& cWeights);
|
|
|
| const GrIndexBuffer* fLinesIndexBuffer;
|
| const GrIndexBuffer* fQuadsIndexBuffer;
|
|
|