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

Unified Diff: src/gpu/GrTessellatingPathRenderer.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
Index: src/gpu/GrTessellatingPathRenderer.h
diff --git a/src/gpu/GrTessellatingPathRenderer.h b/src/gpu/GrTessellatingPathRenderer.h
index 79cafc99f520fe1a229bf52108528eda6657fd2f..4f0b638dd95bd8ff39b1eb87417afd81fc8dc1ed 100644
--- a/src/gpu/GrTessellatingPathRenderer.h
+++ b/src/gpu/GrTessellatingPathRenderer.h
@@ -16,7 +16,7 @@
*/
class SK_API GrTessellatingPathRenderer : public GrPathRenderer {
public:
- GrTessellatingPathRenderer();
+ explicit GrTessellatingPathRenderer(GrContext*);
bool canDrawPath(const GrDrawTarget*,
const GrPipelineBuilder*,
@@ -40,6 +40,8 @@ protected:
bool antiAlias) override;
typedef GrPathRenderer INHERITED;
+private:
+ GrContext* fContext;
};
#endif

Powered by Google App Engine
This is Rietveld 408576698