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

Unified Diff: src/gpu/GrAADistanceFieldPathRenderer.h

Issue 919693003: remove goto in Distance field path renderer (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 10 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 | « no previous file | src/gpu/GrAADistanceFieldPathRenderer.cpp » ('j') | src/gpu/GrAADistanceFieldPathRenderer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrAADistanceFieldPathRenderer.h
diff --git a/src/gpu/GrAADistanceFieldPathRenderer.h b/src/gpu/GrAADistanceFieldPathRenderer.h
index 994c1ebfb81925bb5e48f8deb99a73b9ff09c878..c145e2fe3f201b6ced83ed3cbc388c37db063dd6 100755
--- a/src/gpu/GrAADistanceFieldPathRenderer.h
+++ b/src/gpu/GrAADistanceFieldPathRenderer.h
@@ -83,6 +83,8 @@ private:
bool internalDrawPath(GrDrawTarget*, GrPipelineBuilder*, GrColor, const SkMatrix& viewMatrix,
const SkPath& path, const PathData* pathData);
+ inline bool uploadPath(GrPlot** plot, SkIPoint16* atlasLocation, int width, int height,
+ void* dfStorage);
PathData* addPathToAtlas(const SkPath& path, const SkStrokeRec& stroke, bool antiAlias,
uint32_t dimension, SkScalar scale);
bool freeUnusedPlot();
« no previous file with comments | « no previous file | src/gpu/GrAADistanceFieldPathRenderer.cpp » ('j') | src/gpu/GrAADistanceFieldPathRenderer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698