mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
webgl: Add multiple WebGL calls (activeTexture + blend*)
* activeTexture * blendColor * blendFunc * blendFuncSeparate * blendEquation * blendEquationSeparate Blocked on gleam.
This commit is contained in:
parent
c33776a600
commit
ff568ecc90
6 changed files with 199 additions and 61 deletions
|
@ -27,7 +27,10 @@ impl WebGLShaderPrecisionFormat {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn new(global: GlobalRef, range_min: i32, range_max: i32, precision: i32) -> Temporary<WebGLShaderPrecisionFormat> {
|
||||
pub fn new(global: GlobalRef,
|
||||
range_min: i32,
|
||||
range_max: i32,
|
||||
precision: i32) -> Temporary<WebGLShaderPrecisionFormat> {
|
||||
reflect_dom_object(
|
||||
box WebGLShaderPrecisionFormat::new_inherited(range_min, range_max, precision),
|
||||
global,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue