mirror of
https://github.com/servo/servo.git
synced 2025-08-04 13:10:20 +01:00
Add initial support for VertexAttribI4*, VertexAttribIPointer
Adds initial support for the WebGL2 `VertexAttribI4i`, `VertexAttribI4iv`, `VertexAttribI4ui`, `VertexAttribI4uiv` and `VertexAttribIPointer` calls.
This commit is contained in:
parent
5a26190fc9
commit
62f00df79d
17 changed files with 290 additions and 53 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue