aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrPathRendererChain.h
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-27 12:34:25 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-10-27 12:34:25 +0000
commit289533ada623f2238a83771eec977f204f75994f (patch)
treeb56c821eebf2b758425d4b731e9619da0cc35e13 /src/gpu/GrPathRendererChain.h
parent1e7281675dad0d3c18986c178b995a5c1154cc16 (diff)
Don't use GrDrawTarget's AA state bit to convey whether to do custom-aa
Review URL: http://codereview.appspot.com/5314061/ git-svn-id: http://skia.googlecode.com/svn/trunk@2539 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrPathRendererChain.h')
-rw-r--r--src/gpu/GrPathRendererChain.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gpu/GrPathRendererChain.h b/src/gpu/GrPathRendererChain.h
index 5719484921..8f95ea3059 100644
--- a/src/gpu/GrPathRendererChain.h
+++ b/src/gpu/GrPathRendererChain.h
@@ -10,11 +10,12 @@
#ifndef GrPathRendererChain_DEFINED
#define GrPathRendererChain_DEFINED
+#include "GrDrawTarget.h"
#include "GrRefCnt.h"
#include "SkTArray.h"
class GrContext;
-class GrDrawTarget;
+
class SkPath;
class GrPathRenderer;
@@ -39,9 +40,10 @@ public:
// takes a ref and unrefs in destructor
GrPathRenderer* addPathRenderer(GrPathRenderer* pr);
- GrPathRenderer* getPathRenderer(const GrDrawTarget* target,
+ GrPathRenderer* getPathRenderer(const GrDrawTarget::Caps& targetCaps,
const SkPath& path,
- GrPathFill fill);
+ GrPathFill fill,
+ bool antiAlias);
private: