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

Unified Diff: src/gpu/GrPathRenderer.h

Issue 1087323002: Implement caching in the tessellating path renderer, including strokes. Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: NULL -> nullptr Created 5 years, 4 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
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrTessellatingPathRenderer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPathRenderer.h
diff --git a/src/gpu/GrPathRenderer.h b/src/gpu/GrPathRenderer.h
index e353d6876fc1669129a646864fea4adcfeef8f95..fb76dedff42b1727089b0508abe31f0655962351 100644
--- a/src/gpu/GrPathRenderer.h
+++ b/src/gpu/GrPathRenderer.h
@@ -144,6 +144,8 @@ public:
const SkPath* fPath;
const GrStrokeInfo* fStroke;
bool fAntiAlias;
+ const SkPath* fOrigSrcPath;
+ const GrStrokeInfo* fOrigStrokeInfo;
};
/**
@@ -290,6 +292,8 @@ private:
drawArgs.fPath = args.fPath;
drawArgs.fStroke = args.fStroke;
drawArgs.fAntiAlias = false;
+ drawArgs.fOrigSrcPath = nullptr;
+ drawArgs.fOrigStrokeInfo = nullptr;
this->drawPath(drawArgs);
}
« no previous file with comments | « src/gpu/GrDrawContext.cpp ('k') | src/gpu/GrTessellatingPathRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698