diff options
author | Josh Matthews <josh@joshmatthews.net> | 2025-01-06 13:37:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-06 18:37:35 +0000 |
commit | c43762faea97c24e6135f426fbde8224f261abf6 (patch) | |
tree | 94fdd8834416cc47a0d5676c9a50e56ea4b70d50 /components/shared/canvas | |
parent | 2575a0daf15a5bee3daed5190909c25c0382b85b (diff) | |
download | servo-c43762faea97c24e6135f426fbde8224f261abf6.tar.gz servo-c43762faea97c24e6135f426fbde8224f261abf6.zip |
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>
Diffstat (limited to 'components/shared/canvas')
-rw-r--r-- | components/shared/canvas/webgl.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/shared/canvas/webgl.rs b/components/shared/canvas/webgl.rs index 652d827fd24..4fb5691fd58 100644 --- a/components/shared/canvas/webgl.rs +++ b/components/shared/canvas/webgl.rs @@ -272,6 +272,7 @@ pub enum WebGLCommand { BindFramebuffer(u32, WebGLFramebufferBindingRequest), BindRenderbuffer(u32, Option<WebGLRenderbufferId>), BindTexture(u32, Option<WebGLTextureId>), + BlitFrameBuffer(i32, i32, i32, i32, i32, i32, i32, i32, u32, u32), DisableVertexAttribArray(u32), EnableVertexAttribArray(u32), FramebufferRenderbuffer(u32, u32, u32, Option<WebGLRenderbufferId>), |