Bug 1313541 - ReadPixels webidl. - r=qdot

MozReview-Commit-ID: Ihq0JNEzLye
This commit is contained in:
Jeff Gilbert (:jgilbert) 2016-10-10 15:34:04 -07:00
Родитель 8dc5c5ed96
Коммит e87ba8e403
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -320,13 +320,12 @@ interface WebGL2RenderingContext : WebGLRenderingContext
GLintptr writeOffset, GLsizeiptr size);
void getBufferSubData(GLenum target, GLintptr offset, ArrayBufferView dstData);
[Throws] /* Throws on readback in a write-only context. */
[Throws] // Throws on readback in a write-only context.
void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format,
GLenum type, GLintptr offset);
/* Include our WebGL 1 function override(s) */
[Throws]
[Throws] // Throws on readback in a write-only context.
void readPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format,
GLenum type, ArrayBufferView pixels);
GLenum type, ArrayBufferView dstData, optional GLuint dstOffset = 0);
/* Framebuffer objects */
void blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0,