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

Unified Diff: src/gpu/gl/GrGLPath.h

Issue 400713003: Add a GrPathRange class (Closed) Base URL: https://skia.googlesource.com/skia.git@clupload-ispath
Patch Set: Fix more windows trivial warningswq Created 6 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/gl/GrGLPath.h
diff --git a/src/gpu/gl/GrGLPath.h b/src/gpu/gl/GrGLPath.h
index 3409547b2b06ac4d154fc8cdeb7017ffb6a96de3..4831b7250fe0e1fe85be866868171ad2f21b4913 100644
--- a/src/gpu/gl/GrGLPath.h
+++ b/src/gpu/gl/GrGLPath.h
@@ -13,6 +13,7 @@
#include "gl/GrGLFunctions.h"
class GrGpuGL;
+struct GrGLInterface;
/**
* Currently this represents a path built using GL_NV_path_rendering. If we
@@ -22,6 +23,11 @@ class GrGpuGL;
class GrGLPath : public GrPath {
public:
+ static void InitPathObject(const GrGLInterface*,
+ GrGLuint pathID,
+ const SkPath&,
+ const SkStrokeRec&);
+
GrGLPath(GrGpuGL* gpu, const SkPath& path, const SkStrokeRec& stroke);
virtual ~GrGLPath();
GrGLuint pathID() const { return fPathID; }

Powered by Google App Engine
This is Rietveld 408576698