| 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 698 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 709 void generateMipmap(int target); | 709 void generateMipmap(int target); |
| 710 | 710 |
| 711 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index); | 711 WebGLActiveInfo getActiveAttrib(WebGLProgram program, int index); |
| 712 | 712 |
| 713 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index); | 713 WebGLActiveInfo getActiveUniform(WebGLProgram program, int index); |
| 714 | 714 |
| 715 void getAttachedShaders(WebGLProgram program); | 715 void getAttachedShaders(WebGLProgram program); |
| 716 | 716 |
| 717 int getAttribLocation(WebGLProgram program, String name); | 717 int getAttribLocation(WebGLProgram program, String name); |
| 718 | 718 |
| 719 void getBufferParameter(); | 719 Object getBufferParameter(int target, int pname); |
| 720 | 720 |
| 721 WebGLContextAttributes getContextAttributes(); | 721 WebGLContextAttributes getContextAttributes(); |
| 722 | 722 |
| 723 int getError(); | 723 int getError(); |
| 724 | 724 |
| 725 void getExtension(String name); | 725 Object getExtension(String name); |
| 726 | 726 |
| 727 void getFramebufferAttachmentParameter(); | 727 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
); |
| 728 | 728 |
| 729 void getParameter(); | 729 Object getParameter(int pname); |
| 730 | 730 |
| 731 String getProgramInfoLog(WebGLProgram program); | 731 String getProgramInfoLog(WebGLProgram program); |
| 732 | 732 |
| 733 void getProgramParameter(); | 733 Object getProgramParameter(WebGLProgram program, int pname); |
| 734 | 734 |
| 735 void getRenderbufferParameter(); | 735 Object getRenderbufferParameter(int target, int pname); |
| 736 | 736 |
| 737 String getShaderInfoLog(WebGLShader shader); | 737 String getShaderInfoLog(WebGLShader shader); |
| 738 | 738 |
| 739 void getShaderParameter(); | 739 Object getShaderParameter(WebGLShader shader, int pname); |
| 740 | 740 |
| 741 String getShaderSource(WebGLShader shader); | 741 String getShaderSource(WebGLShader shader); |
| 742 | 742 |
| 743 void getSupportedExtensions(); | 743 Object getTexParameter(int target, int pname); |
| 744 | 744 |
| 745 void getTexParameter(); | 745 Object getUniform(WebGLProgram program, WebGLUniformLocation location); |
| 746 | |
| 747 void getUniform(); | |
| 748 | 746 |
| 749 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); | 747 WebGLUniformLocation getUniformLocation(WebGLProgram program, String name); |
| 750 | 748 |
| 751 void getVertexAttrib(); | 749 Object getVertexAttrib(int index, int pname); |
| 752 | 750 |
| 753 int getVertexAttribOffset(int index, int pname); | 751 int getVertexAttribOffset(int index, int pname); |
| 754 | 752 |
| 755 void hint(int target, int mode); | 753 void hint(int target, int mode); |
| 756 | 754 |
| 757 bool isBuffer(WebGLBuffer buffer); | 755 bool isBuffer(WebGLBuffer buffer); |
| 758 | 756 |
| 759 bool isContextLost(); | 757 bool isContextLost(); |
| 760 | 758 |
| 761 bool isEnabled(int cap); | 759 bool isEnabled(int cap); |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 865 void vertexAttrib3fv(int indx, Float32Array values); | 863 void vertexAttrib3fv(int indx, Float32Array values); |
| 866 | 864 |
| 867 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); |
| 868 | 866 |
| 869 void vertexAttrib4fv(int indx, Float32Array values); | 867 void vertexAttrib4fv(int indx, Float32Array values); |
| 870 | 868 |
| 871 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); |
| 872 | 870 |
| 873 void viewport(int x, int y, int width, int height); | 871 void viewport(int x, int y, int width, int height); |
| 874 } | 872 } |
| OLD | NEW |