mirror of
https://github.com/servo/servo.git
synced 2025-08-01 03:30:33 +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
|
@ -533,6 +533,8 @@ pub enum WebGLCommand {
|
|||
ClearBufferiv(u32, i32, Vec<i32>),
|
||||
ClearBufferuiv(u32, i32, Vec<u32>),
|
||||
ClearBufferfi(u32, i32, f32, i32),
|
||||
InvalidateFramebuffer(u32, Vec<u32>),
|
||||
InvalidateSubFramebuffer(u32, Vec<u32>, i32, i32, i32, i32),
|
||||
}
|
||||
|
||||
macro_rules! nonzero_type {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue