Index: src/gpu/gl/GrGLProgram.h |
diff --git a/src/gpu/gl/GrGLProgram.h b/src/gpu/gl/GrGLProgram.h |
index b18b8ae31ddb6e8339eb9ae724e07cf6bbb59832..f0e03f821ac0a70870f188b2d69ffd2115a7bb43 100644 |
--- a/src/gpu/gl/GrGLProgram.h |
+++ b/src/gpu/gl/GrGLProgram.h |
@@ -61,6 +61,8 @@ public: |
*/ |
GrGLuint programID() const { return fProgramID; } |
+ bool hasVertexShader() const { return fHasVertexShader; } |
+ |
/** |
* Some GL state that is relevant to programs is not stored per-program. In particular color |
* and coverage attributes can be global state. This struct is read and updated by |
@@ -235,6 +237,9 @@ private: |
GrGLUniformManager fUniformManager; |
UniformHandles fUniformHandles; |
+ bool fHasVertexShader; |
+ int fNumTexGenUnits; |
+ |
typedef SkRefCnt INHERITED; |
}; |