Index: src/gpu/gl/GrGLGpu.h |
diff --git a/src/gpu/gl/GrGLGpu.h b/src/gpu/gl/GrGLGpu.h |
index 1ad519a5cee27902014fab469a165a0935b1c45d..39d565987d025ad9a5168dcf4ba6ae3e560fede0 100644 |
--- a/src/gpu/gl/GrGLGpu.h |
+++ b/src/gpu/gl/GrGLGpu.h |
@@ -99,7 +99,7 @@ public: |
const GrPrimitiveProcessor&, |
const GrPipeline&) const override; |
- // id and type (GL_ARRAY_BUFFER or GL_ELEMENT_ARRAY_BUFFER) of buffer to bind |
+ // id and type (GL_ARRAY_BUFFER, GL_ELEMENT_ARRAY_BUFFER, etc.) of buffer to bind |
void bindBuffer(GrGLuint id, GrGLenum type); |
void releaseBuffer(GrGLuint id, GrGLenum type); |
@@ -542,6 +542,11 @@ private: |
GrGLVertexArray* fVBOVertexArray; |
} fHWGeometryState; |
+ GrGLuint fHWBoundTextureBufferID; |
+ GrGLuint fHWBoundDrawIndirectBufferID; |
+ bool fHWBoundTextureBufferIDIsValid; |
+ bool fHWBoundDrawIndirectBufferIDIsValid; |
+ |
struct { |
GrBlendEquation fEquation; |
GrBlendCoeff fSrcCoeff; |