| Index: third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
|
| index 3ab1aad20babffd691efbe1d197ef173b49c5bed..726ceb2162279fc9c87015c4ae519d98a825dd8b 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h
|
| @@ -36,8 +36,8 @@ public:
|
| void blitFramebuffer(GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLint, GLbitfield, GLenum);
|
| void framebufferTextureLayer(ScriptState*, GLenum, GLenum, WebGLTexture*, GLint, GLint);
|
| ScriptValue getInternalformatParameter(ScriptState*, GLenum, GLenum, GLenum);
|
| - void invalidateFramebuffer(GLenum, Vector<GLenum>&);
|
| - void invalidateSubFramebuffer(GLenum, Vector<GLenum>&, GLint, GLint, GLsizei, GLsizei);
|
| + void invalidateFramebuffer(GLenum, const Vector<GLenum>&);
|
| + void invalidateSubFramebuffer(GLenum, const Vector<GLenum>&, GLint, GLint, GLsizei, GLsizei);
|
| void readBuffer(GLenum);
|
|
|
| /* Renderbuffer objects */
|
| @@ -213,6 +213,8 @@ protected:
|
| void vertexAttribIivImpl(const char*, GLuint, const GLint*, GLsizei);
|
| void vertexAttribIuivImpl(const char*, GLuint, const GLuint*, GLsizei);
|
|
|
| + bool checkAndTranslateAttachments(const char* functionName, GLenum, const Vector<GLenum>&, Vector<GLenum>&);
|
| +
|
| /* WebGLRenderingContextBase overrides */
|
| unsigned getMaxWebGLLocationLength() const override { return 1024; };
|
| bool validateCapability(const char* functionName, GLenum) override;
|
|
|