mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Impl copyTexImage2D and copyTexSubImage2D
Implement copyTexImage2D and copyTexSubImage2D for WebGLRenderingContext.
This commit is contained in:
parent
f1efeb00af
commit
867cd9be29
9 changed files with 365 additions and 131 deletions
|
@ -523,11 +523,13 @@ interface WebGLRenderingContextBase
|
|||
GLsizei width, GLsizei height, GLenum format,
|
||||
object data);
|
||||
|
||||
//void copyTexImage2D(GLenum target, GLint level, GLenum internalformat,
|
||||
// GLint x, GLint y, GLsizei width, GLsizei height,
|
||||
// GLint border);
|
||||
//void copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
||||
// GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.8
|
||||
void copyTexImage2D(GLenum target, GLint level, GLenum internalformat,
|
||||
GLint x, GLint y, GLsizei width, GLsizei height,
|
||||
GLint border);
|
||||
// https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.8
|
||||
void copyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset,
|
||||
GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
|
||||
WebGLBuffer? createBuffer();
|
||||
WebGLFramebuffer? createFramebuffer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue