mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add support for WebGL2 GetFragDataLocation
Adds support for the `GetFragDataLocation` WebGL2 call. See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.7
This commit is contained in:
parent
e1f6dfd716
commit
ced67af6b2
9 changed files with 62 additions and 32 deletions
|
@ -305,6 +305,7 @@ pub enum WebGLCommand {
|
|||
FramebufferTexture2D(u32, u32, u32, Option<WebGLTextureId>, i32),
|
||||
GetExtensions(WebGLSender<String>),
|
||||
GetShaderPrecisionFormat(u32, u32, WebGLSender<(i32, i32, i32)>),
|
||||
GetFragDataLocation(WebGLProgramId, String, WebGLSender<i32>),
|
||||
GetUniformLocation(WebGLProgramId, String, WebGLSender<i32>),
|
||||
GetShaderInfoLog(WebGLShaderId, WebGLSender<String>),
|
||||
GetProgramInfoLog(WebGLProgramId, WebGLSender<String>),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue