mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Add support for WebGL2 framebuffer invalidation
Adds support for the `invalidateFramebuffer` and `invalideSubFramebuffer` WebGL2 calls. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.4
This commit is contained in:
parent
d42835b238
commit
cc07d930c8
10 changed files with 127 additions and 148 deletions
|
@ -314,9 +314,9 @@ interface mixin WebGL2RenderingContextBase
|
|||
// GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
|
||||
// void framebufferTextureLayer(GLenum target, GLenum attachment, WebGLTexture? texture, GLint level,
|
||||
// GLint layer);
|
||||
// void invalidateFramebuffer(GLenum target, sequence<GLenum> attachments);
|
||||
// void invalidateSubFramebuffer(GLenum target, sequence<GLenum> attachments,
|
||||
// GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
void invalidateFramebuffer(GLenum target, sequence<GLenum> attachments);
|
||||
void invalidateSubFramebuffer(GLenum target, sequence<GLenum> attachments,
|
||||
GLint x, GLint y, GLsizei width, GLsizei height);
|
||||
// void readBuffer(GLenum src);
|
||||
|
||||
/* Renderbuffer objects */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue