Index: third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h |
diff --git a/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h b/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h |
index bcf2d1b2ce804ec894bf4b07cdb4252f1025cfad..22f85b07de49313b14b1b6b7e01579f29b6912a6 100644 |
--- a/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h |
+++ b/third_party/WebKit/Source/modules/webgl/WebGLVertexArrayObjectBase.h |
@@ -33,6 +33,9 @@ public: |
WebGLBuffer* getArrayBufferForAttrib(size_t); |
void setArrayBufferForAttrib(GLuint, WebGLBuffer*); |
+ void setAttribEnabled(GLuint, bool); |
+ bool getAttribEnabled(GLuint); |
+ bool isAllEnabledAttribBufferBound(); |
void unbindBuffer(WebGLBuffer*); |
ScopedPersistent<v8::Array>* getPersistentCache(); |
@@ -54,6 +57,7 @@ private: |
bool m_destructionInProgress; |
Member<WebGLBuffer> m_boundElementArrayBuffer; |
HeapVector<Member<WebGLBuffer>> m_arrayBufferList; |
+ Vector<bool> m_attribEnabled; |
// For preserving the wrappers of WebGLBuffer objects latched in |
// via vertexAttribPointer calls. |