| Index: Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.cpp b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| index 81550c6b5c79f743e923a2ce6fb6608fa4b07017..45bbd0712ad5ebfd4ce5de60fac92a901a005fd6 100644
|
| --- a/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| +++ b/Source/core/html/canvas/WebGLRenderingContextBase.cpp
|
| @@ -76,6 +76,7 @@
|
| #include "core/html/canvas/WebGLSharedWebGraphicsContext3D.h"
|
| #include "core/html/canvas/WebGLTexture.h"
|
| #include "core/html/canvas/WebGLUniformLocation.h"
|
| +#include "core/html/canvas/WebGLVertexArrayObjectOES.h"
|
| #include "core/inspector/ConsoleMessage.h"
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/layout/LayoutBox.h"
|
| @@ -723,7 +724,7 @@ void WebGLRenderingContextBase::initializeNewContext()
|
|
|
| m_backDrawBuffer = GL_BACK;
|
|
|
| - m_defaultVertexArrayObject = WebGLVertexArrayObjectOES::create(this, WebGLVertexArrayObjectOES::VaoTypeDefault);
|
| + m_defaultVertexArrayObject = WebGLVertexArrayObjectOES::create(this, WebGLVertexArrayObjectImpl::VaoTypeDefault);
|
| addContextObject(m_defaultVertexArrayObject.get());
|
| m_boundVertexArrayObject = m_defaultVertexArrayObject;
|
|
|
| @@ -1869,7 +1870,7 @@ void WebGLRenderingContextBase::disableVertexAttribArray(GLuint index)
|
| return;
|
| }
|
|
|
| - WebGLVertexArrayObjectOES::VertexAttribState* state = m_boundVertexArrayObject->getVertexAttribState(index);
|
| + WebGLVertexArrayObjectImpl::VertexAttribState* state = m_boundVertexArrayObject->getVertexAttribState(index);
|
| state->enabled = false;
|
|
|
| webContext()->disableVertexAttribArray(index);
|
| @@ -1981,7 +1982,7 @@ void WebGLRenderingContextBase::enableVertexAttribArray(GLuint index)
|
| return;
|
| }
|
|
|
| - WebGLVertexArrayObjectOES::VertexAttribState* state = m_boundVertexArrayObject->getVertexAttribState(index);
|
| + WebGLVertexArrayObjectImpl::VertexAttribState* state = m_boundVertexArrayObject->getVertexAttribState(index);
|
| state->enabled = true;
|
|
|
| webContext()->enableVertexAttribArray(index);
|
| @@ -3052,7 +3053,7 @@ ScriptValue WebGLRenderingContextBase::getVertexAttrib(ScriptState* scriptState,
|
| synthesizeGLError(GL_INVALID_VALUE, "getVertexAttrib", "index out of range");
|
| return ScriptValue::createNull(scriptState);
|
| }
|
| - const WebGLVertexArrayObjectOES::VertexAttribState* state = m_boundVertexArrayObject->getVertexAttribState(index);
|
| + const WebGLVertexArrayObjectImpl::VertexAttribState* state = m_boundVertexArrayObject->getVertexAttribState(index);
|
|
|
| if ((extensionEnabled(ANGLEInstancedArraysName) || isWebGL2OrHigher())
|
| && pname == GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE)
|
|
|