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

Unified Diff: include/core/SkPath.h

Issue 1114353004: Implement vertex buffer caching in the tessellated path renderer. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Make SkPath::pathRef() private; use friendship for access. Created 5 years, 5 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 | include/core/SkPathRef.h » ('j') | include/core/SkPathRef.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPath.h
diff --git a/include/core/SkPath.h b/include/core/SkPath.h
index fe89766558c4ab5be1710f10f17d6ddc7f8b843b..f534c63b872d0ecb1c43af9c8f68d806b90b23b2 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -1000,11 +1000,14 @@ private:
void setPt(int index, SkScalar x, SkScalar y);
+ SkPathRef* pathRef() const { return fPathRef; }
+
friend class SkAutoPathBoundsUpdate;
friend class SkAutoDisableOvalCheck;
friend class SkAutoDisableDirectionCheck;
friend class SkBench_AddPathTest; // perf test reversePathTo
friend class PathTest_Private; // unit test reversePathTo
+ friend class TessellatingPathBatch; // for pathRef()
};
#endif
« no previous file with comments | « no previous file | include/core/SkPathRef.h » ('j') | include/core/SkPathRef.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698