зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1313541 - ReadPixels webidl. - r=qdot
MozReview-Commit-ID: Ihq0JNEzLye
This commit is contained in:
Родитель
8dc5c5ed96
Коммит
e87ba8e403
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче