Index: Source/modules/webgl/WebGLRenderingContextBase.idl |
diff --git a/Source/modules/webgl/WebGLRenderingContextBase.idl b/Source/modules/webgl/WebGLRenderingContextBase.idl |
index ad3c1b81635569b9403c3d6d2981ed2022995a47..c379f235b172bf8ac37e6b16d0c5cdef8d161bfe 100644 |
--- a/Source/modules/webgl/WebGLRenderingContextBase.idl |
+++ b/Source/modules/webgl/WebGLRenderingContextBase.idl |
@@ -598,6 +598,7 @@ typedef unrestricted float GLclampf; |
void polygonOffset(GLfloat factor, GLfloat units); |
void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView? pixels); |
+ void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLintptr offset); |
Zhenyao Mo
2015/08/17 17:02:47
No, you can't expose this to WebGL 1. It is a Web
yunchao
2015/08/18 02:30:00
In the implementation, we can directly return and
Ken Russell (switch to Gerrit)
2015/08/18 02:55:48
I'm not sure that this would be completely invisib
yunchao
2015/08/18 05:35:58
cross-class overloading is not allowed, it will al
|
void renderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); |
void sampleCoverage(GLclampf value, GLboolean invert); |