diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-23 13:19:12 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-05-23 13:19:12 +0000 |
commit | 72176b2d38db005863a54e3dd6657bbabd068bb6 (patch) | |
tree | 8534886e5cbe2b06864048fd4ef787a063fdd5fa /include | |
parent | 87baf8985a6a88c2459fc9f9e61411995e0f4f69 (diff) |
Removed SoftwarePathRenderer from GrContext's path renderer chain
http://codereview.appspot.com/6221065/
git-svn-id: http://skia.googlecode.com/svn/trunk@4036 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include')
-rw-r--r-- | include/gpu/GrContext.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h index e05c48a8c4..c9c15dfcac 100644 --- a/include/gpu/GrContext.h +++ b/include/gpu/GrContext.h @@ -32,6 +32,7 @@ class GrResourceCache; class GrStencilBuffer; class GrVertexBuffer; class GrVertexBufferAllocPool; +class GrSoftwarePathRenderer; class GR_API GrContext : public GrRefCnt { public: @@ -695,7 +696,8 @@ public: GrPathRenderer* getPathRenderer(const SkPath& path, GrPathFill fill, const GrDrawTarget* target, - bool antiAlias); + bool antiAlias, + bool allowSW); private: // used to keep track of when we need to flush the draw buffer @@ -712,6 +714,7 @@ private: GrFontCache* fFontCache; GrPathRendererChain* fPathRendererChain; + GrSoftwarePathRenderer* fSoftwarePathRenderer; GrVertexBufferAllocPool* fDrawBufferVBAllocPool; GrIndexBufferAllocPool* fDrawBufferIBAllocPool; |