| Index: Source/core/html/canvas/WebGLRenderingContextBase.h
|
| diff --git a/Source/core/html/canvas/WebGLRenderingContextBase.h b/Source/core/html/canvas/WebGLRenderingContextBase.h
|
| index 0f6d7275e4c260c67cdaff6525afe92277df88d8..1a9f54898c4e21421e2dcb7d1a9ee37298b0d754 100644
|
| --- a/Source/core/html/canvas/WebGLRenderingContextBase.h
|
| +++ b/Source/core/html/canvas/WebGLRenderingContextBase.h
|
| @@ -862,6 +862,10 @@ protected:
|
| // the given format.
|
| bool validateCompressedTexSubDimensions(const char* functionName, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, WebGLTexture*);
|
|
|
| + // Helper function to validate that the image is attached to read buffer
|
| + // when reading from FBO (readPixels/copyTexImage2D/copyTexSubImage2D).
|
| + bool validateReadBufferAttachment(const char* functionName, const WebGLFramebuffer* readFramebufferBinding);
|
| +
|
| // Helper function to validate mode for draw{Arrays/Elements}.
|
| bool validateDrawMode(const char* functionName, GLenum);
|
|
|
|
|