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 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
593 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; | 593 static final int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; |
594 | 594 |
595 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; | 595 static final int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; |
596 | 596 |
597 static final int VERTEX_SHADER = 0x8B31; | 597 static final int VERTEX_SHADER = 0x8B31; |
598 | 598 |
599 static final int VIEWPORT = 0x0BA2; | 599 static final int VIEWPORT = 0x0BA2; |
600 | 600 |
601 static final int ZERO = 0; | 601 static final int ZERO = 0; |
602 | 602 |
603 int get drawingBufferHeight(); | 603 final int drawingBufferHeight; |
604 | 604 |
605 int get drawingBufferWidth(); | 605 final int drawingBufferWidth; |
606 | 606 |
607 void activeTexture(int texture); | 607 void activeTexture(int texture); |
608 | 608 |
609 void attachShader(WebGLProgram program, WebGLShader shader); | 609 void attachShader(WebGLProgram program, WebGLShader shader); |
610 | 610 |
611 void bindAttribLocation(WebGLProgram program, int index, String name); | 611 void bindAttribLocation(WebGLProgram program, int index, String name); |
612 | 612 |
613 void bindBuffer(int target, WebGLBuffer buffer); | 613 void bindBuffer(int target, WebGLBuffer buffer); |
614 | 614 |
615 void bindFramebuffer(int target, WebGLFramebuffer framebuffer); | 615 void bindFramebuffer(int target, WebGLFramebuffer framebuffer); |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 void vertexAttrib3fv(int indx, Float32Array values); | 867 void vertexAttrib3fv(int indx, Float32Array values); |
868 | 868 |
869 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); |
870 | 870 |
871 void vertexAttrib4fv(int indx, Float32Array values); | 871 void vertexAttrib4fv(int indx, Float32Array values); |
872 | 872 |
873 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); |
874 | 874 |
875 void viewport(int x, int y, int width, int height); | 875 void viewport(int x, int y, int width, int height); |
876 } | 876 } |
OLD | NEW |