| 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 628 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 void clearColor(num red, num green, num blue, num alpha); | 639 void clearColor(num red, num green, num blue, num alpha); |
| 640 | 640 |
| 641 void clearDepth(num depth); | 641 void clearDepth(num depth); |
| 642 | 642 |
| 643 void clearStencil(int s); | 643 void clearStencil(int s); |
| 644 | 644 |
| 645 void colorMask(bool red, bool green, bool blue, bool alpha); | 645 void colorMask(bool red, bool green, bool blue, bool alpha); |
| 646 | 646 |
| 647 void compileShader(WebGLShader shader); | 647 void compileShader(WebGLShader shader); |
| 648 | 648 |
| 649 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, ArrayBufferView data); |
| 650 |
| 651 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, ArrayBufferView data); |
| 652 |
| 649 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border); | 653 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border); |
| 650 | 654 |
| 651 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height); | 655 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height); |
| 652 | 656 |
| 653 WebGLBuffer createBuffer(); | 657 WebGLBuffer createBuffer(); |
| 654 | 658 |
| 655 WebGLFramebuffer createFramebuffer(); | 659 WebGLFramebuffer createFramebuffer(); |
| 656 | 660 |
| 657 WebGLProgram createProgram(); | 661 WebGLProgram createProgram(); |
| 658 | 662 |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 863 void vertexAttrib3fv(int indx, Float32Array values); | 867 void vertexAttrib3fv(int indx, Float32Array values); |
| 864 | 868 |
| 865 void vertexAttrib4f(int indx, num x, num y, num z, num w); | 869 void vertexAttrib4f(int indx, num x, num y, num z, num w); |
| 866 | 870 |
| 867 void vertexAttrib4fv(int indx, Float32Array values); | 871 void vertexAttrib4fv(int indx, Float32Array values); |
| 868 | 872 |
| 869 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset); | 873 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset); |
| 870 | 874 |
| 871 void viewport(int x, int y, int width, int height); | 875 void viewport(int x, int y, int width, int height); |
| 872 } | 876 } |
| OLD | NEW |