diff options
author | Istvan <istvan.miklos@h-lab.eu> | 2020-03-27 15:56:19 +0100 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2020-04-07 15:01:39 -0400 |
commit | 62f00df79d8945e43c42a6100d87faefa1aa04e0 (patch) | |
tree | 81240c9653149649eb1dd40b90c7dc4da18d73e7 /components/canvas_traits/webgl.rs | |
parent | 5a26190fc9cb4b5ff3f4bf57cf1a88243c732e9e (diff) | |
download | servo-62f00df79d8945e43c42a6100d87faefa1aa04e0.tar.gz servo-62f00df79d8945e43c42a6100d87faefa1aa04e0.zip |
Add initial support for VertexAttribI4*, VertexAttribIPointer
Adds initial support for the WebGL2 `VertexAttribI4i`, `VertexAttribI4iv`, `VertexAttribI4ui`, `VertexAttribI4uiv` and `VertexAttribIPointer` calls.
Diffstat (limited to 'components/canvas_traits/webgl.rs')
-rw-r--r-- | components/canvas_traits/webgl.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/canvas_traits/webgl.rs b/components/canvas_traits/webgl.rs index 0b08e12925c..acfadc0eda1 100644 --- a/components/canvas_traits/webgl.rs +++ b/components/canvas_traits/webgl.rs @@ -387,6 +387,8 @@ pub enum WebGLCommand { UseProgram(Option<WebGLProgramId>), ValidateProgram(WebGLProgramId), VertexAttrib(u32, f32, f32, f32, f32), + VertexAttribI(u32, i32, i32, i32, i32), + VertexAttribU(u32, u32, u32, u32, u32), VertexAttribPointer(u32, i32, u32, bool, i32, u32), VertexAttribPointer2f(u32, i32, bool, i32, u32), SetViewport(i32, i32, i32, i32), |