| Index: Source/core/html/canvas/WebGL2RenderingContextBase.h
|
| diff --git a/Source/core/html/canvas/WebGL2RenderingContextBase.h b/Source/core/html/canvas/WebGL2RenderingContextBase.h
|
| index 5d005ddce0fe293d3aecce8fdad8204067d5dd73..aa5bf20af669969273e7ecaa7cc9fc01910c383a 100644
|
| --- a/Source/core/html/canvas/WebGL2RenderingContextBase.h
|
| +++ b/Source/core/html/canvas/WebGL2RenderingContextBase.h
|
| @@ -167,9 +167,15 @@ public:
|
|
|
| DECLARE_VIRTUAL_TRACE();
|
|
|
| + ScriptValue getFramebufferAttachmentParameter(ScriptState*, GLenum target, GLenum attachment, GLenum pname) override;
|
| +
|
| protected:
|
| WebGL2RenderingContextBase(HTMLCanvasElement*, PassOwnPtr<blink::WebGraphicsContext3D>, const WebGLContextAttributes& requestedAttributes);
|
|
|
| + // Helper function to validate target and the attachment combination for getFramebufferAttachmentParameters.
|
| + // Generate GL error and return false if parameters are illegal.
|
| + bool validateGetFramebufferAttachmentParameterFunc(const char* functionName, GLenum target, GLenum attachment);
|
| +
|
| bool validateClearBuffer(const char* functionName, GLenum buffer, GLsizei length);
|
|
|
| ScriptValue getInt64Parameter(ScriptState*, GLenum);
|
|
|