webgl: Add multiple WebGL calls (activeTexture + blend*)

* activeTexture
* blendColor
* blendFunc
* blendFuncSeparate
* blendEquation
* blendEquationSeparate

Blocked on gleam.
This commit is contained in:
ecoal95 2015-06-12 19:20:12 +02:00
parent c33776a600
commit ff568ecc90
6 changed files with 199 additions and 61 deletions

View file

@ -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,