diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContext.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index bb661c90b7..8a18331d9c 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -680,6 +680,11 @@ public: void unlockStencilBuffer(GrResourceEntry* sbEntry); GrStencilBuffer* findStencilBuffer(int width, int height, int sampleCnt); + GrPathRenderer* getPathRenderer(const SkPath& path, + GrPathFill fill, + const GrDrawTarget* target, + bool antiAlias); + private: // used to keep track of when we need to flush the draw buffer enum DrawCategory { @@ -728,11 +733,6 @@ private: GrDrawTarget* prepareToDraw(const GrPaint& paint, DrawCategory drawType); - GrPathRenderer* getPathRenderer(const SkPath& path, - GrPathFill fill, - const GrDrawTarget* target, - bool antiAlias); - void internalDrawPath(const GrPaint& paint, const SkPath& path, GrPathFill fill, const GrPoint* translate); |