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; } |