Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: src/gpu/GrAADistanceFieldPathRenderer.h

Issue 683923002: Distance field path optimizations and clean up. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase to ToT Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrAADistanceFieldPathRenderer.h
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.h b/src/gpu/GrAADistanceFieldPathRenderer.h
index 4c09f127c945f0f1020cf31bb24bf30260082c9a..9e51322bea5b9dc53771387a93cde97e0efbdebd 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,8 @@ private:
GrContext* fContext;
GrAtlas* fAtlas;
+ SkAutoTUnref<GrGeometryProcessor> fCachedGeometryProcessor;
robertphillips 2014/10/28 16:32:04 // The flags used to create the cached geometry pr
jvanverth1 2014/10/28 18:01:31 Done.
+ uint32_t fEffectFlags;
GrAtlas::ClientPlotUsage fPlotUsage;
SkTDynamicHash<PathData, uint32_t> fPathCache;
PathDataList fPathList;
« no previous file with comments | « no previous file | src/gpu/GrAADistanceFieldPathRenderer.cpp » ('j') | src/gpu/effects/GrDistanceFieldTextureEffect.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698