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

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: Update to ToT; remove GrContext and use GrResourceProvider directly 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 | « no previous file | include/core/SkPathRef.h » ('j') | include/gpu/GrResourceKey.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 dc50ae76c317b1ad487da5470ecb6f73c7698bf6..f3aa1eab5bec075df92ec21dd15d44b6d9aae07e 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -1001,11 +1001,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()
bsalomon 2015/08/03 18:08:26 Why not just pass the listeners through the skpath
Stephen White 2015/08/03 18:54:41 I didn't want to put it on the SkPath, partly for
};
#endif
« no previous file with comments | « no previous file | include/core/SkPathRef.h » ('j') | include/gpu/GrResourceKey.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698