| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 interface WebGLRenderingContext extends CanvasRenderingContext { | 7 interface WebGLRenderingContext extends CanvasRenderingContext { |
| 8 | 8 |
| 9 static final int ACTIVE_ATTRIBUTES = 0x8B89; | 9 static final int ACTIVE_ATTRIBUTES = 0x8B89; |
| 10 | 10 |
| (...skipping 782 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 793 void stencilFuncSeparate(int face, int func, int ref, int mask); | 793 void stencilFuncSeparate(int face, int func, int ref, int mask); |
| 794 | 794 |
| 795 void stencilMask(int mask); | 795 void stencilMask(int mask); |
| 796 | 796 |
| 797 void stencilMaskSeparate(int face, int mask); | 797 void stencilMaskSeparate(int face, int mask); |
| 798 | 798 |
| 799 void stencilOp(int fail, int zfail, int zpass); | 799 void stencilOp(int fail, int zfail, int zpass); |
| 800 | 800 |
| 801 void stencilOpSeparate(int face, int fail, int zfail, int zpass); | 801 void stencilOpSeparate(int face, int fail, int zfail, int zpass); |
| 802 | 802 |
| 803 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels, [int format, int
type, ArrayBufferView pixels]); | 803 void texImage2D(int target, int level, int internalformat, int format_OR_width
, int height_OR_type, var border_OR_canvas_OR_image_OR_pixels_OR_video, [int for
mat, int type, ArrayBufferView pixels]); |
| 804 | 804 |
| 805 void texParameterf(int target, int pname, num param); | 805 void texParameterf(int target, int pname, num param); |
| 806 | 806 |
| 807 void texParameteri(int target, int pname, int param); | 807 void texParameteri(int target, int pname, int param); |
| 808 | 808 |
| 809 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels, [int typ
e, ArrayBufferView pixels]); | 809 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format
_OR_width, int height_OR_type, var canvas_OR_format_OR_image_OR_pixels_OR_video,
[int type, ArrayBufferView pixels]); |
| 810 | 810 |
| 811 void uniform1f(WebGLUniformLocation location, num x); | 811 void uniform1f(WebGLUniformLocation location, num x); |
| 812 | 812 |
| 813 void uniform1fv(WebGLUniformLocation location, Float32Array v); | 813 void uniform1fv(WebGLUniformLocation location, Float32Array v); |
| 814 | 814 |
| 815 void uniform1i(WebGLUniformLocation location, int x); | 815 void uniform1i(WebGLUniformLocation location, int x); |
| 816 | 816 |
| 817 void uniform1iv(WebGLUniformLocation location, Int32Array v); | 817 void uniform1iv(WebGLUniformLocation location, Int32Array v); |
| 818 | 818 |
| 819 void uniform2f(WebGLUniformLocation location, num x, num y); | 819 void uniform2f(WebGLUniformLocation location, num x, num y); |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 void vertexAttrib3fv(int indx, Float32Array values); | 863 void vertexAttrib3fv(int indx, Float32Array values); |
| 864 | 864 |
| 865 void vertexAttrib4f(int indx, num x, num y, num z, num w); | 865 void vertexAttrib4f(int indx, num x, num y, num z, num w); |
| 866 | 866 |
| 867 void vertexAttrib4fv(int indx, Float32Array values); | 867 void vertexAttrib4fv(int indx, Float32Array values); |
| 868 | 868 |
| 869 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset); | 869 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset); |
| 870 | 870 |
| 871 void viewport(int x, int y, int width, int height); | 871 void viewport(int x, int y, int width, int height); |
| 872 } | 872 } |
| OLD | NEW |