Chromium Code Reviews| Index: Source/modules/webgl/WebGL2RenderingContextBase.h |
| diff --git a/Source/modules/webgl/WebGL2RenderingContextBase.h b/Source/modules/webgl/WebGL2RenderingContextBase.h |
| index b0d5c2a32c57818d780fd28cc1e7b59ce53bb354..83c5fea9fd2bd3ec6323dd737b7b54283c846b63 100644 |
| --- a/Source/modules/webgl/WebGL2RenderingContextBase.h |
| +++ b/Source/modules/webgl/WebGL2RenderingContextBase.h |
| @@ -195,6 +195,13 @@ protected: |
| void texSubImage3DImpl(GLenum, GLint, GLint, GLint, GLint, GLenum, GLenum, Image*, WebGLImageConversion::ImageHtmlDomSource, bool, bool); |
| void samplerParameter(WebGLSampler*, GLenum, GLfloat, GLint, bool); |
| + bool isBufferBoundToTransformFeedback(WebGLBuffer*); |
| + bool isBufferBoundToNonTransformFeedback(WebGLBuffer*); |
| + bool validateBufferTargetCompatiblity(const char*, GLenum, WebGLBuffer*); |
|
Ken Russell (switch to Gerrit)
2015/09/04 20:51:32
typo: Compatiblity -> Compatibility
|
| + |
| + bool validateBufferBaseTarget(const char* functionName, GLenum target); |
| + bool validateAndUpdateBufferBindBaseTarget(const char* functionName, GLenum, GLuint, WebGLBuffer*); |
| + |
| /* WebGLRenderingContextBase overrides */ |
| unsigned getMaxWebGLLocationLength() const override { return 1024; }; |
| bool validateCapability(const char* functionName, GLenum) override; |
| @@ -226,6 +233,9 @@ protected: |
| PersistentWillBeMember<WebGLBuffer> m_boundTransformFeedbackBuffer; |
| PersistentWillBeMember<WebGLBuffer> m_boundUniformBuffer; |
| + PersistentHeapVectorWillBeHeapVector<Member<WebGLBuffer>> m_boundIndexedTransformFeedbackBuffers; |
| + PersistentHeapVectorWillBeHeapVector<Member<WebGLBuffer>> m_boundIndexedUniformBuffers; |
| + |
| PersistentWillBeMember<WebGLQuery> m_currentBooleanOcclusionQuery; |
| PersistentWillBeMember<WebGLQuery> m_currentTransformFeedbackPrimitivesWrittenQuery; |
| PersistentHeapVectorWillBeHeapVector<Member<WebGLSampler>> m_samplerUnits; |