mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add initial support for WebGL 2 BlitFramebuffer (#26389)
Add initial support for the WebGL2 BlitFramebuffer call. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Co-authored-by: Istvan <istvan.miklos@h-lab.eu>
This commit is contained in:
parent
2575a0daf1
commit
c43762faea
29 changed files with 1686 additions and 31 deletions
|
@ -295,8 +295,8 @@ interface mixin WebGL2RenderingContextBase
|
|||
optional GLuint dstOffset = 0, optional GLuint length = 0);
|
||||
|
||||
/* Framebuffer objects */
|
||||
// void blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0,
|
||||
// GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
||||
undefined blitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0,
|
||||
GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
||||
undefined framebufferTextureLayer(GLenum target, GLenum attachment, WebGLTexture? texture, GLint level,
|
||||
GLint layer);
|
||||
undefined invalidateFramebuffer(GLenum target, sequence<GLenum> attachments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue