Index: src/gpu/GrAADistanceFieldPathRenderer.h |
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.h b/src/gpu/GrAADistanceFieldPathRenderer.h |
index 4c09f127c945f0f1020cf31bb24bf30260082c9a..40430bbd2ff47a403eda93881f2dd8c380d19748 100755 |
--- a/src/gpu/GrAADistanceFieldPathRenderer.h |
+++ b/src/gpu/GrAADistanceFieldPathRenderer.h |
@@ -21,11 +21,7 @@ class GrPlot; |
class GrAADistanceFieldPathRenderer : public GrPathRenderer { |
public: |
- GrAADistanceFieldPathRenderer(GrContext* context) |
- : fContext(context) |
- , fAtlas(NULL) { |
- } |
- |
+ GrAADistanceFieldPathRenderer(GrContext* context); |
virtual ~GrAADistanceFieldPathRenderer(); |
virtual bool canDrawPath(const SkPath& path, |
@@ -63,6 +59,9 @@ private: |
GrContext* fContext; |
GrAtlas* fAtlas; |
+ SkAutoTUnref<GrGeometryProcessor> fCachedGeometryProcessor; |
+ // current set of flags used to create the cached geometry processor |
+ uint32_t fEffectFlags; |
GrAtlas::ClientPlotUsage fPlotUsage; |
SkTDynamicHash<PathData, uint32_t> fPathCache; |
PathDataList fPathList; |