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

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: Integrated cache invalidation based on SkPath GenID change 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') | src/gpu/GrTessellatingPathRenderer.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..d88e080d173732688be4a21cff03543ee6eaee4d 100644
--- a/include/core/SkPath.h
+++ b/include/core/SkPath.h
@@ -919,6 +919,8 @@ public:
SkDEBUGCODE(void validate() const;)
SkDEBUGCODE(void experimentalValidateRef() const { fPathRef->validate(); } )
+ SkPathRef* pathRef() const { return fPathRef; }
+
private:
enum SerializationOffsets {
// 1 free bit at 29
« no previous file with comments | « no previous file | include/core/SkPathRef.h » ('j') | src/gpu/GrTessellatingPathRenderer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698