Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: sdk/lib/web_gl/dart2js/web_gl_dart2js.dart

Issue 569783002: Migrate to Chrome 37 IDL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /** 1 /**
2 * 3D programming in the browser. 2 * 3D programming in the browser.
3 */ 3 */
4 library dart.dom.web_gl; 4 library dart.dom.web_gl;
5 5
6 import 'dart:collection'; 6 import 'dart:collection';
7 import 'dart:_internal' hide deprecated; 7 import 'dart:_internal' hide deprecated;
8 import 'dart:html'; 8 import 'dart:html';
9 import 'dart:html_common'; 9 import 'dart:html_common';
10 import 'dart:_native_typed_data'; 10 import 'dart:_native_typed_data';
11 import 'dart:typed_data'; 11 import 'dart:typed_data';
12 import 'dart:_js_helper' show Creates, JSName, Native, Null, Returns, convertDar tClosureToJS; 12 import 'dart:_js_helper' show Creates, JSName, Native, Null, Returns, convertDar tClosureToJS;
13 import 'dart:_foreign_helper' show JS; 13 import 'dart:_foreign_helper' show JS;
14 import 'dart:_interceptors' show Interceptor, JSExtendableArray; 14 import 'dart:_interceptors' show Interceptor, JSExtendableArray;
15 // DO NOT EDIT - unless you are editing documentation as per: 15 // DO NOT EDIT - unless you are editing documentation as per:
16 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation 16 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation
17 // Auto-generated dart:web_gl library. 17 // Auto-generated dart:web_gl library.
18 18
19 19
20 20
21 21
22 22
23 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 23 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
24 // for details. All rights reserved. Use of this source code is governed by a 24 // for details. All rights reserved. Use of this source code is governed by a
25 // BSD-style license that can be found in the LICENSE file. 25 // BSD-style license that can be found in the LICENSE file.
26 26
27 27
28 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; 28 const int ACTIVE_ATTRIBUTES = RenderingContextBase.ACTIVE_ATTRIBUTES;
29 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; 29 const int ACTIVE_TEXTURE = RenderingContextBase.ACTIVE_TEXTURE;
30 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; 30 const int ACTIVE_UNIFORMS = RenderingContextBase.ACTIVE_UNIFORMS;
31 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; 31 const int ALIASED_LINE_WIDTH_RANGE = RenderingContextBase.ALIASED_LINE_WIDTH_RAN GE;
32 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; 32 const int ALIASED_POINT_SIZE_RANGE = RenderingContextBase.ALIASED_POINT_SIZE_RAN GE;
33 const int ALPHA = RenderingContext.ALPHA; 33 const int ALPHA = RenderingContextBase.ALPHA;
34 const int ALPHA_BITS = RenderingContext.ALPHA_BITS; 34 const int ALPHA_BITS = RenderingContextBase.ALPHA_BITS;
35 const int ALWAYS = RenderingContext.ALWAYS; 35 const int ALWAYS = RenderingContextBase.ALWAYS;
36 const int ARRAY_BUFFER = RenderingContext.ARRAY_BUFFER; 36 const int ARRAY_BUFFER = RenderingContextBase.ARRAY_BUFFER;
37 const int ARRAY_BUFFER_BINDING = RenderingContext.ARRAY_BUFFER_BINDING; 37 const int ARRAY_BUFFER_BINDING = RenderingContextBase.ARRAY_BUFFER_BINDING;
38 const int ATTACHED_SHADERS = RenderingContext.ATTACHED_SHADERS; 38 const int ATTACHED_SHADERS = RenderingContextBase.ATTACHED_SHADERS;
39 const int BACK = RenderingContext.BACK; 39 const int BACK = RenderingContextBase.BACK;
40 const int BLEND = RenderingContext.BLEND; 40 const int BLEND = RenderingContextBase.BLEND;
41 const int BLEND_COLOR = RenderingContext.BLEND_COLOR; 41 const int BLEND_COLOR = RenderingContextBase.BLEND_COLOR;
42 const int BLEND_DST_ALPHA = RenderingContext.BLEND_DST_ALPHA; 42 const int BLEND_DST_ALPHA = RenderingContextBase.BLEND_DST_ALPHA;
43 const int BLEND_DST_RGB = RenderingContext.BLEND_DST_RGB; 43 const int BLEND_DST_RGB = RenderingContextBase.BLEND_DST_RGB;
44 const int BLEND_EQUATION = RenderingContext.BLEND_EQUATION; 44 const int BLEND_EQUATION = RenderingContextBase.BLEND_EQUATION;
45 const int BLEND_EQUATION_ALPHA = RenderingContext.BLEND_EQUATION_ALPHA; 45 const int BLEND_EQUATION_ALPHA = RenderingContextBase.BLEND_EQUATION_ALPHA;
46 const int BLEND_EQUATION_RGB = RenderingContext.BLEND_EQUATION_RGB; 46 const int BLEND_EQUATION_RGB = RenderingContextBase.BLEND_EQUATION_RGB;
47 const int BLEND_SRC_ALPHA = RenderingContext.BLEND_SRC_ALPHA; 47 const int BLEND_SRC_ALPHA = RenderingContextBase.BLEND_SRC_ALPHA;
48 const int BLEND_SRC_RGB = RenderingContext.BLEND_SRC_RGB; 48 const int BLEND_SRC_RGB = RenderingContextBase.BLEND_SRC_RGB;
49 const int BLUE_BITS = RenderingContext.BLUE_BITS; 49 const int BLUE_BITS = RenderingContextBase.BLUE_BITS;
50 const int BOOL = RenderingContext.BOOL; 50 const int BOOL = RenderingContextBase.BOOL;
51 const int BOOL_VEC2 = RenderingContext.BOOL_VEC2; 51 const int BOOL_VEC2 = RenderingContextBase.BOOL_VEC2;
52 const int BOOL_VEC3 = RenderingContext.BOOL_VEC3; 52 const int BOOL_VEC3 = RenderingContextBase.BOOL_VEC3;
53 const int BOOL_VEC4 = RenderingContext.BOOL_VEC4; 53 const int BOOL_VEC4 = RenderingContextBase.BOOL_VEC4;
54 const int BROWSER_DEFAULT_WEBGL = RenderingContext.BROWSER_DEFAULT_WEBGL; 54 const int BROWSER_DEFAULT_WEBGL = RenderingContextBase.BROWSER_DEFAULT_WEBGL;
55 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; 55 const int BUFFER_SIZE = RenderingContextBase.BUFFER_SIZE;
56 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; 56 const int BUFFER_USAGE = RenderingContextBase.BUFFER_USAGE;
57 const int BYTE = RenderingContext.BYTE; 57 const int BYTE = RenderingContextBase.BYTE;
58 const int CCW = RenderingContext.CCW; 58 const int CCW = RenderingContextBase.CCW;
59 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; 59 const int CLAMP_TO_EDGE = RenderingContextBase.CLAMP_TO_EDGE;
60 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; 60 const int COLOR_ATTACHMENT0 = RenderingContextBase.COLOR_ATTACHMENT0;
61 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; 61 const int COLOR_BUFFER_BIT = RenderingContextBase.COLOR_BUFFER_BIT;
62 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; 62 const int COLOR_CLEAR_VALUE = RenderingContextBase.COLOR_CLEAR_VALUE;
63 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; 63 const int COLOR_WRITEMASK = RenderingContextBase.COLOR_WRITEMASK;
64 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; 64 const int COMPILE_STATUS = RenderingContextBase.COMPILE_STATUS;
65 const int COMPRESSED_TEXTURE_FORMATS = RenderingContext.COMPRESSED_TEXTURE_FORMA TS; 65 const int COMPRESSED_TEXTURE_FORMATS = RenderingContextBase.COMPRESSED_TEXTURE_F ORMATS;
66 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; 66 const int CONSTANT_ALPHA = RenderingContextBase.CONSTANT_ALPHA;
67 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; 67 const int CONSTANT_COLOR = RenderingContextBase.CONSTANT_COLOR;
68 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; 68 const int CONTEXT_LOST_WEBGL = RenderingContextBase.CONTEXT_LOST_WEBGL;
69 const int CULL_FACE = RenderingContext.CULL_FACE; 69 const int CULL_FACE = RenderingContextBase.CULL_FACE;
70 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; 70 const int CULL_FACE_MODE = RenderingContextBase.CULL_FACE_MODE;
71 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; 71 const int CURRENT_PROGRAM = RenderingContextBase.CURRENT_PROGRAM;
72 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; 72 const int CURRENT_VERTEX_ATTRIB = RenderingContextBase.CURRENT_VERTEX_ATTRIB;
73 const int CW = RenderingContext.CW; 73 const int CW = RenderingContextBase.CW;
74 const int DECR = RenderingContext.DECR; 74 const int DECR = RenderingContextBase.DECR;
75 const int DECR_WRAP = RenderingContext.DECR_WRAP; 75 const int DECR_WRAP = RenderingContextBase.DECR_WRAP;
76 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; 76 const int DELETE_STATUS = RenderingContextBase.DELETE_STATUS;
77 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; 77 const int DEPTH_ATTACHMENT = RenderingContextBase.DEPTH_ATTACHMENT;
78 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; 78 const int DEPTH_BITS = RenderingContextBase.DEPTH_BITS;
79 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; 79 const int DEPTH_BUFFER_BIT = RenderingContextBase.DEPTH_BUFFER_BIT;
80 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; 80 const int DEPTH_CLEAR_VALUE = RenderingContextBase.DEPTH_CLEAR_VALUE;
81 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; 81 const int DEPTH_COMPONENT = RenderingContextBase.DEPTH_COMPONENT;
82 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; 82 const int DEPTH_COMPONENT16 = RenderingContextBase.DEPTH_COMPONENT16;
83 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; 83 const int DEPTH_FUNC = RenderingContextBase.DEPTH_FUNC;
84 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; 84 const int DEPTH_RANGE = RenderingContextBase.DEPTH_RANGE;
85 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; 85 const int DEPTH_STENCIL = RenderingContextBase.DEPTH_STENCIL;
86 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; 86 const int DEPTH_STENCIL_ATTACHMENT = RenderingContextBase.DEPTH_STENCIL_ATTACHME NT;
87 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; 87 const int DEPTH_TEST = RenderingContextBase.DEPTH_TEST;
88 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; 88 const int DEPTH_WRITEMASK = RenderingContextBase.DEPTH_WRITEMASK;
89 const int DITHER = RenderingContext.DITHER; 89 const int DITHER = RenderingContextBase.DITHER;
90 const int DONT_CARE = RenderingContext.DONT_CARE; 90 const int DONT_CARE = RenderingContextBase.DONT_CARE;
91 const int DST_ALPHA = RenderingContext.DST_ALPHA; 91 const int DST_ALPHA = RenderingContextBase.DST_ALPHA;
92 const int DST_COLOR = RenderingContext.DST_COLOR; 92 const int DST_COLOR = RenderingContextBase.DST_COLOR;
93 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; 93 const int DYNAMIC_DRAW = RenderingContextBase.DYNAMIC_DRAW;
94 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; 94 const int ELEMENT_ARRAY_BUFFER = RenderingContextBase.ELEMENT_ARRAY_BUFFER;
95 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContext.ELEMENT_ARRAY_BUFFER_B INDING; 95 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContextBase.ELEMENT_ARRAY_BUFF ER_BINDING;
96 const int EQUAL = RenderingContext.EQUAL; 96 const int EQUAL = RenderingContextBase.EQUAL;
97 const int FASTEST = RenderingContext.FASTEST; 97 const int FASTEST = RenderingContextBase.FASTEST;
98 const int FLOAT = RenderingContext.FLOAT; 98 const int FLOAT = RenderingContextBase.FLOAT;
99 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; 99 const int FLOAT_MAT2 = RenderingContextBase.FLOAT_MAT2;
100 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; 100 const int FLOAT_MAT3 = RenderingContextBase.FLOAT_MAT3;
101 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; 101 const int FLOAT_MAT4 = RenderingContextBase.FLOAT_MAT4;
102 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; 102 const int FLOAT_VEC2 = RenderingContextBase.FLOAT_VEC2;
103 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; 103 const int FLOAT_VEC3 = RenderingContextBase.FLOAT_VEC3;
104 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; 104 const int FLOAT_VEC4 = RenderingContextBase.FLOAT_VEC4;
105 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; 105 const int FRAGMENT_SHADER = RenderingContextBase.FRAGMENT_SHADER;
106 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; 106 const int FRAMEBUFFER = RenderingContextBase.FRAMEBUFFER;
107 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContext.FRAMEBUFFER_ATTA CHMENT_OBJECT_NAME; 107 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContextBase.FRAMEBUFFER_ ATTACHMENT_OBJECT_NAME;
108 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContext.FRAMEBUFFER_ATTA CHMENT_OBJECT_TYPE; 108 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContextBase.FRAMEBUFFER_ ATTACHMENT_OBJECT_TYPE;
109 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContext.FRAMEB UFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; 109 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContextBase.FR AMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE;
110 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContext.FRAMEBUFFER_AT TACHMENT_TEXTURE_LEVEL; 110 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContextBase.FRAMEBUFFE R_ATTACHMENT_TEXTURE_LEVEL;
111 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; 111 const int FRAMEBUFFER_BINDING = RenderingContextBase.FRAMEBUFFER_BINDING;
112 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; 112 const int FRAMEBUFFER_COMPLETE = RenderingContextBase.FRAMEBUFFER_COMPLETE;
113 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOM PLETE_ATTACHMENT; 113 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContextBase.FRAMEBUFFER_I NCOMPLETE_ATTACHMENT;
114 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContext.FRAMEBUFFER_INCOM PLETE_DIMENSIONS; 114 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContextBase.FRAMEBUFFER_I NCOMPLETE_DIMENSIONS;
115 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContext.FRAMEBUFF ER_INCOMPLETE_MISSING_ATTACHMENT; 115 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContextBase.FRAME BUFFER_INCOMPLETE_MISSING_ATTACHMENT;
116 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; 116 const int FRAMEBUFFER_UNSUPPORTED = RenderingContextBase.FRAMEBUFFER_UNSUPPORTED ;
117 const int FRONT = RenderingContext.FRONT; 117 const int FRONT = RenderingContextBase.FRONT;
118 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; 118 const int FRONT_AND_BACK = RenderingContextBase.FRONT_AND_BACK;
119 const int FRONT_FACE = RenderingContext.FRONT_FACE; 119 const int FRONT_FACE = RenderingContextBase.FRONT_FACE;
120 const int FUNC_ADD = RenderingContext.FUNC_ADD; 120 const int FUNC_ADD = RenderingContextBase.FUNC_ADD;
121 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; 121 const int FUNC_REVERSE_SUBTRACT = RenderingContextBase.FUNC_REVERSE_SUBTRACT;
122 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; 122 const int FUNC_SUBTRACT = RenderingContextBase.FUNC_SUBTRACT;
123 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; 123 const int GENERATE_MIPMAP_HINT = RenderingContextBase.GENERATE_MIPMAP_HINT;
124 const int GEQUAL = RenderingContext.GEQUAL; 124 const int GEQUAL = RenderingContextBase.GEQUAL;
125 const int GREATER = RenderingContext.GREATER; 125 const int GREATER = RenderingContextBase.GREATER;
126 const int GREEN_BITS = RenderingContext.GREEN_BITS; 126 const int GREEN_BITS = RenderingContextBase.GREEN_BITS;
127 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; 127 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES;
128 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; 128 const int HIGH_FLOAT = RenderingContextBase.HIGH_FLOAT;
129 const int HIGH_INT = RenderingContext.HIGH_INT; 129 const int HIGH_INT = RenderingContextBase.HIGH_INT;
130 const int INCR = RenderingContext.INCR; 130 const int INCR = RenderingContextBase.INCR;
131 const int INCR_WRAP = RenderingContext.INCR_WRAP; 131 const int INCR_WRAP = RenderingContextBase.INCR_WRAP;
132 const int INT = RenderingContext.INT; 132 const int INT = RenderingContextBase.INT;
133 const int INT_VEC2 = RenderingContext.INT_VEC2; 133 const int INT_VEC2 = RenderingContextBase.INT_VEC2;
134 const int INT_VEC3 = RenderingContext.INT_VEC3; 134 const int INT_VEC3 = RenderingContextBase.INT_VEC3;
135 const int INT_VEC4 = RenderingContext.INT_VEC4; 135 const int INT_VEC4 = RenderingContextBase.INT_VEC4;
136 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; 136 const int INVALID_ENUM = RenderingContextBase.INVALID_ENUM;
137 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O PERATION; 137 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContextBase.INVALID_FRAMEBUFF ER_OPERATION;
138 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; 138 const int INVALID_OPERATION = RenderingContextBase.INVALID_OPERATION;
139 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; 139 const int INVALID_VALUE = RenderingContextBase.INVALID_VALUE;
140 const int INVERT = RenderingContext.INVERT; 140 const int INVERT = RenderingContextBase.INVERT;
141 const int KEEP = RenderingContext.KEEP; 141 const int KEEP = RenderingContextBase.KEEP;
142 const int LEQUAL = RenderingContext.LEQUAL; 142 const int LEQUAL = RenderingContextBase.LEQUAL;
143 const int LESS = RenderingContext.LESS; 143 const int LESS = RenderingContextBase.LESS;
144 const int LINEAR = RenderingContext.LINEAR; 144 const int LINEAR = RenderingContextBase.LINEAR;
145 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; 145 const int LINEAR_MIPMAP_LINEAR = RenderingContextBase.LINEAR_MIPMAP_LINEAR;
146 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; 146 const int LINEAR_MIPMAP_NEAREST = RenderingContextBase.LINEAR_MIPMAP_NEAREST;
147 const int LINES = RenderingContext.LINES; 147 const int LINES = RenderingContextBase.LINES;
148 const int LINE_LOOP = RenderingContext.LINE_LOOP; 148 const int LINE_LOOP = RenderingContextBase.LINE_LOOP;
149 const int LINE_STRIP = RenderingContext.LINE_STRIP; 149 const int LINE_STRIP = RenderingContextBase.LINE_STRIP;
150 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; 150 const int LINE_WIDTH = RenderingContextBase.LINE_WIDTH;
151 const int LINK_STATUS = RenderingContext.LINK_STATUS; 151 const int LINK_STATUS = RenderingContextBase.LINK_STATUS;
152 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; 152 const int LOW_FLOAT = RenderingContextBase.LOW_FLOAT;
153 const int LOW_INT = RenderingContext.LOW_INT; 153 const int LOW_INT = RenderingContextBase.LOW_INT;
154 const int LUMINANCE = RenderingContext.LUMINANCE; 154 const int LUMINANCE = RenderingContextBase.LUMINANCE;
155 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; 155 const int LUMINANCE_ALPHA = RenderingContextBase.LUMINANCE_ALPHA;
156 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_COMBINED_TEXTU RE_IMAGE_UNITS; 156 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContextBase.MAX_COMBINED_T EXTURE_IMAGE_UNITS;
157 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE ; 157 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContextBase.MAX_CUBE_MAP_TEXTURE_ SIZE;
158 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContext.MAX_FRAGMENT_UNIFORM_V ECTORS; 158 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContextBase.MAX_FRAGMENT_UNIFO RM_VECTORS;
159 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; 159 const int MAX_RENDERBUFFER_SIZE = RenderingContextBase.MAX_RENDERBUFFER_SIZE;
160 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; 160 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContextBase.MAX_TEXTURE_IMAGE_UNITS ;
161 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; 161 const int MAX_TEXTURE_SIZE = RenderingContextBase.MAX_TEXTURE_SIZE;
162 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; 162 const int MAX_VARYING_VECTORS = RenderingContextBase.MAX_VARYING_VECTORS;
163 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; 163 const int MAX_VERTEX_ATTRIBS = RenderingContextBase.MAX_VERTEX_ATTRIBS;
164 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_VERTEX_TEXTURE_I MAGE_UNITS; 164 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContextBase.MAX_VERTEX_TEXTU RE_IMAGE_UNITS;
165 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContext.MAX_VERTEX_UNIFORM_VECTO RS; 165 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContextBase.MAX_VERTEX_UNIFORM_V ECTORS;
166 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; 166 const int MAX_VIEWPORT_DIMS = RenderingContextBase.MAX_VIEWPORT_DIMS;
167 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; 167 const int MEDIUM_FLOAT = RenderingContextBase.MEDIUM_FLOAT;
168 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; 168 const int MEDIUM_INT = RenderingContextBase.MEDIUM_INT;
169 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; 169 const int MIRRORED_REPEAT = RenderingContextBase.MIRRORED_REPEAT;
170 const int NEAREST = RenderingContext.NEAREST; 170 const int NEAREST = RenderingContextBase.NEAREST;
171 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; 171 const int NEAREST_MIPMAP_LINEAR = RenderingContextBase.NEAREST_MIPMAP_LINEAR;
172 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; 172 const int NEAREST_MIPMAP_NEAREST = RenderingContextBase.NEAREST_MIPMAP_NEAREST;
173 const int NEVER = RenderingContext.NEVER; 173 const int NEVER = RenderingContextBase.NEVER;
174 const int NICEST = RenderingContext.NICEST; 174 const int NICEST = RenderingContextBase.NICEST;
175 const int NONE = RenderingContext.NONE; 175 const int NONE = RenderingContextBase.NONE;
176 const int NOTEQUAL = RenderingContext.NOTEQUAL; 176 const int NOTEQUAL = RenderingContextBase.NOTEQUAL;
177 const int NO_ERROR = RenderingContext.NO_ERROR; 177 const int NO_ERROR = RenderingContextBase.NO_ERROR;
178 const int ONE = RenderingContext.ONE; 178 const int ONE = RenderingContextBase.ONE;
179 const int ONE_MINUS_CONSTANT_ALPHA = RenderingContext.ONE_MINUS_CONSTANT_ALPHA; 179 const int ONE_MINUS_CONSTANT_ALPHA = RenderingContextBase.ONE_MINUS_CONSTANT_ALP HA;
180 const int ONE_MINUS_CONSTANT_COLOR = RenderingContext.ONE_MINUS_CONSTANT_COLOR; 180 const int ONE_MINUS_CONSTANT_COLOR = RenderingContextBase.ONE_MINUS_CONSTANT_COL OR;
181 const int ONE_MINUS_DST_ALPHA = RenderingContext.ONE_MINUS_DST_ALPHA; 181 const int ONE_MINUS_DST_ALPHA = RenderingContextBase.ONE_MINUS_DST_ALPHA;
182 const int ONE_MINUS_DST_COLOR = RenderingContext.ONE_MINUS_DST_COLOR; 182 const int ONE_MINUS_DST_COLOR = RenderingContextBase.ONE_MINUS_DST_COLOR;
183 const int ONE_MINUS_SRC_ALPHA = RenderingContext.ONE_MINUS_SRC_ALPHA; 183 const int ONE_MINUS_SRC_ALPHA = RenderingContextBase.ONE_MINUS_SRC_ALPHA;
184 const int ONE_MINUS_SRC_COLOR = RenderingContext.ONE_MINUS_SRC_COLOR; 184 const int ONE_MINUS_SRC_COLOR = RenderingContextBase.ONE_MINUS_SRC_COLOR;
185 const int OUT_OF_MEMORY = RenderingContext.OUT_OF_MEMORY; 185 const int OUT_OF_MEMORY = RenderingContextBase.OUT_OF_MEMORY;
186 const int PACK_ALIGNMENT = RenderingContext.PACK_ALIGNMENT; 186 const int PACK_ALIGNMENT = RenderingContextBase.PACK_ALIGNMENT;
187 const int POINTS = RenderingContext.POINTS; 187 const int POINTS = RenderingContextBase.POINTS;
188 const int POLYGON_OFFSET_FACTOR = RenderingContext.POLYGON_OFFSET_FACTOR; 188 const int POLYGON_OFFSET_FACTOR = RenderingContextBase.POLYGON_OFFSET_FACTOR;
189 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; 189 const int POLYGON_OFFSET_FILL = RenderingContextBase.POLYGON_OFFSET_FILL;
190 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; 190 const int POLYGON_OFFSET_UNITS = RenderingContextBase.POLYGON_OFFSET_UNITS;
191 const int RED_BITS = RenderingContext.RED_BITS; 191 const int RED_BITS = RenderingContextBase.RED_BITS;
192 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; 192 const int RENDERBUFFER = RenderingContextBase.RENDERBUFFER;
193 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; 193 const int RENDERBUFFER_ALPHA_SIZE = RenderingContextBase.RENDERBUFFER_ALPHA_SIZE ;
194 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; 194 const int RENDERBUFFER_BINDING = RenderingContextBase.RENDERBUFFER_BINDING;
195 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; 195 const int RENDERBUFFER_BLUE_SIZE = RenderingContextBase.RENDERBUFFER_BLUE_SIZE;
196 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; 196 const int RENDERBUFFER_DEPTH_SIZE = RenderingContextBase.RENDERBUFFER_DEPTH_SIZE ;
197 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; 197 const int RENDERBUFFER_GREEN_SIZE = RenderingContextBase.RENDERBUFFER_GREEN_SIZE ;
198 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; 198 const int RENDERBUFFER_HEIGHT = RenderingContextBase.RENDERBUFFER_HEIGHT;
199 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContext.RENDERBUFFER_INTERNAL_ FORMAT; 199 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContextBase.RENDERBUFFER_INTER NAL_FORMAT;
200 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; 200 const int RENDERBUFFER_RED_SIZE = RenderingContextBase.RENDERBUFFER_RED_SIZE;
201 const int RENDERBUFFER_STENCIL_SIZE = RenderingContext.RENDERBUFFER_STENCIL_SIZE ; 201 const int RENDERBUFFER_STENCIL_SIZE = RenderingContextBase.RENDERBUFFER_STENCIL_ SIZE;
202 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; 202 const int RENDERBUFFER_WIDTH = RenderingContextBase.RENDERBUFFER_WIDTH;
203 const int RENDERER = RenderingContext.RENDERER; 203 const int RENDERER = RenderingContextBase.RENDERER;
204 const int REPEAT = RenderingContext.REPEAT; 204 const int REPEAT = RenderingContextBase.REPEAT;
205 const int REPLACE = RenderingContext.REPLACE; 205 const int REPLACE = RenderingContextBase.REPLACE;
206 const int RGB = RenderingContext.RGB; 206 const int RGB = RenderingContextBase.RGB;
207 const int RGB565 = RenderingContext.RGB565; 207 const int RGB565 = RenderingContextBase.RGB565;
208 const int RGB5_A1 = RenderingContext.RGB5_A1; 208 const int RGB5_A1 = RenderingContextBase.RGB5_A1;
209 const int RGBA = RenderingContext.RGBA; 209 const int RGBA = RenderingContextBase.RGBA;
210 const int RGBA4 = RenderingContext.RGBA4; 210 const int RGBA4 = RenderingContextBase.RGBA4;
211 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; 211 const int SAMPLER_2D = RenderingContextBase.SAMPLER_2D;
212 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; 212 const int SAMPLER_CUBE = RenderingContextBase.SAMPLER_CUBE;
213 const int SAMPLES = RenderingContext.SAMPLES; 213 const int SAMPLES = RenderingContextBase.SAMPLES;
214 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; 214 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContextBase.SAMPLE_ALPHA_TO_COVERA GE;
215 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; 215 const int SAMPLE_BUFFERS = RenderingContextBase.SAMPLE_BUFFERS;
216 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; 216 const int SAMPLE_COVERAGE = RenderingContextBase.SAMPLE_COVERAGE;
217 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; 217 const int SAMPLE_COVERAGE_INVERT = RenderingContextBase.SAMPLE_COVERAGE_INVERT;
218 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; 218 const int SAMPLE_COVERAGE_VALUE = RenderingContextBase.SAMPLE_COVERAGE_VALUE;
219 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; 219 const int SCISSOR_BOX = RenderingContextBase.SCISSOR_BOX;
220 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; 220 const int SCISSOR_TEST = RenderingContextBase.SCISSOR_TEST;
221 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; 221 const int SHADER_TYPE = RenderingContextBase.SHADER_TYPE;
222 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; 222 const int SHADING_LANGUAGE_VERSION = RenderingContextBase.SHADING_LANGUAGE_VERSI ON;
223 const int SHORT = RenderingContext.SHORT; 223 const int SHORT = RenderingContextBase.SHORT;
224 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; 224 const int SRC_ALPHA = RenderingContextBase.SRC_ALPHA;
225 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; 225 const int SRC_ALPHA_SATURATE = RenderingContextBase.SRC_ALPHA_SATURATE;
226 const int SRC_COLOR = RenderingContext.SRC_COLOR; 226 const int SRC_COLOR = RenderingContextBase.SRC_COLOR;
227 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; 227 const int STATIC_DRAW = RenderingContextBase.STATIC_DRAW;
228 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; 228 const int STENCIL_ATTACHMENT = RenderingContextBase.STENCIL_ATTACHMENT;
229 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; 229 const int STENCIL_BACK_FAIL = RenderingContextBase.STENCIL_BACK_FAIL;
230 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; 230 const int STENCIL_BACK_FUNC = RenderingContextBase.STENCIL_BACK_FUNC;
231 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContext.STENCIL_BACK_PASS_DEPT H_FAIL; 231 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContextBase.STENCIL_BACK_PASS_ DEPTH_FAIL;
232 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContext.STENCIL_BACK_PASS_DEPT H_PASS; 232 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContextBase.STENCIL_BACK_PASS_ DEPTH_PASS;
233 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; 233 const int STENCIL_BACK_REF = RenderingContextBase.STENCIL_BACK_REF;
234 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; 234 const int STENCIL_BACK_VALUE_MASK = RenderingContextBase.STENCIL_BACK_VALUE_MASK ;
235 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; 235 const int STENCIL_BACK_WRITEMASK = RenderingContextBase.STENCIL_BACK_WRITEMASK;
236 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; 236 const int STENCIL_BITS = RenderingContextBase.STENCIL_BITS;
237 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; 237 const int STENCIL_BUFFER_BIT = RenderingContextBase.STENCIL_BUFFER_BIT;
238 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; 238 const int STENCIL_CLEAR_VALUE = RenderingContextBase.STENCIL_CLEAR_VALUE;
239 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; 239 const int STENCIL_FAIL = RenderingContextBase.STENCIL_FAIL;
240 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; 240 const int STENCIL_FUNC = RenderingContextBase.STENCIL_FUNC;
241 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; 241 const int STENCIL_INDEX = RenderingContextBase.STENCIL_INDEX;
242 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; 242 const int STENCIL_INDEX8 = RenderingContextBase.STENCIL_INDEX8;
243 const int STENCIL_PASS_DEPTH_FAIL = RenderingContext.STENCIL_PASS_DEPTH_FAIL; 243 const int STENCIL_PASS_DEPTH_FAIL = RenderingContextBase.STENCIL_PASS_DEPTH_FAIL ;
244 const int STENCIL_PASS_DEPTH_PASS = RenderingContext.STENCIL_PASS_DEPTH_PASS; 244 const int STENCIL_PASS_DEPTH_PASS = RenderingContextBase.STENCIL_PASS_DEPTH_PASS ;
245 const int STENCIL_REF = RenderingContext.STENCIL_REF; 245 const int STENCIL_REF = RenderingContextBase.STENCIL_REF;
246 const int STENCIL_TEST = RenderingContext.STENCIL_TEST; 246 const int STENCIL_TEST = RenderingContextBase.STENCIL_TEST;
247 const int STENCIL_VALUE_MASK = RenderingContext.STENCIL_VALUE_MASK; 247 const int STENCIL_VALUE_MASK = RenderingContextBase.STENCIL_VALUE_MASK;
248 const int STENCIL_WRITEMASK = RenderingContext.STENCIL_WRITEMASK; 248 const int STENCIL_WRITEMASK = RenderingContextBase.STENCIL_WRITEMASK;
249 const int STREAM_DRAW = RenderingContext.STREAM_DRAW; 249 const int STREAM_DRAW = RenderingContextBase.STREAM_DRAW;
250 const int SUBPIXEL_BITS = RenderingContext.SUBPIXEL_BITS; 250 const int SUBPIXEL_BITS = RenderingContextBase.SUBPIXEL_BITS;
251 const int TEXTURE = RenderingContext.TEXTURE; 251 const int TEXTURE = RenderingContextBase.TEXTURE;
252 const int TEXTURE0 = RenderingContext.TEXTURE0; 252 const int TEXTURE0 = RenderingContextBase.TEXTURE0;
253 const int TEXTURE1 = RenderingContext.TEXTURE1; 253 const int TEXTURE1 = RenderingContextBase.TEXTURE1;
254 const int TEXTURE10 = RenderingContext.TEXTURE10; 254 const int TEXTURE10 = RenderingContextBase.TEXTURE10;
255 const int TEXTURE11 = RenderingContext.TEXTURE11; 255 const int TEXTURE11 = RenderingContextBase.TEXTURE11;
256 const int TEXTURE12 = RenderingContext.TEXTURE12; 256 const int TEXTURE12 = RenderingContextBase.TEXTURE12;
257 const int TEXTURE13 = RenderingContext.TEXTURE13; 257 const int TEXTURE13 = RenderingContextBase.TEXTURE13;
258 const int TEXTURE14 = RenderingContext.TEXTURE14; 258 const int TEXTURE14 = RenderingContextBase.TEXTURE14;
259 const int TEXTURE15 = RenderingContext.TEXTURE15; 259 const int TEXTURE15 = RenderingContextBase.TEXTURE15;
260 const int TEXTURE16 = RenderingContext.TEXTURE16; 260 const int TEXTURE16 = RenderingContextBase.TEXTURE16;
261 const int TEXTURE17 = RenderingContext.TEXTURE17; 261 const int TEXTURE17 = RenderingContextBase.TEXTURE17;
262 const int TEXTURE18 = RenderingContext.TEXTURE18; 262 const int TEXTURE18 = RenderingContextBase.TEXTURE18;
263 const int TEXTURE19 = RenderingContext.TEXTURE19; 263 const int TEXTURE19 = RenderingContextBase.TEXTURE19;
264 const int TEXTURE2 = RenderingContext.TEXTURE2; 264 const int TEXTURE2 = RenderingContextBase.TEXTURE2;
265 const int TEXTURE20 = RenderingContext.TEXTURE20; 265 const int TEXTURE20 = RenderingContextBase.TEXTURE20;
266 const int TEXTURE21 = RenderingContext.TEXTURE21; 266 const int TEXTURE21 = RenderingContextBase.TEXTURE21;
267 const int TEXTURE22 = RenderingContext.TEXTURE22; 267 const int TEXTURE22 = RenderingContextBase.TEXTURE22;
268 const int TEXTURE23 = RenderingContext.TEXTURE23; 268 const int TEXTURE23 = RenderingContextBase.TEXTURE23;
269 const int TEXTURE24 = RenderingContext.TEXTURE24; 269 const int TEXTURE24 = RenderingContextBase.TEXTURE24;
270 const int TEXTURE25 = RenderingContext.TEXTURE25; 270 const int TEXTURE25 = RenderingContextBase.TEXTURE25;
271 const int TEXTURE26 = RenderingContext.TEXTURE26; 271 const int TEXTURE26 = RenderingContextBase.TEXTURE26;
272 const int TEXTURE27 = RenderingContext.TEXTURE27; 272 const int TEXTURE27 = RenderingContextBase.TEXTURE27;
273 const int TEXTURE28 = RenderingContext.TEXTURE28; 273 const int TEXTURE28 = RenderingContextBase.TEXTURE28;
274 const int TEXTURE29 = RenderingContext.TEXTURE29; 274 const int TEXTURE29 = RenderingContextBase.TEXTURE29;
275 const int TEXTURE3 = RenderingContext.TEXTURE3; 275 const int TEXTURE3 = RenderingContextBase.TEXTURE3;
276 const int TEXTURE30 = RenderingContext.TEXTURE30; 276 const int TEXTURE30 = RenderingContextBase.TEXTURE30;
277 const int TEXTURE31 = RenderingContext.TEXTURE31; 277 const int TEXTURE31 = RenderingContextBase.TEXTURE31;
278 const int TEXTURE4 = RenderingContext.TEXTURE4; 278 const int TEXTURE4 = RenderingContextBase.TEXTURE4;
279 const int TEXTURE5 = RenderingContext.TEXTURE5; 279 const int TEXTURE5 = RenderingContextBase.TEXTURE5;
280 const int TEXTURE6 = RenderingContext.TEXTURE6; 280 const int TEXTURE6 = RenderingContextBase.TEXTURE6;
281 const int TEXTURE7 = RenderingContext.TEXTURE7; 281 const int TEXTURE7 = RenderingContextBase.TEXTURE7;
282 const int TEXTURE8 = RenderingContext.TEXTURE8; 282 const int TEXTURE8 = RenderingContextBase.TEXTURE8;
283 const int TEXTURE9 = RenderingContext.TEXTURE9; 283 const int TEXTURE9 = RenderingContextBase.TEXTURE9;
284 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; 284 const int TEXTURE_2D = RenderingContextBase.TEXTURE_2D;
285 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; 285 const int TEXTURE_BINDING_2D = RenderingContextBase.TEXTURE_BINDING_2D;
286 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; 286 const int TEXTURE_BINDING_CUBE_MAP = RenderingContextBase.TEXTURE_BINDING_CUBE_M AP;
287 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; 287 const int TEXTURE_CUBE_MAP = RenderingContextBase.TEXTURE_CUBE_MAP;
288 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContext.TEXTURE_CUBE_MAP_NEGATI VE_X; 288 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContextBase.TEXTURE_CUBE_MAP_NE GATIVE_X;
289 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_NEGATI VE_Y; 289 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContextBase.TEXTURE_CUBE_MAP_NE GATIVE_Y;
290 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_NEGATI VE_Z; 290 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContextBase.TEXTURE_CUBE_MAP_NE GATIVE_Z;
291 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContext.TEXTURE_CUBE_MAP_POSITI VE_X; 291 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContextBase.TEXTURE_CUBE_MAP_PO SITIVE_X;
292 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_POSITI VE_Y; 292 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContextBase.TEXTURE_CUBE_MAP_PO SITIVE_Y;
293 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_POSITI VE_Z; 293 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContextBase.TEXTURE_CUBE_MAP_PO SITIVE_Z;
294 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; 294 const int TEXTURE_MAG_FILTER = RenderingContextBase.TEXTURE_MAG_FILTER;
295 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; 295 const int TEXTURE_MIN_FILTER = RenderingContextBase.TEXTURE_MIN_FILTER;
296 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; 296 const int TEXTURE_WRAP_S = RenderingContextBase.TEXTURE_WRAP_S;
297 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; 297 const int TEXTURE_WRAP_T = RenderingContextBase.TEXTURE_WRAP_T;
298 const int TRIANGLES = RenderingContext.TRIANGLES; 298 const int TRIANGLES = RenderingContextBase.TRIANGLES;
299 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; 299 const int TRIANGLE_FAN = RenderingContextBase.TRIANGLE_FAN;
300 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; 300 const int TRIANGLE_STRIP = RenderingContextBase.TRIANGLE_STRIP;
301 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; 301 const int UNPACK_ALIGNMENT = RenderingContextBase.UNPACK_ALIGNMENT;
302 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPAC E_CONVERSION_WEBGL; 302 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContextBase.UNPACK_COLOR SPACE_CONVERSION_WEBGL;
303 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; 303 const int UNPACK_FLIP_Y_WEBGL = RenderingContextBase.UNPACK_FLIP_Y_WEBGL;
304 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContext.UNPACK_PREMULTIPLY_A LPHA_WEBGL; 304 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContextBase.UNPACK_PREMULTIP LY_ALPHA_WEBGL;
305 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; 305 const int UNSIGNED_BYTE = RenderingContextBase.UNSIGNED_BYTE;
306 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; 306 const int UNSIGNED_INT = RenderingContextBase.UNSIGNED_INT;
307 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; 307 const int UNSIGNED_SHORT = RenderingContextBase.UNSIGNED_SHORT;
308 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; 308 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContextBase.UNSIGNED_SHORT_4_4_4_4;
309 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; 309 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContextBase.UNSIGNED_SHORT_5_5_5_1;
310 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; 310 const int UNSIGNED_SHORT_5_6_5 = RenderingContextBase.UNSIGNED_SHORT_5_6_5;
311 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; 311 const int VALIDATE_STATUS = RenderingContextBase.VALIDATE_STATUS;
312 const int VENDOR = RenderingContext.VENDOR; 312 const int VENDOR = RenderingContextBase.VENDOR;
313 const int VERSION = RenderingContext.VERSION; 313 const int VERSION = RenderingContextBase.VERSION;
314 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContext.VERTEX_ATTRIB_AR RAY_BUFFER_BINDING; 314 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContextBase.VERTEX_ATTRI B_ARRAY_BUFFER_BINDING;
315 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContext.VERTEX_ATTRIB_ARRAY_ENA BLED; 315 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContextBase.VERTEX_ATTRIB_ARRAY _ENABLED;
316 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContext.VERTEX_ATTRIB_ARRAY_ NORMALIZED; 316 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContextBase.VERTEX_ATTRIB_AR RAY_NORMALIZED;
317 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContext.VERTEX_ATTRIB_ARRAY_POI NTER; 317 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContextBase.VERTEX_ATTRIB_ARRAY _POINTER;
318 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; 318 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContextBase.VERTEX_ATTRIB_ARRAY_SI ZE;
319 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRI DE; 319 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContextBase.VERTEX_ATTRIB_ARRAY_ STRIDE;
320 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; 320 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContextBase.VERTEX_ATTRIB_ARRAY_TY PE;
321 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; 321 const int VERTEX_SHADER = RenderingContextBase.VERTEX_SHADER;
322 const int VIEWPORT = RenderingContext.VIEWPORT; 322 const int VIEWPORT = RenderingContextBase.VIEWPORT;
323 const int ZERO = RenderingContext.ZERO; 323 const int ZERO = RenderingContextBase.ZERO;
324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
325 // for details. All rights reserved. Use of this source code is governed by a 325 // for details. All rights reserved. Use of this source code is governed by a
326 // BSD-style license that can be found in the LICENSE file. 326 // BSD-style license that can be found in the LICENSE file.
327 327
328 328
329 @DocsEditable() 329 @DocsEditable()
330 @DomName('WebGLActiveInfo') 330 @DomName('WebGLActiveInfo')
331 @Unstable() 331 @Unstable()
332 @Native("WebGLActiveInfo") 332 @Native("WebGLActiveInfo")
333 class ActiveInfo extends Interceptor { 333 class ActiveInfo extends Interceptor {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') 420 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL')
421 @DocsEditable() 421 @DocsEditable()
422 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; 422 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
423 } 423 }
424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
425 // for details. All rights reserved. Use of this source code is governed by a 425 // for details. All rights reserved. Use of this source code is governed by a
426 // BSD-style license that can be found in the LICENSE file. 426 // BSD-style license that can be found in the LICENSE file.
427 427
428 428
429 @DocsEditable() 429 @DocsEditable()
430 @DomName('WebGLCompressedTextureETC1')
431 @Experimental() // untriaged
432 @Native("WebGLCompressedTextureETC1")
433 class CompressedTextureETC1 extends Interceptor {
434 // To suppress missing implicit constructor warnings.
435 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported" ); }
436
437 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL')
438 @DocsEditable()
439 @Experimental() // untriaged
440 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64;
441 }
442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
443 // for details. All rights reserved. Use of this source code is governed by a
444 // BSD-style license that can be found in the LICENSE file.
445
446
447 @DocsEditable()
430 @DomName('WebGLCompressedTexturePVRTC') 448 @DomName('WebGLCompressedTexturePVRTC')
431 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/ 449 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/
432 @Experimental() // experimental 450 @Experimental() // experimental
433 @Native("WebGLCompressedTexturePVRTC") 451 @Native("WebGLCompressedTexturePVRTC")
434 class CompressedTexturePvrtc extends Interceptor { 452 class CompressedTexturePvrtc extends Interceptor {
435 // To suppress missing implicit constructor warnings. 453 // To suppress missing implicit constructor warnings.
436 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); } 454 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); }
437 455
438 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') 456 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
439 @DocsEditable() 457 @DocsEditable()
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 @DocsEditable() 780 @DocsEditable()
763 static const int DRAW_BUFFER9_WEBGL = 0x882E; 781 static const int DRAW_BUFFER9_WEBGL = 0x882E;
764 782
765 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') 783 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL')
766 @DocsEditable() 784 @DocsEditable()
767 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; 785 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF;
768 786
769 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') 787 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL')
770 @DocsEditable() 788 @DocsEditable()
771 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; 789 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824;
772
773 @JSName('drawBuffersWEBGL')
774 @DomName('WebGLDrawBuffers.drawBuffersWEBGL')
775 @DocsEditable()
776 void drawBuffersWebgl(List<int> buffers) native;
777 } 790 }
778 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 791 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
779 // for details. All rights reserved. Use of this source code is governed by a 792 // for details. All rights reserved. Use of this source code is governed by a
793 // BSD-style license that can be found in the LICENSE file.
794
795
796 @DocsEditable()
797 @DomName('EXTBlendMinMax')
798 @Experimental() // untriaged
799 @Native("EXTBlendMinMax")
800 class ExtBlendMinMax extends Interceptor {
801 // To suppress missing implicit constructor warnings.
802 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); }
803
804 @DomName('EXTBlendMinMax.MAX_EXT')
805 @DocsEditable()
806 @Experimental() // untriaged
807 static const int MAX_EXT = 0x8008;
808
809 @DomName('EXTBlendMinMax.MIN_EXT')
810 @DocsEditable()
811 @Experimental() // untriaged
812 static const int MIN_EXT = 0x8007;
813 }
814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
815 // for details. All rights reserved. Use of this source code is governed by a
780 // BSD-style license that can be found in the LICENSE file. 816 // BSD-style license that can be found in the LICENSE file.
781 817
782 818
783 @DocsEditable() 819 @DocsEditable()
784 @DomName('EXTFragDepth') 820 @DomName('EXTFragDepth')
785 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ 821 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
786 @Experimental() 822 @Experimental()
787 @Native("EXTFragDepth") 823 @Native("EXTFragDepth")
788 class ExtFragDepth extends Interceptor { 824 class ExtFragDepth extends Interceptor {
789 // To suppress missing implicit constructor warnings. 825 // To suppress missing implicit constructor warnings.
790 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } 826 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); }
791 } 827 }
792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
793 // for details. All rights reserved. Use of this source code is governed by a 829 // for details. All rights reserved. Use of this source code is governed by a
794 // BSD-style license that can be found in the LICENSE file. 830 // BSD-style license that can be found in the LICENSE file.
795 831
796 832
797 @DocsEditable() 833 @DocsEditable()
834 @DomName('EXTShaderTextureLOD')
835 @Experimental() // untriaged
836 @Native("EXTShaderTextureLOD")
837 class ExtShaderTextureLod extends Interceptor {
838 // To suppress missing implicit constructor warnings.
839 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
840 }
841 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
842 // for details. All rights reserved. Use of this source code is governed by a
843 // BSD-style license that can be found in the LICENSE file.
844
845
846 @DocsEditable()
798 @DomName('EXTTextureFilterAnisotropic') 847 @DomName('EXTTextureFilterAnisotropic')
799 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/ 848 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/
800 @Experimental() 849 @Experimental()
801 @Native("EXTTextureFilterAnisotropic") 850 @Native("EXTTextureFilterAnisotropic")
802 class ExtTextureFilterAnisotropic extends Interceptor { 851 class ExtTextureFilterAnisotropic extends Interceptor {
803 // To suppress missing implicit constructor warnings. 852 // To suppress missing implicit constructor warnings.
804 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); } 853 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); }
805 854
806 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') 855 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
807 @DocsEditable() 856 @DocsEditable()
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 // for details. All rights reserved. Use of this source code is governed by a 1055 // for details. All rights reserved. Use of this source code is governed by a
1007 // BSD-style license that can be found in the LICENSE file. 1056 // BSD-style license that can be found in the LICENSE file.
1008 1057
1009 1058
1010 @DomName('WebGLRenderingContext') 1059 @DomName('WebGLRenderingContext')
1011 @SupportedBrowser(SupportedBrowser.CHROME) 1060 @SupportedBrowser(SupportedBrowser.CHROME)
1012 @SupportedBrowser(SupportedBrowser.FIREFOX) 1061 @SupportedBrowser(SupportedBrowser.FIREFOX)
1013 @Experimental() 1062 @Experimental()
1014 @Unstable() 1063 @Unstable()
1015 @Native("WebGLRenderingContext") 1064 @Native("WebGLRenderingContext")
1016 class RenderingContext extends CanvasRenderingContext { 1065 class RenderingContext extends Interceptor implements CanvasRenderingContext {
1017 // To suppress missing implicit constructor warnings. 1066 // To suppress missing implicit constructor warnings.
1018 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } 1067 factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
1019 1068
1020 /// Checks if this type is supported on the current platform. 1069 /// Checks if this type is supported on the current platform.
1021 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)'); 1070 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)');
1022 1071
1023 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 1072 // From WebGLRenderingContextBase
1024 @DocsEditable() 1073
1025 static const int ACTIVE_ATTRIBUTES = 0x8B89; 1074 @DomName('WebGLRenderingContext.canvas')
1026 1075 @DocsEditable()
1027 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') 1076 @Experimental() // untriaged
1028 @DocsEditable() 1077 final CanvasElement canvas;
1029 static const int ACTIVE_TEXTURE = 0x84E0;
1030
1031 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS')
1032 @DocsEditable()
1033 static const int ACTIVE_UNIFORMS = 0x8B86;
1034
1035 @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE')
1036 @DocsEditable()
1037 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E;
1038
1039 @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE')
1040 @DocsEditable()
1041 static const int ALIASED_POINT_SIZE_RANGE = 0x846D;
1042
1043 @DomName('WebGLRenderingContext.ALPHA')
1044 @DocsEditable()
1045 static const int ALPHA = 0x1906;
1046
1047 @DomName('WebGLRenderingContext.ALPHA_BITS')
1048 @DocsEditable()
1049 static const int ALPHA_BITS = 0x0D55;
1050
1051 @DomName('WebGLRenderingContext.ALWAYS')
1052 @DocsEditable()
1053 static const int ALWAYS = 0x0207;
1054
1055 @DomName('WebGLRenderingContext.ARRAY_BUFFER')
1056 @DocsEditable()
1057 static const int ARRAY_BUFFER = 0x8892;
1058
1059 @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING')
1060 @DocsEditable()
1061 static const int ARRAY_BUFFER_BINDING = 0x8894;
1062
1063 @DomName('WebGLRenderingContext.ATTACHED_SHADERS')
1064 @DocsEditable()
1065 static const int ATTACHED_SHADERS = 0x8B85;
1066
1067 @DomName('WebGLRenderingContext.BACK')
1068 @DocsEditable()
1069 static const int BACK = 0x0405;
1070
1071 @DomName('WebGLRenderingContext.BLEND')
1072 @DocsEditable()
1073 static const int BLEND = 0x0BE2;
1074
1075 @DomName('WebGLRenderingContext.BLEND_COLOR')
1076 @DocsEditable()
1077 static const int BLEND_COLOR = 0x8005;
1078
1079 @DomName('WebGLRenderingContext.BLEND_DST_ALPHA')
1080 @DocsEditable()
1081 static const int BLEND_DST_ALPHA = 0x80CA;
1082
1083 @DomName('WebGLRenderingContext.BLEND_DST_RGB')
1084 @DocsEditable()
1085 static const int BLEND_DST_RGB = 0x80C8;
1086
1087 @DomName('WebGLRenderingContext.BLEND_EQUATION')
1088 @DocsEditable()
1089 static const int BLEND_EQUATION = 0x8009;
1090
1091 @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA')
1092 @DocsEditable()
1093 static const int BLEND_EQUATION_ALPHA = 0x883D;
1094
1095 @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB')
1096 @DocsEditable()
1097 static const int BLEND_EQUATION_RGB = 0x8009;
1098
1099 @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA')
1100 @DocsEditable()
1101 static const int BLEND_SRC_ALPHA = 0x80CB;
1102
1103 @DomName('WebGLRenderingContext.BLEND_SRC_RGB')
1104 @DocsEditable()
1105 static const int BLEND_SRC_RGB = 0x80C9;
1106
1107 @DomName('WebGLRenderingContext.BLUE_BITS')
1108 @DocsEditable()
1109 static const int BLUE_BITS = 0x0D54;
1110
1111 @DomName('WebGLRenderingContext.BOOL')
1112 @DocsEditable()
1113 static const int BOOL = 0x8B56;
1114
1115 @DomName('WebGLRenderingContext.BOOL_VEC2')
1116 @DocsEditable()
1117 static const int BOOL_VEC2 = 0x8B57;
1118
1119 @DomName('WebGLRenderingContext.BOOL_VEC3')
1120 @DocsEditable()
1121 static const int BOOL_VEC3 = 0x8B58;
1122
1123 @DomName('WebGLRenderingContext.BOOL_VEC4')
1124 @DocsEditable()
1125 static const int BOOL_VEC4 = 0x8B59;
1126
1127 @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL')
1128 @DocsEditable()
1129 static const int BROWSER_DEFAULT_WEBGL = 0x9244;
1130
1131 @DomName('WebGLRenderingContext.BUFFER_SIZE')
1132 @DocsEditable()
1133 static const int BUFFER_SIZE = 0x8764;
1134
1135 @DomName('WebGLRenderingContext.BUFFER_USAGE')
1136 @DocsEditable()
1137 static const int BUFFER_USAGE = 0x8765;
1138
1139 @DomName('WebGLRenderingContext.BYTE')
1140 @DocsEditable()
1141 static const int BYTE = 0x1400;
1142
1143 @DomName('WebGLRenderingContext.CCW')
1144 @DocsEditable()
1145 static const int CCW = 0x0901;
1146
1147 @DomName('WebGLRenderingContext.CLAMP_TO_EDGE')
1148 @DocsEditable()
1149 static const int CLAMP_TO_EDGE = 0x812F;
1150
1151 @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0')
1152 @DocsEditable()
1153 static const int COLOR_ATTACHMENT0 = 0x8CE0;
1154
1155 @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT')
1156 @DocsEditable()
1157 static const int COLOR_BUFFER_BIT = 0x00004000;
1158
1159 @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE')
1160 @DocsEditable()
1161 static const int COLOR_CLEAR_VALUE = 0x0C22;
1162
1163 @DomName('WebGLRenderingContext.COLOR_WRITEMASK')
1164 @DocsEditable()
1165 static const int COLOR_WRITEMASK = 0x0C23;
1166
1167 @DomName('WebGLRenderingContext.COMPILE_STATUS')
1168 @DocsEditable()
1169 static const int COMPILE_STATUS = 0x8B81;
1170
1171 @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS')
1172 @DocsEditable()
1173 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
1174
1175 @DomName('WebGLRenderingContext.CONSTANT_ALPHA')
1176 @DocsEditable()
1177 static const int CONSTANT_ALPHA = 0x8003;
1178
1179 @DomName('WebGLRenderingContext.CONSTANT_COLOR')
1180 @DocsEditable()
1181 static const int CONSTANT_COLOR = 0x8001;
1182
1183 @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL')
1184 @DocsEditable()
1185 static const int CONTEXT_LOST_WEBGL = 0x9242;
1186
1187 @DomName('WebGLRenderingContext.CULL_FACE')
1188 @DocsEditable()
1189 static const int CULL_FACE = 0x0B44;
1190
1191 @DomName('WebGLRenderingContext.CULL_FACE_MODE')
1192 @DocsEditable()
1193 static const int CULL_FACE_MODE = 0x0B45;
1194
1195 @DomName('WebGLRenderingContext.CURRENT_PROGRAM')
1196 @DocsEditable()
1197 static const int CURRENT_PROGRAM = 0x8B8D;
1198
1199 @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB')
1200 @DocsEditable()
1201 static const int CURRENT_VERTEX_ATTRIB = 0x8626;
1202
1203 @DomName('WebGLRenderingContext.CW')
1204 @DocsEditable()
1205 static const int CW = 0x0900;
1206
1207 @DomName('WebGLRenderingContext.DECR')
1208 @DocsEditable()
1209 static const int DECR = 0x1E03;
1210
1211 @DomName('WebGLRenderingContext.DECR_WRAP')
1212 @DocsEditable()
1213 static const int DECR_WRAP = 0x8508;
1214
1215 @DomName('WebGLRenderingContext.DELETE_STATUS')
1216 @DocsEditable()
1217 static const int DELETE_STATUS = 0x8B80;
1218
1219 @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT')
1220 @DocsEditable()
1221 static const int DEPTH_ATTACHMENT = 0x8D00;
1222
1223 @DomName('WebGLRenderingContext.DEPTH_BITS')
1224 @DocsEditable()
1225 static const int DEPTH_BITS = 0x0D56;
1226
1227 @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT')
1228 @DocsEditable()
1229 static const int DEPTH_BUFFER_BIT = 0x00000100;
1230
1231 @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE')
1232 @DocsEditable()
1233 static const int DEPTH_CLEAR_VALUE = 0x0B73;
1234
1235 @DomName('WebGLRenderingContext.DEPTH_COMPONENT')
1236 @DocsEditable()
1237 static const int DEPTH_COMPONENT = 0x1902;
1238
1239 @DomName('WebGLRenderingContext.DEPTH_COMPONENT16')
1240 @DocsEditable()
1241 static const int DEPTH_COMPONENT16 = 0x81A5;
1242
1243 @DomName('WebGLRenderingContext.DEPTH_FUNC')
1244 @DocsEditable()
1245 static const int DEPTH_FUNC = 0x0B74;
1246
1247 @DomName('WebGLRenderingContext.DEPTH_RANGE')
1248 @DocsEditable()
1249 static const int DEPTH_RANGE = 0x0B70;
1250
1251 @DomName('WebGLRenderingContext.DEPTH_STENCIL')
1252 @DocsEditable()
1253 static const int DEPTH_STENCIL = 0x84F9;
1254
1255 @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT')
1256 @DocsEditable()
1257 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A;
1258
1259 @DomName('WebGLRenderingContext.DEPTH_TEST')
1260 @DocsEditable()
1261 static const int DEPTH_TEST = 0x0B71;
1262
1263 @DomName('WebGLRenderingContext.DEPTH_WRITEMASK')
1264 @DocsEditable()
1265 static const int DEPTH_WRITEMASK = 0x0B72;
1266
1267 @DomName('WebGLRenderingContext.DITHER')
1268 @DocsEditable()
1269 static const int DITHER = 0x0BD0;
1270
1271 @DomName('WebGLRenderingContext.DONT_CARE')
1272 @DocsEditable()
1273 static const int DONT_CARE = 0x1100;
1274
1275 @DomName('WebGLRenderingContext.DST_ALPHA')
1276 @DocsEditable()
1277 static const int DST_ALPHA = 0x0304;
1278
1279 @DomName('WebGLRenderingContext.DST_COLOR')
1280 @DocsEditable()
1281 static const int DST_COLOR = 0x0306;
1282
1283 @DomName('WebGLRenderingContext.DYNAMIC_DRAW')
1284 @DocsEditable()
1285 static const int DYNAMIC_DRAW = 0x88E8;
1286
1287 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER')
1288 @DocsEditable()
1289 static const int ELEMENT_ARRAY_BUFFER = 0x8893;
1290
1291 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING')
1292 @DocsEditable()
1293 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
1294
1295 @DomName('WebGLRenderingContext.EQUAL')
1296 @DocsEditable()
1297 static const int EQUAL = 0x0202;
1298
1299 @DomName('WebGLRenderingContext.FASTEST')
1300 @DocsEditable()
1301 static const int FASTEST = 0x1101;
1302
1303 @DomName('WebGLRenderingContext.FLOAT')
1304 @DocsEditable()
1305 static const int FLOAT = 0x1406;
1306
1307 @DomName('WebGLRenderingContext.FLOAT_MAT2')
1308 @DocsEditable()
1309 static const int FLOAT_MAT2 = 0x8B5A;
1310
1311 @DomName('WebGLRenderingContext.FLOAT_MAT3')
1312 @DocsEditable()
1313 static const int FLOAT_MAT3 = 0x8B5B;
1314
1315 @DomName('WebGLRenderingContext.FLOAT_MAT4')
1316 @DocsEditable()
1317 static const int FLOAT_MAT4 = 0x8B5C;
1318
1319 @DomName('WebGLRenderingContext.FLOAT_VEC2')
1320 @DocsEditable()
1321 static const int FLOAT_VEC2 = 0x8B50;
1322
1323 @DomName('WebGLRenderingContext.FLOAT_VEC3')
1324 @DocsEditable()
1325 static const int FLOAT_VEC3 = 0x8B51;
1326
1327 @DomName('WebGLRenderingContext.FLOAT_VEC4')
1328 @DocsEditable()
1329 static const int FLOAT_VEC4 = 0x8B52;
1330
1331 @DomName('WebGLRenderingContext.FRAGMENT_SHADER')
1332 @DocsEditable()
1333 static const int FRAGMENT_SHADER = 0x8B30;
1334
1335 @DomName('WebGLRenderingContext.FRAMEBUFFER')
1336 @DocsEditable()
1337 static const int FRAMEBUFFER = 0x8D40;
1338
1339 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME')
1340 @DocsEditable()
1341 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
1342
1343 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE')
1344 @DocsEditable()
1345 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
1346
1347 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE')
1348 @DocsEditable()
1349 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
1350
1351 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL')
1352 @DocsEditable()
1353 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
1354
1355 @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING')
1356 @DocsEditable()
1357 static const int FRAMEBUFFER_BINDING = 0x8CA6;
1358
1359 @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE')
1360 @DocsEditable()
1361 static const int FRAMEBUFFER_COMPLETE = 0x8CD5;
1362
1363 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT')
1364 @DocsEditable()
1365 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
1366
1367 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS')
1368 @DocsEditable()
1369 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
1370
1371 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT')
1372 @DocsEditable()
1373 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
1374
1375 @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED')
1376 @DocsEditable()
1377 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
1378
1379 @DomName('WebGLRenderingContext.FRONT')
1380 @DocsEditable()
1381 static const int FRONT = 0x0404;
1382
1383 @DomName('WebGLRenderingContext.FRONT_AND_BACK')
1384 @DocsEditable()
1385 static const int FRONT_AND_BACK = 0x0408;
1386
1387 @DomName('WebGLRenderingContext.FRONT_FACE')
1388 @DocsEditable()
1389 static const int FRONT_FACE = 0x0B46;
1390
1391 @DomName('WebGLRenderingContext.FUNC_ADD')
1392 @DocsEditable()
1393 static const int FUNC_ADD = 0x8006;
1394
1395 @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT')
1396 @DocsEditable()
1397 static const int FUNC_REVERSE_SUBTRACT = 0x800B;
1398
1399 @DomName('WebGLRenderingContext.FUNC_SUBTRACT')
1400 @DocsEditable()
1401 static const int FUNC_SUBTRACT = 0x800A;
1402
1403 @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT')
1404 @DocsEditable()
1405 static const int GENERATE_MIPMAP_HINT = 0x8192;
1406
1407 @DomName('WebGLRenderingContext.GEQUAL')
1408 @DocsEditable()
1409 static const int GEQUAL = 0x0206;
1410
1411 @DomName('WebGLRenderingContext.GREATER')
1412 @DocsEditable()
1413 static const int GREATER = 0x0204;
1414
1415 @DomName('WebGLRenderingContext.GREEN_BITS')
1416 @DocsEditable()
1417 static const int GREEN_BITS = 0x0D53;
1418
1419 @DomName('WebGLRenderingContext.HIGH_FLOAT')
1420 @DocsEditable()
1421 static const int HIGH_FLOAT = 0x8DF2;
1422
1423 @DomName('WebGLRenderingContext.HIGH_INT')
1424 @DocsEditable()
1425 static const int HIGH_INT = 0x8DF5;
1426
1427 @DomName('WebGLRenderingContext.INCR')
1428 @DocsEditable()
1429 static const int INCR = 0x1E02;
1430
1431 @DomName('WebGLRenderingContext.INCR_WRAP')
1432 @DocsEditable()
1433 static const int INCR_WRAP = 0x8507;
1434
1435 @DomName('WebGLRenderingContext.INT')
1436 @DocsEditable()
1437 static const int INT = 0x1404;
1438
1439 @DomName('WebGLRenderingContext.INT_VEC2')
1440 @DocsEditable()
1441 static const int INT_VEC2 = 0x8B53;
1442
1443 @DomName('WebGLRenderingContext.INT_VEC3')
1444 @DocsEditable()
1445 static const int INT_VEC3 = 0x8B54;
1446
1447 @DomName('WebGLRenderingContext.INT_VEC4')
1448 @DocsEditable()
1449 static const int INT_VEC4 = 0x8B55;
1450
1451 @DomName('WebGLRenderingContext.INVALID_ENUM')
1452 @DocsEditable()
1453 static const int INVALID_ENUM = 0x0500;
1454
1455 @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION')
1456 @DocsEditable()
1457 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
1458
1459 @DomName('WebGLRenderingContext.INVALID_OPERATION')
1460 @DocsEditable()
1461 static const int INVALID_OPERATION = 0x0502;
1462
1463 @DomName('WebGLRenderingContext.INVALID_VALUE')
1464 @DocsEditable()
1465 static const int INVALID_VALUE = 0x0501;
1466
1467 @DomName('WebGLRenderingContext.INVERT')
1468 @DocsEditable()
1469 static const int INVERT = 0x150A;
1470
1471 @DomName('WebGLRenderingContext.KEEP')
1472 @DocsEditable()
1473 static const int KEEP = 0x1E00;
1474
1475 @DomName('WebGLRenderingContext.LEQUAL')
1476 @DocsEditable()
1477 static const int LEQUAL = 0x0203;
1478
1479 @DomName('WebGLRenderingContext.LESS')
1480 @DocsEditable()
1481 static const int LESS = 0x0201;
1482
1483 @DomName('WebGLRenderingContext.LINEAR')
1484 @DocsEditable()
1485 static const int LINEAR = 0x2601;
1486
1487 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR')
1488 @DocsEditable()
1489 static const int LINEAR_MIPMAP_LINEAR = 0x2703;
1490
1491 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST')
1492 @DocsEditable()
1493 static const int LINEAR_MIPMAP_NEAREST = 0x2701;
1494
1495 @DomName('WebGLRenderingContext.LINES')
1496 @DocsEditable()
1497 static const int LINES = 0x0001;
1498
1499 @DomName('WebGLRenderingContext.LINE_LOOP')
1500 @DocsEditable()
1501 static const int LINE_LOOP = 0x0002;
1502
1503 @DomName('WebGLRenderingContext.LINE_STRIP')
1504 @DocsEditable()
1505 static const int LINE_STRIP = 0x0003;
1506
1507 @DomName('WebGLRenderingContext.LINE_WIDTH')
1508 @DocsEditable()
1509 static const int LINE_WIDTH = 0x0B21;
1510
1511 @DomName('WebGLRenderingContext.LINK_STATUS')
1512 @DocsEditable()
1513 static const int LINK_STATUS = 0x8B82;
1514
1515 @DomName('WebGLRenderingContext.LOW_FLOAT')
1516 @DocsEditable()
1517 static const int LOW_FLOAT = 0x8DF0;
1518
1519 @DomName('WebGLRenderingContext.LOW_INT')
1520 @DocsEditable()
1521 static const int LOW_INT = 0x8DF3;
1522
1523 @DomName('WebGLRenderingContext.LUMINANCE')
1524 @DocsEditable()
1525 static const int LUMINANCE = 0x1909;
1526
1527 @DomName('WebGLRenderingContext.LUMINANCE_ALPHA')
1528 @DocsEditable()
1529 static const int LUMINANCE_ALPHA = 0x190A;
1530
1531 @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS')
1532 @DocsEditable()
1533 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
1534
1535 @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE')
1536 @DocsEditable()
1537 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
1538
1539 @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS')
1540 @DocsEditable()
1541 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
1542
1543 @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE')
1544 @DocsEditable()
1545 static const int MAX_RENDERBUFFER_SIZE = 0x84E8;
1546
1547 @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS')
1548 @DocsEditable()
1549 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
1550
1551 @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE')
1552 @DocsEditable()
1553 static const int MAX_TEXTURE_SIZE = 0x0D33;
1554
1555 @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS')
1556 @DocsEditable()
1557 static const int MAX_VARYING_VECTORS = 0x8DFC;
1558
1559 @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS')
1560 @DocsEditable()
1561 static const int MAX_VERTEX_ATTRIBS = 0x8869;
1562
1563 @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS')
1564 @DocsEditable()
1565 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
1566
1567 @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS')
1568 @DocsEditable()
1569 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
1570
1571 @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS')
1572 @DocsEditable()
1573 static const int MAX_VIEWPORT_DIMS = 0x0D3A;
1574
1575 @DomName('WebGLRenderingContext.MEDIUM_FLOAT')
1576 @DocsEditable()
1577 static const int MEDIUM_FLOAT = 0x8DF1;
1578
1579 @DomName('WebGLRenderingContext.MEDIUM_INT')
1580 @DocsEditable()
1581 static const int MEDIUM_INT = 0x8DF4;
1582
1583 @DomName('WebGLRenderingContext.MIRRORED_REPEAT')
1584 @DocsEditable()
1585 static const int MIRRORED_REPEAT = 0x8370;
1586
1587 @DomName('WebGLRenderingContext.NEAREST')
1588 @DocsEditable()
1589 static const int NEAREST = 0x2600;
1590
1591 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR')
1592 @DocsEditable()
1593 static const int NEAREST_MIPMAP_LINEAR = 0x2702;
1594
1595 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST')
1596 @DocsEditable()
1597 static const int NEAREST_MIPMAP_NEAREST = 0x2700;
1598
1599 @DomName('WebGLRenderingContext.NEVER')
1600 @DocsEditable()
1601 static const int NEVER = 0x0200;
1602
1603 @DomName('WebGLRenderingContext.NICEST')
1604 @DocsEditable()
1605 static const int NICEST = 0x1102;
1606
1607 @DomName('WebGLRenderingContext.NONE')
1608 @DocsEditable()
1609 static const int NONE = 0;
1610
1611 @DomName('WebGLRenderingContext.NOTEQUAL')
1612 @DocsEditable()
1613 static const int NOTEQUAL = 0x0205;
1614
1615 @DomName('WebGLRenderingContext.NO_ERROR')
1616 @DocsEditable()
1617 static const int NO_ERROR = 0;
1618
1619 @DomName('WebGLRenderingContext.ONE')
1620 @DocsEditable()
1621 static const int ONE = 1;
1622
1623 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA')
1624 @DocsEditable()
1625 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
1626
1627 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR')
1628 @DocsEditable()
1629 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002;
1630
1631 @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA')
1632 @DocsEditable()
1633 static const int ONE_MINUS_DST_ALPHA = 0x0305;
1634
1635 @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR')
1636 @DocsEditable()
1637 static const int ONE_MINUS_DST_COLOR = 0x0307;
1638
1639 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA')
1640 @DocsEditable()
1641 static const int ONE_MINUS_SRC_ALPHA = 0x0303;
1642
1643 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR')
1644 @DocsEditable()
1645 static const int ONE_MINUS_SRC_COLOR = 0x0301;
1646
1647 @DomName('WebGLRenderingContext.OUT_OF_MEMORY')
1648 @DocsEditable()
1649 static const int OUT_OF_MEMORY = 0x0505;
1650
1651 @DomName('WebGLRenderingContext.PACK_ALIGNMENT')
1652 @DocsEditable()
1653 static const int PACK_ALIGNMENT = 0x0D05;
1654
1655 @DomName('WebGLRenderingContext.POINTS')
1656 @DocsEditable()
1657 static const int POINTS = 0x0000;
1658
1659 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR')
1660 @DocsEditable()
1661 static const int POLYGON_OFFSET_FACTOR = 0x8038;
1662
1663 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL')
1664 @DocsEditable()
1665 static const int POLYGON_OFFSET_FILL = 0x8037;
1666
1667 @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS')
1668 @DocsEditable()
1669 static const int POLYGON_OFFSET_UNITS = 0x2A00;
1670
1671 @DomName('WebGLRenderingContext.RED_BITS')
1672 @DocsEditable()
1673 static const int RED_BITS = 0x0D52;
1674
1675 @DomName('WebGLRenderingContext.RENDERBUFFER')
1676 @DocsEditable()
1677 static const int RENDERBUFFER = 0x8D41;
1678
1679 @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE')
1680 @DocsEditable()
1681 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
1682
1683 @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING')
1684 @DocsEditable()
1685 static const int RENDERBUFFER_BINDING = 0x8CA7;
1686
1687 @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE')
1688 @DocsEditable()
1689 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52;
1690
1691 @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE')
1692 @DocsEditable()
1693 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
1694
1695 @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE')
1696 @DocsEditable()
1697 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51;
1698
1699 @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT')
1700 @DocsEditable()
1701 static const int RENDERBUFFER_HEIGHT = 0x8D43;
1702
1703 @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT')
1704 @DocsEditable()
1705 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
1706
1707 @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE')
1708 @DocsEditable()
1709 static const int RENDERBUFFER_RED_SIZE = 0x8D50;
1710
1711 @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE')
1712 @DocsEditable()
1713 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
1714
1715 @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH')
1716 @DocsEditable()
1717 static const int RENDERBUFFER_WIDTH = 0x8D42;
1718
1719 @DomName('WebGLRenderingContext.RENDERER')
1720 @DocsEditable()
1721 static const int RENDERER = 0x1F01;
1722
1723 @DomName('WebGLRenderingContext.REPEAT')
1724 @DocsEditable()
1725 static const int REPEAT = 0x2901;
1726
1727 @DomName('WebGLRenderingContext.REPLACE')
1728 @DocsEditable()
1729 static const int REPLACE = 0x1E01;
1730
1731 @DomName('WebGLRenderingContext.RGB')
1732 @DocsEditable()
1733 static const int RGB = 0x1907;
1734
1735 @DomName('WebGLRenderingContext.RGB565')
1736 @DocsEditable()
1737 static const int RGB565 = 0x8D62;
1738
1739 @DomName('WebGLRenderingContext.RGB5_A1')
1740 @DocsEditable()
1741 static const int RGB5_A1 = 0x8057;
1742
1743 @DomName('WebGLRenderingContext.RGBA')
1744 @DocsEditable()
1745 static const int RGBA = 0x1908;
1746
1747 @DomName('WebGLRenderingContext.RGBA4')
1748 @DocsEditable()
1749 static const int RGBA4 = 0x8056;
1750
1751 @DomName('WebGLRenderingContext.SAMPLER_2D')
1752 @DocsEditable()
1753 static const int SAMPLER_2D = 0x8B5E;
1754
1755 @DomName('WebGLRenderingContext.SAMPLER_CUBE')
1756 @DocsEditable()
1757 static const int SAMPLER_CUBE = 0x8B60;
1758
1759 @DomName('WebGLRenderingContext.SAMPLES')
1760 @DocsEditable()
1761 static const int SAMPLES = 0x80A9;
1762
1763 @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE')
1764 @DocsEditable()
1765 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
1766
1767 @DomName('WebGLRenderingContext.SAMPLE_BUFFERS')
1768 @DocsEditable()
1769 static const int SAMPLE_BUFFERS = 0x80A8;
1770
1771 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE')
1772 @DocsEditable()
1773 static const int SAMPLE_COVERAGE = 0x80A0;
1774
1775 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT')
1776 @DocsEditable()
1777 static const int SAMPLE_COVERAGE_INVERT = 0x80AB;
1778
1779 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE')
1780 @DocsEditable()
1781 static const int SAMPLE_COVERAGE_VALUE = 0x80AA;
1782
1783 @DomName('WebGLRenderingContext.SCISSOR_BOX')
1784 @DocsEditable()
1785 static const int SCISSOR_BOX = 0x0C10;
1786
1787 @DomName('WebGLRenderingContext.SCISSOR_TEST')
1788 @DocsEditable()
1789 static const int SCISSOR_TEST = 0x0C11;
1790
1791 @DomName('WebGLRenderingContext.SHADER_TYPE')
1792 @DocsEditable()
1793 static const int SHADER_TYPE = 0x8B4F;
1794
1795 @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION')
1796 @DocsEditable()
1797 static const int SHADING_LANGUAGE_VERSION = 0x8B8C;
1798
1799 @DomName('WebGLRenderingContext.SHORT')
1800 @DocsEditable()
1801 static const int SHORT = 0x1402;
1802
1803 @DomName('WebGLRenderingContext.SRC_ALPHA')
1804 @DocsEditable()
1805 static const int SRC_ALPHA = 0x0302;
1806
1807 @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE')
1808 @DocsEditable()
1809 static const int SRC_ALPHA_SATURATE = 0x0308;
1810
1811 @DomName('WebGLRenderingContext.SRC_COLOR')
1812 @DocsEditable()
1813 static const int SRC_COLOR = 0x0300;
1814
1815 @DomName('WebGLRenderingContext.STATIC_DRAW')
1816 @DocsEditable()
1817 static const int STATIC_DRAW = 0x88E4;
1818
1819 @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT')
1820 @DocsEditable()
1821 static const int STENCIL_ATTACHMENT = 0x8D20;
1822
1823 @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL')
1824 @DocsEditable()
1825 static const int STENCIL_BACK_FAIL = 0x8801;
1826
1827 @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC')
1828 @DocsEditable()
1829 static const int STENCIL_BACK_FUNC = 0x8800;
1830
1831 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL')
1832 @DocsEditable()
1833 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
1834
1835 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS')
1836 @DocsEditable()
1837 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
1838
1839 @DomName('WebGLRenderingContext.STENCIL_BACK_REF')
1840 @DocsEditable()
1841 static const int STENCIL_BACK_REF = 0x8CA3;
1842
1843 @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK')
1844 @DocsEditable()
1845 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4;
1846
1847 @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK')
1848 @DocsEditable()
1849 static const int STENCIL_BACK_WRITEMASK = 0x8CA5;
1850
1851 @DomName('WebGLRenderingContext.STENCIL_BITS')
1852 @DocsEditable()
1853 static const int STENCIL_BITS = 0x0D57;
1854
1855 @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT')
1856 @DocsEditable()
1857 static const int STENCIL_BUFFER_BIT = 0x00000400;
1858
1859 @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE')
1860 @DocsEditable()
1861 static const int STENCIL_CLEAR_VALUE = 0x0B91;
1862
1863 @DomName('WebGLRenderingContext.STENCIL_FAIL')
1864 @DocsEditable()
1865 static const int STENCIL_FAIL = 0x0B94;
1866
1867 @DomName('WebGLRenderingContext.STENCIL_FUNC')
1868 @DocsEditable()
1869 static const int STENCIL_FUNC = 0x0B92;
1870
1871 @DomName('WebGLRenderingContext.STENCIL_INDEX')
1872 @DocsEditable()
1873 static const int STENCIL_INDEX = 0x1901;
1874
1875 @DomName('WebGLRenderingContext.STENCIL_INDEX8')
1876 @DocsEditable()
1877 static const int STENCIL_INDEX8 = 0x8D48;
1878
1879 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL')
1880 @DocsEditable()
1881 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
1882
1883 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS')
1884 @DocsEditable()
1885 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96;
1886
1887 @DomName('WebGLRenderingContext.STENCIL_REF')
1888 @DocsEditable()
1889 static const int STENCIL_REF = 0x0B97;
1890
1891 @DomName('WebGLRenderingContext.STENCIL_TEST')
1892 @DocsEditable()
1893 static const int STENCIL_TEST = 0x0B90;
1894
1895 @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK')
1896 @DocsEditable()
1897 static const int STENCIL_VALUE_MASK = 0x0B93;
1898
1899 @DomName('WebGLRenderingContext.STENCIL_WRITEMASK')
1900 @DocsEditable()
1901 static const int STENCIL_WRITEMASK = 0x0B98;
1902
1903 @DomName('WebGLRenderingContext.STREAM_DRAW')
1904 @DocsEditable()
1905 static const int STREAM_DRAW = 0x88E0;
1906
1907 @DomName('WebGLRenderingContext.SUBPIXEL_BITS')
1908 @DocsEditable()
1909 static const int SUBPIXEL_BITS = 0x0D50;
1910
1911 @DomName('WebGLRenderingContext.TEXTURE')
1912 @DocsEditable()
1913 static const int TEXTURE = 0x1702;
1914
1915 @DomName('WebGLRenderingContext.TEXTURE0')
1916 @DocsEditable()
1917 static const int TEXTURE0 = 0x84C0;
1918
1919 @DomName('WebGLRenderingContext.TEXTURE1')
1920 @DocsEditable()
1921 static const int TEXTURE1 = 0x84C1;
1922
1923 @DomName('WebGLRenderingContext.TEXTURE10')
1924 @DocsEditable()
1925 static const int TEXTURE10 = 0x84CA;
1926
1927 @DomName('WebGLRenderingContext.TEXTURE11')
1928 @DocsEditable()
1929 static const int TEXTURE11 = 0x84CB;
1930
1931 @DomName('WebGLRenderingContext.TEXTURE12')
1932 @DocsEditable()
1933 static const int TEXTURE12 = 0x84CC;
1934
1935 @DomName('WebGLRenderingContext.TEXTURE13')
1936 @DocsEditable()
1937 static const int TEXTURE13 = 0x84CD;
1938
1939 @DomName('WebGLRenderingContext.TEXTURE14')
1940 @DocsEditable()
1941 static const int TEXTURE14 = 0x84CE;
1942
1943 @DomName('WebGLRenderingContext.TEXTURE15')
1944 @DocsEditable()
1945 static const int TEXTURE15 = 0x84CF;
1946
1947 @DomName('WebGLRenderingContext.TEXTURE16')
1948 @DocsEditable()
1949 static const int TEXTURE16 = 0x84D0;
1950
1951 @DomName('WebGLRenderingContext.TEXTURE17')
1952 @DocsEditable()
1953 static const int TEXTURE17 = 0x84D1;
1954
1955 @DomName('WebGLRenderingContext.TEXTURE18')
1956 @DocsEditable()
1957 static const int TEXTURE18 = 0x84D2;
1958
1959 @DomName('WebGLRenderingContext.TEXTURE19')
1960 @DocsEditable()
1961 static const int TEXTURE19 = 0x84D3;
1962
1963 @DomName('WebGLRenderingContext.TEXTURE2')
1964 @DocsEditable()
1965 static const int TEXTURE2 = 0x84C2;
1966
1967 @DomName('WebGLRenderingContext.TEXTURE20')
1968 @DocsEditable()
1969 static const int TEXTURE20 = 0x84D4;
1970
1971 @DomName('WebGLRenderingContext.TEXTURE21')
1972 @DocsEditable()
1973 static const int TEXTURE21 = 0x84D5;
1974
1975 @DomName('WebGLRenderingContext.TEXTURE22')
1976 @DocsEditable()
1977 static const int TEXTURE22 = 0x84D6;
1978
1979 @DomName('WebGLRenderingContext.TEXTURE23')
1980 @DocsEditable()
1981 static const int TEXTURE23 = 0x84D7;
1982
1983 @DomName('WebGLRenderingContext.TEXTURE24')
1984 @DocsEditable()
1985 static const int TEXTURE24 = 0x84D8;
1986
1987 @DomName('WebGLRenderingContext.TEXTURE25')
1988 @DocsEditable()
1989 static const int TEXTURE25 = 0x84D9;
1990
1991 @DomName('WebGLRenderingContext.TEXTURE26')
1992 @DocsEditable()
1993 static const int TEXTURE26 = 0x84DA;
1994
1995 @DomName('WebGLRenderingContext.TEXTURE27')
1996 @DocsEditable()
1997 static const int TEXTURE27 = 0x84DB;
1998
1999 @DomName('WebGLRenderingContext.TEXTURE28')
2000 @DocsEditable()
2001 static const int TEXTURE28 = 0x84DC;
2002
2003 @DomName('WebGLRenderingContext.TEXTURE29')
2004 @DocsEditable()
2005 static const int TEXTURE29 = 0x84DD;
2006
2007 @DomName('WebGLRenderingContext.TEXTURE3')
2008 @DocsEditable()
2009 static const int TEXTURE3 = 0x84C3;
2010
2011 @DomName('WebGLRenderingContext.TEXTURE30')
2012 @DocsEditable()
2013 static const int TEXTURE30 = 0x84DE;
2014
2015 @DomName('WebGLRenderingContext.TEXTURE31')
2016 @DocsEditable()
2017 static const int TEXTURE31 = 0x84DF;
2018
2019 @DomName('WebGLRenderingContext.TEXTURE4')
2020 @DocsEditable()
2021 static const int TEXTURE4 = 0x84C4;
2022
2023 @DomName('WebGLRenderingContext.TEXTURE5')
2024 @DocsEditable()
2025 static const int TEXTURE5 = 0x84C5;
2026
2027 @DomName('WebGLRenderingContext.TEXTURE6')
2028 @DocsEditable()
2029 static const int TEXTURE6 = 0x84C6;
2030
2031 @DomName('WebGLRenderingContext.TEXTURE7')
2032 @DocsEditable()
2033 static const int TEXTURE7 = 0x84C7;
2034
2035 @DomName('WebGLRenderingContext.TEXTURE8')
2036 @DocsEditable()
2037 static const int TEXTURE8 = 0x84C8;
2038
2039 @DomName('WebGLRenderingContext.TEXTURE9')
2040 @DocsEditable()
2041 static const int TEXTURE9 = 0x84C9;
2042
2043 @DomName('WebGLRenderingContext.TEXTURE_2D')
2044 @DocsEditable()
2045 static const int TEXTURE_2D = 0x0DE1;
2046
2047 @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D')
2048 @DocsEditable()
2049 static const int TEXTURE_BINDING_2D = 0x8069;
2050
2051 @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP')
2052 @DocsEditable()
2053 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514;
2054
2055 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP')
2056 @DocsEditable()
2057 static const int TEXTURE_CUBE_MAP = 0x8513;
2058
2059 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X')
2060 @DocsEditable()
2061 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
2062
2063 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y')
2064 @DocsEditable()
2065 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
2066
2067 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z')
2068 @DocsEditable()
2069 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
2070
2071 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X')
2072 @DocsEditable()
2073 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
2074
2075 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y')
2076 @DocsEditable()
2077 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
2078
2079 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z')
2080 @DocsEditable()
2081 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
2082
2083 @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER')
2084 @DocsEditable()
2085 static const int TEXTURE_MAG_FILTER = 0x2800;
2086
2087 @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER')
2088 @DocsEditable()
2089 static const int TEXTURE_MIN_FILTER = 0x2801;
2090
2091 @DomName('WebGLRenderingContext.TEXTURE_WRAP_S')
2092 @DocsEditable()
2093 static const int TEXTURE_WRAP_S = 0x2802;
2094
2095 @DomName('WebGLRenderingContext.TEXTURE_WRAP_T')
2096 @DocsEditable()
2097 static const int TEXTURE_WRAP_T = 0x2803;
2098
2099 @DomName('WebGLRenderingContext.TRIANGLES')
2100 @DocsEditable()
2101 static const int TRIANGLES = 0x0004;
2102
2103 @DomName('WebGLRenderingContext.TRIANGLE_FAN')
2104 @DocsEditable()
2105 static const int TRIANGLE_FAN = 0x0006;
2106
2107 @DomName('WebGLRenderingContext.TRIANGLE_STRIP')
2108 @DocsEditable()
2109 static const int TRIANGLE_STRIP = 0x0005;
2110
2111 @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT')
2112 @DocsEditable()
2113 static const int UNPACK_ALIGNMENT = 0x0CF5;
2114
2115 @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL')
2116 @DocsEditable()
2117 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
2118
2119 @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL')
2120 @DocsEditable()
2121 static const int UNPACK_FLIP_Y_WEBGL = 0x9240;
2122
2123 @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL')
2124 @DocsEditable()
2125 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
2126
2127 @DomName('WebGLRenderingContext.UNSIGNED_BYTE')
2128 @DocsEditable()
2129 static const int UNSIGNED_BYTE = 0x1401;
2130
2131 @DomName('WebGLRenderingContext.UNSIGNED_INT')
2132 @DocsEditable()
2133 static const int UNSIGNED_INT = 0x1405;
2134
2135 @DomName('WebGLRenderingContext.UNSIGNED_SHORT')
2136 @DocsEditable()
2137 static const int UNSIGNED_SHORT = 0x1403;
2138
2139 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4')
2140 @DocsEditable()
2141 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
2142
2143 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1')
2144 @DocsEditable()
2145 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
2146
2147 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5')
2148 @DocsEditable()
2149 static const int UNSIGNED_SHORT_5_6_5 = 0x8363;
2150
2151 @DomName('WebGLRenderingContext.VALIDATE_STATUS')
2152 @DocsEditable()
2153 static const int VALIDATE_STATUS = 0x8B83;
2154
2155 @DomName('WebGLRenderingContext.VENDOR')
2156 @DocsEditable()
2157 static const int VENDOR = 0x1F00;
2158
2159 @DomName('WebGLRenderingContext.VERSION')
2160 @DocsEditable()
2161 static const int VERSION = 0x1F02;
2162
2163 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING')
2164 @DocsEditable()
2165 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
2166
2167 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED')
2168 @DocsEditable()
2169 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
2170
2171 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED')
2172 @DocsEditable()
2173 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
2174
2175 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER')
2176 @DocsEditable()
2177 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
2178
2179 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE')
2180 @DocsEditable()
2181 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
2182
2183 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE')
2184 @DocsEditable()
2185 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
2186
2187 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE')
2188 @DocsEditable()
2189 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
2190
2191 @DomName('WebGLRenderingContext.VERTEX_SHADER')
2192 @DocsEditable()
2193 static const int VERTEX_SHADER = 0x8B31;
2194
2195 @DomName('WebGLRenderingContext.VIEWPORT')
2196 @DocsEditable()
2197 static const int VIEWPORT = 0x0BA2;
2198
2199 @DomName('WebGLRenderingContext.ZERO')
2200 @DocsEditable()
2201 static const int ZERO = 0;
2202 1078
2203 @DomName('WebGLRenderingContext.drawingBufferHeight') 1079 @DomName('WebGLRenderingContext.drawingBufferHeight')
2204 @DocsEditable() 1080 @DocsEditable()
2205 final int drawingBufferHeight; 1081 final int drawingBufferHeight;
2206 1082
2207 @DomName('WebGLRenderingContext.drawingBufferWidth') 1083 @DomName('WebGLRenderingContext.drawingBufferWidth')
2208 @DocsEditable() 1084 @DocsEditable()
2209 final int drawingBufferWidth; 1085 final int drawingBufferWidth;
2210 1086
2211 @DomName('WebGLRenderingContext.activeTexture')
2212 @DocsEditable()
2213 void activeTexture(int texture) native;
2214
2215 @DomName('WebGLRenderingContext.attachShader')
2216 @DocsEditable()
2217 void attachShader(Program program, Shader shader) native;
2218
2219 @DomName('WebGLRenderingContext.bindAttribLocation')
2220 @DocsEditable()
2221 void bindAttribLocation(Program program, int index, String name) native;
2222
2223 @DomName('WebGLRenderingContext.bindBuffer')
2224 @DocsEditable()
2225 void bindBuffer(int target, Buffer buffer) native;
2226
2227 @DomName('WebGLRenderingContext.bindFramebuffer')
2228 @DocsEditable()
2229 void bindFramebuffer(int target, Framebuffer framebuffer) native;
2230
2231 @DomName('WebGLRenderingContext.bindRenderbuffer')
2232 @DocsEditable()
2233 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native;
2234
2235 @DomName('WebGLRenderingContext.bindTexture')
2236 @DocsEditable()
2237 void bindTexture(int target, Texture texture) native;
2238
2239 @DomName('WebGLRenderingContext.blendColor')
2240 @DocsEditable()
2241 void blendColor(num red, num green, num blue, num alpha) native;
2242
2243 @DomName('WebGLRenderingContext.blendEquation')
2244 @DocsEditable()
2245 void blendEquation(int mode) native;
2246
2247 @DomName('WebGLRenderingContext.blendEquationSeparate')
2248 @DocsEditable()
2249 void blendEquationSeparate(int modeRGB, int modeAlpha) native;
2250
2251 @DomName('WebGLRenderingContext.blendFunc')
2252 @DocsEditable()
2253 void blendFunc(int sfactor, int dfactor) native;
2254
2255 @DomName('WebGLRenderingContext.blendFuncSeparate')
2256 @DocsEditable()
2257 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive;
2258
2259 @JSName('bufferData') 1087 @JSName('bufferData')
2260 /** 1088 /**
2261 * Buffers the specified data. 1089 * Buffers the specified data.
2262 * 1090 *
2263 * The [bufferData] method is provided for WebGL API compatibility reasons, bu t 1091 * The [bufferData] method is provided for WebGL API compatibility reasons, bu t
2264 * it is highly recommended that you use [bufferDataTyped] or [bufferByteData] 1092 * it is highly recommended that you use [bufferDataTyped] or [bufferByteData]
2265 * depending on your purposes. 1093 * depending on your purposes.
2266 */ 1094 */
2267 @DomName('WebGLRenderingContext.bufferData') 1095 @DomName('WebGLRenderingContext.bufferData')
2268 @DocsEditable() 1096 @DocsEditable()
2269 void bufferByteData(int target, ByteBuffer data, int usage) native; 1097 void bufferByteData(int target, ByteBuffer data, int usage) native;
2270 1098
2271 /**
2272 * Buffers the specified data.
2273 *
2274 * The [bufferData] method is provided for WebGL API compatibility reasons, bu t
2275 * it is highly recommended that you use [bufferDataTyped] or [bufferByteData]
2276 * depending on your purposes.
2277 */
2278 @DomName('WebGLRenderingContext.bufferData')
2279 @DocsEditable()
2280 void bufferData(int target, data_OR_size, int usage) native;
2281
2282 @JSName('bufferData') 1099 @JSName('bufferData')
2283 /** 1100 /**
2284 * Buffers the specified data. 1101 * Buffers the specified data.
2285 * 1102 *
2286 * The [bufferData] method is provided for WebGL API compatibility reasons, bu t 1103 * The [bufferData] method is provided for WebGL API compatibility reasons, bu t
2287 * it is highly recommended that you use [bufferDataTyped] or [bufferByteData] 1104 * it is highly recommended that you use [bufferDataTyped] or [bufferByteData]
2288 * depending on your purposes. 1105 * depending on your purposes.
2289 */ 1106 */
2290 @DomName('WebGLRenderingContext.bufferData') 1107 @DomName('WebGLRenderingContext.bufferData')
2291 @DocsEditable() 1108 @DocsEditable()
2292 void bufferDataTyped(int target, TypedData data, int usage) native; 1109 void bufferDataTyped(int target, TypedData data, int usage) native;
2293 1110
2294 @JSName('bufferSubData') 1111 @JSName('bufferSubData')
2295 /** 1112 /**
2296 * Buffers the specified subset of data. 1113 * Buffers the specified subset of data.
2297 * 1114 *
2298 * The [bufferSubData] method is provided for WebGL API compatibility reasons, but 1115 * The [bufferSubData] method is provided for WebGL API compatibility reasons, but
2299 * it is highly recommended that you use [bufferSubDataTyped] or [bufferSubByt eData] 1116 * it is highly recommended that you use [bufferSubDataTyped] or [bufferSubByt eData]
2300 * depending on your purposes. 1117 * depending on your purposes.
2301 */ 1118 */
2302 @DomName('WebGLRenderingContext.bufferSubData') 1119 @DomName('WebGLRenderingContext.bufferSubData')
2303 @DocsEditable() 1120 @DocsEditable()
2304 void bufferSubByteData(int target, int offset, ByteBuffer data) native; 1121 void bufferSubByteData(int target, int offset, ByteBuffer data) native;
2305 1122
2306 /**
2307 * Buffers the specified subset of data.
2308 *
2309 * The [bufferSubData] method is provided for WebGL API compatibility reasons, but
2310 * it is highly recommended that you use [bufferSubDataTyped] or [bufferSubByt eData]
2311 * depending on your purposes.
2312 */
2313 @DomName('WebGLRenderingContext.bufferSubData')
2314 @DocsEditable()
2315 void bufferSubData(int target, int offset, data) native;
2316
2317 @JSName('bufferSubData') 1123 @JSName('bufferSubData')
2318 /** 1124 /**
2319 * Buffers the specified subset of data. 1125 * Buffers the specified subset of data.
2320 * 1126 *
2321 * The [bufferSubData] method is provided for WebGL API compatibility reasons, but 1127 * The [bufferSubData] method is provided for WebGL API compatibility reasons, but
2322 * it is highly recommended that you use [bufferSubDataTyped] or [bufferSubByt eData] 1128 * it is highly recommended that you use [bufferSubDataTyped] or [bufferSubByt eData]
2323 * depending on your purposes. 1129 * depending on your purposes.
2324 */ 1130 */
2325 @DomName('WebGLRenderingContext.bufferSubData') 1131 @DomName('WebGLRenderingContext.bufferSubData')
2326 @DocsEditable() 1132 @DocsEditable()
2327 void bufferSubDataTyped(int target, int offset, TypedData data) native; 1133 void bufferSubDataTyped(int target, int offset, TypedData data) native;
2328 1134
2329 @DomName('WebGLRenderingContext.checkFramebufferStatus')
2330 @DocsEditable()
2331 int checkFramebufferStatus(int target) native;
2332
2333 @DomName('WebGLRenderingContext.clear')
2334 @DocsEditable()
2335 void clear(int mask) native;
2336
2337 @DomName('WebGLRenderingContext.clearColor')
2338 @DocsEditable()
2339 void clearColor(num red, num green, num blue, num alpha) native;
2340
2341 @DomName('WebGLRenderingContext.clearDepth')
2342 @DocsEditable()
2343 void clearDepth(num depth) native;
2344
2345 @DomName('WebGLRenderingContext.clearStencil')
2346 @DocsEditable()
2347 void clearStencil(int s) native;
2348
2349 @DomName('WebGLRenderingContext.colorMask')
2350 @DocsEditable()
2351 void colorMask(bool red, bool green, bool blue, bool alpha) native;
2352
2353 @DomName('WebGLRenderingContext.compileShader')
2354 @DocsEditable()
2355 void compileShader(Shader shader) native;
2356
2357 @DomName('WebGLRenderingContext.compressedTexImage2D')
2358 @DocsEditable()
2359 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) native;
2360
2361 @DomName('WebGLRenderingContext.compressedTexSubImage2D')
2362 @DocsEditable()
2363 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native;
2364
2365 @DomName('WebGLRenderingContext.copyTexImage2D')
2366 @DocsEditable()
2367 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native;
2368
2369 @DomName('WebGLRenderingContext.copyTexSubImage2D')
2370 @DocsEditable()
2371 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
2372
2373 @DomName('WebGLRenderingContext.createBuffer')
2374 @DocsEditable()
2375 Buffer createBuffer() native;
2376
2377 @DomName('WebGLRenderingContext.createFramebuffer')
2378 @DocsEditable()
2379 Framebuffer createFramebuffer() native;
2380
2381 @DomName('WebGLRenderingContext.createProgram')
2382 @DocsEditable()
2383 Program createProgram() native;
2384
2385 @DomName('WebGLRenderingContext.createRenderbuffer')
2386 @DocsEditable()
2387 Renderbuffer createRenderbuffer() native;
2388
2389 @DomName('WebGLRenderingContext.createShader')
2390 @DocsEditable()
2391 Shader createShader(int type) native;
2392
2393 @DomName('WebGLRenderingContext.createTexture')
2394 @DocsEditable()
2395 Texture createTexture() native;
2396
2397 @DomName('WebGLRenderingContext.cullFace')
2398 @DocsEditable()
2399 void cullFace(int mode) native;
2400
2401 @DomName('WebGLRenderingContext.deleteBuffer')
2402 @DocsEditable()
2403 void deleteBuffer(Buffer buffer) native;
2404
2405 @DomName('WebGLRenderingContext.deleteFramebuffer')
2406 @DocsEditable()
2407 void deleteFramebuffer(Framebuffer framebuffer) native;
2408
2409 @DomName('WebGLRenderingContext.deleteProgram')
2410 @DocsEditable()
2411 void deleteProgram(Program program) native;
2412
2413 @DomName('WebGLRenderingContext.deleteRenderbuffer')
2414 @DocsEditable()
2415 void deleteRenderbuffer(Renderbuffer renderbuffer) native;
2416
2417 @DomName('WebGLRenderingContext.deleteShader')
2418 @DocsEditable()
2419 void deleteShader(Shader shader) native;
2420
2421 @DomName('WebGLRenderingContext.deleteTexture')
2422 @DocsEditable()
2423 void deleteTexture(Texture texture) native;
2424
2425 @DomName('WebGLRenderingContext.depthFunc')
2426 @DocsEditable()
2427 void depthFunc(int func) native;
2428
2429 @DomName('WebGLRenderingContext.depthMask')
2430 @DocsEditable()
2431 void depthMask(bool flag) native;
2432
2433 @DomName('WebGLRenderingContext.depthRange')
2434 @DocsEditable()
2435 void depthRange(num zNear, num zFar) native;
2436
2437 @DomName('WebGLRenderingContext.detachShader')
2438 @DocsEditable()
2439 void detachShader(Program program, Shader shader) native;
2440
2441 @DomName('WebGLRenderingContext.disable')
2442 @DocsEditable()
2443 void disable(int cap) native;
2444
2445 @DomName('WebGLRenderingContext.disableVertexAttribArray')
2446 @DocsEditable()
2447 void disableVertexAttribArray(int index) native;
2448
2449 @DomName('WebGLRenderingContext.drawArrays')
2450 @DocsEditable()
2451 void drawArrays(int mode, int first, int count) native;
2452
2453 @DomName('WebGLRenderingContext.drawElements')
2454 @DocsEditable()
2455 void drawElements(int mode, int count, int type, int offset) native;
2456
2457 @DomName('WebGLRenderingContext.enable')
2458 @DocsEditable()
2459 void enable(int cap) native;
2460
2461 @DomName('WebGLRenderingContext.enableVertexAttribArray')
2462 @DocsEditable()
2463 void enableVertexAttribArray(int index) native;
2464
2465 @DomName('WebGLRenderingContext.finish')
2466 @DocsEditable()
2467 void finish() native;
2468
2469 @DomName('WebGLRenderingContext.flush')
2470 @DocsEditable()
2471 void flush() native;
2472
2473 @DomName('WebGLRenderingContext.framebufferRenderbuffer')
2474 @DocsEditable()
2475 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) native;
2476
2477 @DomName('WebGLRenderingContext.framebufferTexture2D')
2478 @DocsEditable()
2479 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) native;
2480
2481 @DomName('WebGLRenderingContext.frontFace')
2482 @DocsEditable()
2483 void frontFace(int mode) native;
2484
2485 @DomName('WebGLRenderingContext.generateMipmap')
2486 @DocsEditable()
2487 void generateMipmap(int target) native;
2488
2489 @DomName('WebGLRenderingContext.getActiveAttrib')
2490 @DocsEditable()
2491 ActiveInfo getActiveAttrib(Program program, int index) native;
2492
2493 @DomName('WebGLRenderingContext.getActiveUniform')
2494 @DocsEditable()
2495 ActiveInfo getActiveUniform(Program program, int index) native;
2496
2497 @DomName('WebGLRenderingContext.getAttachedShaders')
2498 @DocsEditable()
2499 void getAttachedShaders(Program program) native;
2500
2501 @DomName('WebGLRenderingContext.getAttribLocation')
2502 @DocsEditable()
2503 int getAttribLocation(Program program, String name) native;
2504
2505 @DomName('WebGLRenderingContext.getBufferParameter')
2506 @DocsEditable()
2507 @Creates('int|Null')
2508 @Returns('int|Null')
2509 Object getBufferParameter(int target, int pname) native;
2510
2511 @DomName('WebGLRenderingContext.getContextAttributes')
2512 @DocsEditable()
2513 @Creates('ContextAttributes|=Object')
2514 ContextAttributes getContextAttributes() {
2515 return convertNativeToDart_ContextAttributes(_getContextAttributes_1());
2516 }
2517 @JSName('getContextAttributes')
2518 @DomName('WebGLRenderingContext.getContextAttributes')
2519 @DocsEditable()
2520 @Creates('ContextAttributes|=Object')
2521 _getContextAttributes_1() native;
2522
2523 @DomName('WebGLRenderingContext.getError')
2524 @DocsEditable()
2525 int getError() native;
2526
2527 @DomName('WebGLRenderingContext.getExtension')
2528 @DocsEditable()
2529 Object getExtension(String name) native;
2530
2531 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
2532 @DocsEditable()
2533 @Creates('int|Renderbuffer|Texture|Null')
2534 @Returns('int|Renderbuffer|Texture|Null')
2535 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native;
2536
2537 @DomName('WebGLRenderingContext.getParameter')
2538 @DocsEditable()
2539 @Creates('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32 List|NativeUint32List|Framebuffer|Renderbuffer|Texture')
2540 @Returns('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32 List|NativeUint32List|Framebuffer|Renderbuffer|Texture')
2541 Object getParameter(int pname) native;
2542
2543 @DomName('WebGLRenderingContext.getProgramInfoLog')
2544 @DocsEditable()
2545 String getProgramInfoLog(Program program) native;
2546
2547 @DomName('WebGLRenderingContext.getProgramParameter')
2548 @DocsEditable()
2549 @Creates('int|bool|Null')
2550 @Returns('int|bool|Null')
2551 Object getProgramParameter(Program program, int pname) native;
2552
2553 @DomName('WebGLRenderingContext.getRenderbufferParameter')
2554 @DocsEditable()
2555 @Creates('int|Null')
2556 @Returns('int|Null')
2557 Object getRenderbufferParameter(int target, int pname) native;
2558
2559 @DomName('WebGLRenderingContext.getShaderInfoLog')
2560 @DocsEditable()
2561 String getShaderInfoLog(Shader shader) native;
2562
2563 @DomName('WebGLRenderingContext.getShaderParameter')
2564 @DocsEditable()
2565 @Creates('int|bool|Null')
2566 @Returns('int|bool|Null')
2567 Object getShaderParameter(Shader shader, int pname) native;
2568
2569 @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
2570 @DocsEditable()
2571 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) native;
2572
2573 @DomName('WebGLRenderingContext.getShaderSource')
2574 @DocsEditable()
2575 String getShaderSource(Shader shader) native;
2576
2577 @DomName('WebGLRenderingContext.getSupportedExtensions')
2578 @DocsEditable()
2579 List<String> getSupportedExtensions() native;
2580
2581 @DomName('WebGLRenderingContext.getTexParameter')
2582 @DocsEditable()
2583 @Creates('int|Null')
2584 @Returns('int|Null')
2585 Object getTexParameter(int target, int pname) native;
2586
2587 @DomName('WebGLRenderingContext.getUniform')
2588 @DocsEditable()
2589 @Creates('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32 List|NativeUint32List')
2590 @Returns('Null|num|String|bool|JSExtendableArray|NativeFloat32List|NativeInt32 List|NativeUint32List')
2591 Object getUniform(Program program, UniformLocation location) native;
2592
2593 @DomName('WebGLRenderingContext.getUniformLocation')
2594 @DocsEditable()
2595 UniformLocation getUniformLocation(Program program, String name) native;
2596
2597 @DomName('WebGLRenderingContext.getVertexAttrib')
2598 @DocsEditable()
2599 @Creates('Null|num|bool|NativeFloat32List|Buffer')
2600 @Returns('Null|num|bool|NativeFloat32List|Buffer')
2601 Object getVertexAttrib(int index, int pname) native;
2602
2603 @DomName('WebGLRenderingContext.getVertexAttribOffset')
2604 @DocsEditable()
2605 int getVertexAttribOffset(int index, int pname) native;
2606
2607 @DomName('WebGLRenderingContext.hint')
2608 @DocsEditable()
2609 void hint(int target, int mode) native;
2610
2611 @DomName('WebGLRenderingContext.isBuffer')
2612 @DocsEditable()
2613 bool isBuffer(Buffer buffer) native;
2614
2615 @DomName('WebGLRenderingContext.isContextLost')
2616 @DocsEditable()
2617 bool isContextLost() native;
2618
2619 @DomName('WebGLRenderingContext.isEnabled')
2620 @DocsEditable()
2621 bool isEnabled(int cap) native;
2622
2623 @DomName('WebGLRenderingContext.isFramebuffer')
2624 @DocsEditable()
2625 bool isFramebuffer(Framebuffer framebuffer) native;
2626
2627 @DomName('WebGLRenderingContext.isProgram')
2628 @DocsEditable()
2629 bool isProgram(Program program) native;
2630
2631 @DomName('WebGLRenderingContext.isRenderbuffer')
2632 @DocsEditable()
2633 bool isRenderbuffer(Renderbuffer renderbuffer) native;
2634
2635 @DomName('WebGLRenderingContext.isShader')
2636 @DocsEditable()
2637 bool isShader(Shader shader) native;
2638
2639 @DomName('WebGLRenderingContext.isTexture')
2640 @DocsEditable()
2641 bool isTexture(Texture texture) native;
2642
2643 @DomName('WebGLRenderingContext.lineWidth')
2644 @DocsEditable()
2645 void lineWidth(num width) native;
2646
2647 @DomName('WebGLRenderingContext.linkProgram')
2648 @DocsEditable()
2649 void linkProgram(Program program) native;
2650
2651 @DomName('WebGLRenderingContext.pixelStorei')
2652 @DocsEditable()
2653 void pixelStorei(int pname, int param) native;
2654
2655 @DomName('WebGLRenderingContext.polygonOffset')
2656 @DocsEditable()
2657 void polygonOffset(num factor, num units) native;
2658
2659 @DomName('WebGLRenderingContext.readPixels')
2660 @DocsEditable()
2661 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) native;
2662
2663 @DomName('WebGLRenderingContext.renderbufferStorage')
2664 @DocsEditable()
2665 void renderbufferStorage(int target, int internalformat, int width, int height ) native;
2666
2667 @DomName('WebGLRenderingContext.sampleCoverage')
2668 @DocsEditable()
2669 void sampleCoverage(num value, bool invert) native;
2670
2671 @DomName('WebGLRenderingContext.scissor')
2672 @DocsEditable()
2673 void scissor(int x, int y, int width, int height) native;
2674
2675 @DomName('WebGLRenderingContext.shaderSource')
2676 @DocsEditable()
2677 void shaderSource(Shader shader, String string) native;
2678
2679 @DomName('WebGLRenderingContext.stencilFunc')
2680 @DocsEditable()
2681 void stencilFunc(int func, int ref, int mask) native;
2682
2683 @DomName('WebGLRenderingContext.stencilFuncSeparate')
2684 @DocsEditable()
2685 void stencilFuncSeparate(int face, int func, int ref, int mask) native;
2686
2687 @DomName('WebGLRenderingContext.stencilMask')
2688 @DocsEditable()
2689 void stencilMask(int mask) native;
2690
2691 @DomName('WebGLRenderingContext.stencilMaskSeparate')
2692 @DocsEditable()
2693 void stencilMaskSeparate(int face, int mask) native;
2694
2695 @DomName('WebGLRenderingContext.stencilOp')
2696 @DocsEditable()
2697 void stencilOp(int fail, int zfail, int zpass) native;
2698
2699 @DomName('WebGLRenderingContext.stencilOpSeparate')
2700 @DocsEditable()
2701 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
2702
2703 /**
2704 * Updates the currently bound texture to [data].
2705 *
2706 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it
2707 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped]
2708 * (or for more specificity, the more specialized [texImage2DImageData],
2709 * [texImage2DCanvas], [texImage2DVideo]).
2710 */
2711 @DomName('WebGLRenderingContext.texImage2D')
2712 @DocsEditable()
2713 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]) {
2714 if (pixels != null && type != null && format != null && (border_OR_canvas_OR _image_OR_pixels_OR_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null)) {
2715 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
2716 return;
2717 }
2718 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) {
2719 var pixels_1 = convertDartToNative_ImageData(border_OR_canvas_OR_image_OR_ pixels_OR_video);
2720 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty pe, pixels_1);
2721 return;
2722 }
2723 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) {
2724 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2725 return;
2726 }
2727 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border _OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == nul l && pixels == null) {
2728 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2729 return;
2730 }
2731 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) {
2732 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2733 return;
2734 }
2735 throw new ArgumentError("Incorrect number or type of arguments");
2736 }
2737 @JSName('texImage2D')
2738 /**
2739 * Updates the currently bound texture to [data].
2740 *
2741 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it
2742 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped]
2743 * (or for more specificity, the more specialized [texImage2DImageData],
2744 * [texImage2DCanvas], [texImage2DVideo]).
2745 */
2746 @DomName('WebGLRenderingContext.texImage2D')
2747 @DocsEditable()
2748 void _texImage2D_1(target, level, internalformat, width, height, int border, f ormat, type, TypedData pixels) native;
2749 @JSName('texImage2D')
2750 /**
2751 * Updates the currently bound texture to [data].
2752 *
2753 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it
2754 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped]
2755 * (or for more specificity, the more specialized [texImage2DImageData],
2756 * [texImage2DCanvas], [texImage2DVideo]).
2757 */
2758 @DomName('WebGLRenderingContext.texImage2D')
2759 @DocsEditable()
2760 void _texImage2D_2(target, level, internalformat, format, type, pixels) native ;
2761 @JSName('texImage2D')
2762 /**
2763 * Updates the currently bound texture to [data].
2764 *
2765 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it
2766 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped]
2767 * (or for more specificity, the more specialized [texImage2DImageData],
2768 * [texImage2DCanvas], [texImage2DVideo]).
2769 */
2770 @DomName('WebGLRenderingContext.texImage2D')
2771 @DocsEditable()
2772 void _texImage2D_3(target, level, internalformat, format, type, ImageElement i mage) native;
2773 @JSName('texImage2D')
2774 /**
2775 * Updates the currently bound texture to [data].
2776 *
2777 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it
2778 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped]
2779 * (or for more specificity, the more specialized [texImage2DImageData],
2780 * [texImage2DCanvas], [texImage2DVideo]).
2781 */
2782 @DomName('WebGLRenderingContext.texImage2D')
2783 @DocsEditable()
2784 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement canvas) native;
2785 @JSName('texImage2D')
2786 /**
2787 * Updates the currently bound texture to [data].
2788 *
2789 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it
2790 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped]
2791 * (or for more specificity, the more specialized [texImage2DImageData],
2792 * [texImage2DCanvas], [texImage2DVideo]).
2793 */
2794 @DomName('WebGLRenderingContext.texImage2D')
2795 @DocsEditable()
2796 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v ideo) native;
2797
2798 @JSName('texImage2D') 1135 @JSName('texImage2D')
2799 /** 1136 /**
2800 * Updates the currently bound texture to [data]. 1137 * Updates the currently bound texture to [data].
2801 * 1138 *
2802 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it 1139 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it
2803 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped] 1140 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped]
2804 * (or for more specificity, the more specialized [texImage2DImageData], 1141 * (or for more specificity, the more specialized [texImage2DImageData],
2805 * [texImage2DCanvas], [texImage2DVideo]). 1142 * [texImage2DCanvas], [texImage2DVideo]).
2806 */ 1143 */
2807 @DomName('WebGLRenderingContext.texImage2D') 1144 @DomName('WebGLRenderingContext.texImage2D')
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2855 * 1192 *
2856 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it 1193 * The [texImage2D] method is provided for WebGL API compatibility reasons, bu t it
2857 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped] 1194 * is highly recommended that you use [texImage2DUntyped] or [texImage2DTyped]
2858 * (or for more specificity, the more specialized [texImage2DImageData], 1195 * (or for more specificity, the more specialized [texImage2DImageData],
2859 * [texImage2DCanvas], [texImage2DVideo]). 1196 * [texImage2DCanvas], [texImage2DVideo]).
2860 */ 1197 */
2861 @DomName('WebGLRenderingContext.texImage2D') 1198 @DomName('WebGLRenderingContext.texImage2D')
2862 @DocsEditable() 1199 @DocsEditable()
2863 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) native; 1200 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) native;
2864 1201
2865 @DomName('WebGLRenderingContext.texParameterf')
2866 @DocsEditable()
2867 void texParameterf(int target, int pname, num param) native;
2868
2869 @DomName('WebGLRenderingContext.texParameteri')
2870 @DocsEditable()
2871 void texParameteri(int target, int pname, int param) native;
2872
2873 /**
2874 * Updates a sub-rectangle of the currently bound texture to [data].
2875 *
2876 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it
2877 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed]
2878 * (or for more specificity, the more specialized [texSubImage2DImageData],
2879 * [texSubImage2DCanvas], [texSubImage2DVideo]).
2880 */
2881 @DomName('WebGLRenderingContext.texSubImage2D')
2882 @DocsEditable()
2883 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in t type, TypedData pixels]) {
2884 if (pixels != null && type != null && (canvas_OR_format_OR_image_OR_pixels_O R_video is int || canvas_OR_format_OR_image_OR_pixels_OR_video == null)) {
2885 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
2886 return;
2887 }
2888 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null) {
2889 var pixels_1 = convertDartToNative_ImageData(canvas_OR_format_OR_image_OR_ pixels_OR_video);
2890 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, pixels_1);
2891 return;
2892 }
2893 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null ) {
2894 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2895 return;
2896 }
2897 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas _OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == nul l) {
2898 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2899 return;
2900 }
2901 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null ) {
2902 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2903 return;
2904 }
2905 throw new ArgumentError("Incorrect number or type of arguments");
2906 }
2907 @JSName('texSubImage2D')
2908 /**
2909 * Updates a sub-rectangle of the currently bound texture to [data].
2910 *
2911 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it
2912 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed]
2913 * (or for more specificity, the more specialized [texSubImage2DImageData],
2914 * [texSubImage2DCanvas], [texSubImage2DVideo]).
2915 */
2916 @DomName('WebGLRenderingContext.texSubImage2D')
2917 @DocsEditable()
2918 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int form at, type, TypedData pixels) native;
2919 @JSName('texSubImage2D')
2920 /**
2921 * Updates a sub-rectangle of the currently bound texture to [data].
2922 *
2923 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it
2924 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed]
2925 * (or for more specificity, the more specialized [texSubImage2DImageData],
2926 * [texSubImage2DCanvas], [texSubImage2DVideo]).
2927 */
2928 @DomName('WebGLRenderingContext.texSubImage2D')
2929 @DocsEditable()
2930 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) n ative;
2931 @JSName('texSubImage2D')
2932 /**
2933 * Updates a sub-rectangle of the currently bound texture to [data].
2934 *
2935 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it
2936 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed]
2937 * (or for more specificity, the more specialized [texSubImage2DImageData],
2938 * [texSubImage2DCanvas], [texSubImage2DVideo]).
2939 */
2940 @DomName('WebGLRenderingContext.texSubImage2D')
2941 @DocsEditable()
2942 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElem ent image) native;
2943 @JSName('texSubImage2D')
2944 /**
2945 * Updates a sub-rectangle of the currently bound texture to [data].
2946 *
2947 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it
2948 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed]
2949 * (or for more specificity, the more specialized [texSubImage2DImageData],
2950 * [texSubImage2DCanvas], [texSubImage2DVideo]).
2951 */
2952 @DomName('WebGLRenderingContext.texSubImage2D')
2953 @DocsEditable()
2954 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle ment canvas) native;
2955 @JSName('texSubImage2D')
2956 /**
2957 * Updates a sub-rectangle of the currently bound texture to [data].
2958 *
2959 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it
2960 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed]
2961 * (or for more specificity, the more specialized [texSubImage2DImageData],
2962 * [texSubImage2DCanvas], [texSubImage2DVideo]).
2963 */
2964 @DomName('WebGLRenderingContext.texSubImage2D')
2965 @DocsEditable()
2966 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem ent video) native;
2967
2968 @JSName('texSubImage2D') 1202 @JSName('texSubImage2D')
2969 /** 1203 /**
2970 * Updates a sub-rectangle of the currently bound texture to [data]. 1204 * Updates a sub-rectangle of the currently bound texture to [data].
2971 * 1205 *
2972 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it 1206 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it
2973 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed] 1207 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed]
2974 * (or for more specificity, the more specialized [texSubImage2DImageData], 1208 * (or for more specificity, the more specialized [texSubImage2DImageData],
2975 * [texSubImage2DCanvas], [texSubImage2DVideo]). 1209 * [texSubImage2DCanvas], [texSubImage2DVideo]).
2976 */ 1210 */
2977 @DomName('WebGLRenderingContext.texSubImage2D') 1211 @DomName('WebGLRenderingContext.texSubImage2D')
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
3025 * 1259 *
3026 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it 1260 * The [texSubImage2D] method is provided for WebGL API compatibility reasons, but it
3027 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed] 1261 * is highly recommended that you use [texSubImage2DUntyped] or [texSubImage2D Typed]
3028 * (or for more specificity, the more specialized [texSubImage2DImageData], 1262 * (or for more specificity, the more specialized [texSubImage2DImageData],
3029 * [texSubImage2DCanvas], [texSubImage2DVideo]). 1263 * [texSubImage2DCanvas], [texSubImage2DVideo]).
3030 */ 1264 */
3031 @DomName('WebGLRenderingContext.texSubImage2D') 1265 @DomName('WebGLRenderingContext.texSubImage2D')
3032 @DocsEditable() 1266 @DocsEditable()
3033 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f ormat, int type, VideoElement video) native; 1267 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f ormat, int type, VideoElement video) native;
3034 1268
3035 @DomName('WebGLRenderingContext.uniform1f')
3036 @DocsEditable()
3037 void uniform1f(UniformLocation location, num x) native;
3038
3039 @DomName('WebGLRenderingContext.uniform1fv')
3040 @DocsEditable()
3041 void uniform1fv(UniformLocation location, Float32List v) native;
3042
3043 @DomName('WebGLRenderingContext.uniform1i')
3044 @DocsEditable()
3045 void uniform1i(UniformLocation location, int x) native;
3046
3047 @DomName('WebGLRenderingContext.uniform1iv')
3048 @DocsEditable()
3049 void uniform1iv(UniformLocation location, Int32List v) native;
3050
3051 @DomName('WebGLRenderingContext.uniform2f')
3052 @DocsEditable()
3053 void uniform2f(UniformLocation location, num x, num y) native;
3054
3055 @DomName('WebGLRenderingContext.uniform2fv')
3056 @DocsEditable()
3057 void uniform2fv(UniformLocation location, Float32List v) native;
3058
3059 @DomName('WebGLRenderingContext.uniform2i')
3060 @DocsEditable()
3061 void uniform2i(UniformLocation location, int x, int y) native;
3062
3063 @DomName('WebGLRenderingContext.uniform2iv')
3064 @DocsEditable()
3065 void uniform2iv(UniformLocation location, Int32List v) native;
3066
3067 @DomName('WebGLRenderingContext.uniform3f')
3068 @DocsEditable()
3069 void uniform3f(UniformLocation location, num x, num y, num z) native;
3070
3071 @DomName('WebGLRenderingContext.uniform3fv')
3072 @DocsEditable()
3073 void uniform3fv(UniformLocation location, Float32List v) native;
3074
3075 @DomName('WebGLRenderingContext.uniform3i')
3076 @DocsEditable()
3077 void uniform3i(UniformLocation location, int x, int y, int z) native;
3078
3079 @DomName('WebGLRenderingContext.uniform3iv')
3080 @DocsEditable()
3081 void uniform3iv(UniformLocation location, Int32List v) native;
3082
3083 @DomName('WebGLRenderingContext.uniform4f')
3084 @DocsEditable()
3085 void uniform4f(UniformLocation location, num x, num y, num z, num w) native;
3086
3087 @DomName('WebGLRenderingContext.uniform4fv')
3088 @DocsEditable()
3089 void uniform4fv(UniformLocation location, Float32List v) native;
3090
3091 @DomName('WebGLRenderingContext.uniform4i')
3092 @DocsEditable()
3093 void uniform4i(UniformLocation location, int x, int y, int z, int w) native;
3094
3095 @DomName('WebGLRenderingContext.uniform4iv')
3096 @DocsEditable()
3097 void uniform4iv(UniformLocation location, Int32List v) native;
3098
3099 @DomName('WebGLRenderingContext.uniformMatrix2fv')
3100 @DocsEditable()
3101 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) native;
3102
3103 @DomName('WebGLRenderingContext.uniformMatrix3fv')
3104 @DocsEditable()
3105 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) native;
3106
3107 @DomName('WebGLRenderingContext.uniformMatrix4fv')
3108 @DocsEditable()
3109 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) native;
3110
3111 @DomName('WebGLRenderingContext.useProgram')
3112 @DocsEditable()
3113 void useProgram(Program program) native;
3114
3115 @DomName('WebGLRenderingContext.validateProgram')
3116 @DocsEditable()
3117 void validateProgram(Program program) native;
3118
3119 @DomName('WebGLRenderingContext.vertexAttrib1f')
3120 @DocsEditable()
3121 void vertexAttrib1f(int indx, num x) native;
3122
3123 @DomName('WebGLRenderingContext.vertexAttrib1fv')
3124 @DocsEditable()
3125 void vertexAttrib1fv(int indx, Float32List values) native;
3126
3127 @DomName('WebGLRenderingContext.vertexAttrib2f')
3128 @DocsEditable()
3129 void vertexAttrib2f(int indx, num x, num y) native;
3130
3131 @DomName('WebGLRenderingContext.vertexAttrib2fv')
3132 @DocsEditable()
3133 void vertexAttrib2fv(int indx, Float32List values) native;
3134
3135 @DomName('WebGLRenderingContext.vertexAttrib3f')
3136 @DocsEditable()
3137 void vertexAttrib3f(int indx, num x, num y, num z) native;
3138
3139 @DomName('WebGLRenderingContext.vertexAttrib3fv')
3140 @DocsEditable()
3141 void vertexAttrib3fv(int indx, Float32List values) native;
3142
3143 @DomName('WebGLRenderingContext.vertexAttrib4f')
3144 @DocsEditable()
3145 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
3146
3147 @DomName('WebGLRenderingContext.vertexAttrib4fv')
3148 @DocsEditable()
3149 void vertexAttrib4fv(int indx, Float32List values) native;
3150
3151 @DomName('WebGLRenderingContext.vertexAttribPointer')
3152 @DocsEditable()
3153 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
3154
3155 @DomName('WebGLRenderingContext.viewport')
3156 @DocsEditable()
3157 void viewport(int x, int y, int width, int height) native;
3158
3159 1269
3160 /** 1270 /**
3161 * Sets the currently bound texture to [data]. 1271 * Sets the currently bound texture to [data].
3162 * 1272 *
3163 * [data] can be either an [ImageElement], a 1273 * [data] can be either an [ImageElement], a
3164 * [CanvasElement], a [VideoElement], or an [ImageData] object. 1274 * [CanvasElement], a [VideoElement], or an [ImageData] object.
3165 * 1275 *
3166 * To use [texImage2d] with a TypedData object, use [texImage2dTyped]. 1276 * To use [texImage2d] with a TypedData object, use [texImage2dTyped].
3167 * 1277 *
3168 */ 1278 */
(...skipping 25 matching lines...) Expand all
3194 /** 1304 /**
3195 * Updates a sub-rectangle of the currently bound texture to [data]. 1305 * Updates a sub-rectangle of the currently bound texture to [data].
3196 */ 1306 */
3197 @JSName('texSubImage2D') 1307 @JSName('texSubImage2D')
3198 void texSubImage2DTyped(int targetTexture, int levelOfDetail, 1308 void texSubImage2DTyped(int targetTexture, int levelOfDetail,
3199 int xOffset, int yOffset, int width, int height, int border, int format, 1309 int xOffset, int yOffset, int width, int height, int border, int format,
3200 int type, TypedData data) native; 1310 int type, TypedData data) native;
3201 } 1311 }
3202 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1312 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3203 // for details. All rights reserved. Use of this source code is governed by a 1313 // for details. All rights reserved. Use of this source code is governed by a
1314 // BSD-style license that can be found in the LICENSE file.
1315
1316
1317 @DocsEditable()
1318 @DomName('WebGLRenderingContextBase')
1319 @Experimental() // untriaged
1320 abstract class RenderingContextBase extends Interceptor {
1321 // To suppress missing implicit constructor warnings.
1322 factory RenderingContextBase._() { throw new UnsupportedError("Not supported") ; }
1323
1324 @DomName('WebGLRenderingContextBase.ACTIVE_ATTRIBUTES')
1325 @DocsEditable()
1326 @Experimental() // untriaged
1327 static const int ACTIVE_ATTRIBUTES = 0x8B89;
1328
1329 @DomName('WebGLRenderingContextBase.ACTIVE_TEXTURE')
1330 @DocsEditable()
1331 @Experimental() // untriaged
1332 static const int ACTIVE_TEXTURE = 0x84E0;
1333
1334 @DomName('WebGLRenderingContextBase.ACTIVE_UNIFORMS')
1335 @DocsEditable()
1336 @Experimental() // untriaged
1337 static const int ACTIVE_UNIFORMS = 0x8B86;
1338
1339 @DomName('WebGLRenderingContextBase.ALIASED_LINE_WIDTH_RANGE')
1340 @DocsEditable()
1341 @Experimental() // untriaged
1342 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E;
1343
1344 @DomName('WebGLRenderingContextBase.ALIASED_POINT_SIZE_RANGE')
1345 @DocsEditable()
1346 @Experimental() // untriaged
1347 static const int ALIASED_POINT_SIZE_RANGE = 0x846D;
1348
1349 @DomName('WebGLRenderingContextBase.ALPHA')
1350 @DocsEditable()
1351 @Experimental() // untriaged
1352 static const int ALPHA = 0x1906;
1353
1354 @DomName('WebGLRenderingContextBase.ALPHA_BITS')
1355 @DocsEditable()
1356 @Experimental() // untriaged
1357 static const int ALPHA_BITS = 0x0D55;
1358
1359 @DomName('WebGLRenderingContextBase.ALWAYS')
1360 @DocsEditable()
1361 @Experimental() // untriaged
1362 static const int ALWAYS = 0x0207;
1363
1364 @DomName('WebGLRenderingContextBase.ARRAY_BUFFER')
1365 @DocsEditable()
1366 @Experimental() // untriaged
1367 static const int ARRAY_BUFFER = 0x8892;
1368
1369 @DomName('WebGLRenderingContextBase.ARRAY_BUFFER_BINDING')
1370 @DocsEditable()
1371 @Experimental() // untriaged
1372 static const int ARRAY_BUFFER_BINDING = 0x8894;
1373
1374 @DomName('WebGLRenderingContextBase.ATTACHED_SHADERS')
1375 @DocsEditable()
1376 @Experimental() // untriaged
1377 static const int ATTACHED_SHADERS = 0x8B85;
1378
1379 @DomName('WebGLRenderingContextBase.BACK')
1380 @DocsEditable()
1381 @Experimental() // untriaged
1382 static const int BACK = 0x0405;
1383
1384 @DomName('WebGLRenderingContextBase.BLEND')
1385 @DocsEditable()
1386 @Experimental() // untriaged
1387 static const int BLEND = 0x0BE2;
1388
1389 @DomName('WebGLRenderingContextBase.BLEND_COLOR')
1390 @DocsEditable()
1391 @Experimental() // untriaged
1392 static const int BLEND_COLOR = 0x8005;
1393
1394 @DomName('WebGLRenderingContextBase.BLEND_DST_ALPHA')
1395 @DocsEditable()
1396 @Experimental() // untriaged
1397 static const int BLEND_DST_ALPHA = 0x80CA;
1398
1399 @DomName('WebGLRenderingContextBase.BLEND_DST_RGB')
1400 @DocsEditable()
1401 @Experimental() // untriaged
1402 static const int BLEND_DST_RGB = 0x80C8;
1403
1404 @DomName('WebGLRenderingContextBase.BLEND_EQUATION')
1405 @DocsEditable()
1406 @Experimental() // untriaged
1407 static const int BLEND_EQUATION = 0x8009;
1408
1409 @DomName('WebGLRenderingContextBase.BLEND_EQUATION_ALPHA')
1410 @DocsEditable()
1411 @Experimental() // untriaged
1412 static const int BLEND_EQUATION_ALPHA = 0x883D;
1413
1414 @DomName('WebGLRenderingContextBase.BLEND_EQUATION_RGB')
1415 @DocsEditable()
1416 @Experimental() // untriaged
1417 static const int BLEND_EQUATION_RGB = 0x8009;
1418
1419 @DomName('WebGLRenderingContextBase.BLEND_SRC_ALPHA')
1420 @DocsEditable()
1421 @Experimental() // untriaged
1422 static const int BLEND_SRC_ALPHA = 0x80CB;
1423
1424 @DomName('WebGLRenderingContextBase.BLEND_SRC_RGB')
1425 @DocsEditable()
1426 @Experimental() // untriaged
1427 static const int BLEND_SRC_RGB = 0x80C9;
1428
1429 @DomName('WebGLRenderingContextBase.BLUE_BITS')
1430 @DocsEditable()
1431 @Experimental() // untriaged
1432 static const int BLUE_BITS = 0x0D54;
1433
1434 @DomName('WebGLRenderingContextBase.BOOL')
1435 @DocsEditable()
1436 @Experimental() // untriaged
1437 static const int BOOL = 0x8B56;
1438
1439 @DomName('WebGLRenderingContextBase.BOOL_VEC2')
1440 @DocsEditable()
1441 @Experimental() // untriaged
1442 static const int BOOL_VEC2 = 0x8B57;
1443
1444 @DomName('WebGLRenderingContextBase.BOOL_VEC3')
1445 @DocsEditable()
1446 @Experimental() // untriaged
1447 static const int BOOL_VEC3 = 0x8B58;
1448
1449 @DomName('WebGLRenderingContextBase.BOOL_VEC4')
1450 @DocsEditable()
1451 @Experimental() // untriaged
1452 static const int BOOL_VEC4 = 0x8B59;
1453
1454 @DomName('WebGLRenderingContextBase.BROWSER_DEFAULT_WEBGL')
1455 @DocsEditable()
1456 @Experimental() // untriaged
1457 static const int BROWSER_DEFAULT_WEBGL = 0x9244;
1458
1459 @DomName('WebGLRenderingContextBase.BUFFER_SIZE')
1460 @DocsEditable()
1461 @Experimental() // untriaged
1462 static const int BUFFER_SIZE = 0x8764;
1463
1464 @DomName('WebGLRenderingContextBase.BUFFER_USAGE')
1465 @DocsEditable()
1466 @Experimental() // untriaged
1467 static const int BUFFER_USAGE = 0x8765;
1468
1469 @DomName('WebGLRenderingContextBase.BYTE')
1470 @DocsEditable()
1471 @Experimental() // untriaged
1472 static const int BYTE = 0x1400;
1473
1474 @DomName('WebGLRenderingContextBase.CCW')
1475 @DocsEditable()
1476 @Experimental() // untriaged
1477 static const int CCW = 0x0901;
1478
1479 @DomName('WebGLRenderingContextBase.CLAMP_TO_EDGE')
1480 @DocsEditable()
1481 @Experimental() // untriaged
1482 static const int CLAMP_TO_EDGE = 0x812F;
1483
1484 @DomName('WebGLRenderingContextBase.COLOR_ATTACHMENT0')
1485 @DocsEditable()
1486 @Experimental() // untriaged
1487 static const int COLOR_ATTACHMENT0 = 0x8CE0;
1488
1489 @DomName('WebGLRenderingContextBase.COLOR_BUFFER_BIT')
1490 @DocsEditable()
1491 @Experimental() // untriaged
1492 static const int COLOR_BUFFER_BIT = 0x00004000;
1493
1494 @DomName('WebGLRenderingContextBase.COLOR_CLEAR_VALUE')
1495 @DocsEditable()
1496 @Experimental() // untriaged
1497 static const int COLOR_CLEAR_VALUE = 0x0C22;
1498
1499 @DomName('WebGLRenderingContextBase.COLOR_WRITEMASK')
1500 @DocsEditable()
1501 @Experimental() // untriaged
1502 static const int COLOR_WRITEMASK = 0x0C23;
1503
1504 @DomName('WebGLRenderingContextBase.COMPILE_STATUS')
1505 @DocsEditable()
1506 @Experimental() // untriaged
1507 static const int COMPILE_STATUS = 0x8B81;
1508
1509 @DomName('WebGLRenderingContextBase.COMPRESSED_TEXTURE_FORMATS')
1510 @DocsEditable()
1511 @Experimental() // untriaged
1512 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
1513
1514 @DomName('WebGLRenderingContextBase.CONSTANT_ALPHA')
1515 @DocsEditable()
1516 @Experimental() // untriaged
1517 static const int CONSTANT_ALPHA = 0x8003;
1518
1519 @DomName('WebGLRenderingContextBase.CONSTANT_COLOR')
1520 @DocsEditable()
1521 @Experimental() // untriaged
1522 static const int CONSTANT_COLOR = 0x8001;
1523
1524 @DomName('WebGLRenderingContextBase.CONTEXT_LOST_WEBGL')
1525 @DocsEditable()
1526 @Experimental() // untriaged
1527 static const int CONTEXT_LOST_WEBGL = 0x9242;
1528
1529 @DomName('WebGLRenderingContextBase.CULL_FACE')
1530 @DocsEditable()
1531 @Experimental() // untriaged
1532 static const int CULL_FACE = 0x0B44;
1533
1534 @DomName('WebGLRenderingContextBase.CULL_FACE_MODE')
1535 @DocsEditable()
1536 @Experimental() // untriaged
1537 static const int CULL_FACE_MODE = 0x0B45;
1538
1539 @DomName('WebGLRenderingContextBase.CURRENT_PROGRAM')
1540 @DocsEditable()
1541 @Experimental() // untriaged
1542 static const int CURRENT_PROGRAM = 0x8B8D;
1543
1544 @DomName('WebGLRenderingContextBase.CURRENT_VERTEX_ATTRIB')
1545 @DocsEditable()
1546 @Experimental() // untriaged
1547 static const int CURRENT_VERTEX_ATTRIB = 0x8626;
1548
1549 @DomName('WebGLRenderingContextBase.CW')
1550 @DocsEditable()
1551 @Experimental() // untriaged
1552 static const int CW = 0x0900;
1553
1554 @DomName('WebGLRenderingContextBase.DECR')
1555 @DocsEditable()
1556 @Experimental() // untriaged
1557 static const int DECR = 0x1E03;
1558
1559 @DomName('WebGLRenderingContextBase.DECR_WRAP')
1560 @DocsEditable()
1561 @Experimental() // untriaged
1562 static const int DECR_WRAP = 0x8508;
1563
1564 @DomName('WebGLRenderingContextBase.DELETE_STATUS')
1565 @DocsEditable()
1566 @Experimental() // untriaged
1567 static const int DELETE_STATUS = 0x8B80;
1568
1569 @DomName('WebGLRenderingContextBase.DEPTH_ATTACHMENT')
1570 @DocsEditable()
1571 @Experimental() // untriaged
1572 static const int DEPTH_ATTACHMENT = 0x8D00;
1573
1574 @DomName('WebGLRenderingContextBase.DEPTH_BITS')
1575 @DocsEditable()
1576 @Experimental() // untriaged
1577 static const int DEPTH_BITS = 0x0D56;
1578
1579 @DomName('WebGLRenderingContextBase.DEPTH_BUFFER_BIT')
1580 @DocsEditable()
1581 @Experimental() // untriaged
1582 static const int DEPTH_BUFFER_BIT = 0x00000100;
1583
1584 @DomName('WebGLRenderingContextBase.DEPTH_CLEAR_VALUE')
1585 @DocsEditable()
1586 @Experimental() // untriaged
1587 static const int DEPTH_CLEAR_VALUE = 0x0B73;
1588
1589 @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT')
1590 @DocsEditable()
1591 @Experimental() // untriaged
1592 static const int DEPTH_COMPONENT = 0x1902;
1593
1594 @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT16')
1595 @DocsEditable()
1596 @Experimental() // untriaged
1597 static const int DEPTH_COMPONENT16 = 0x81A5;
1598
1599 @DomName('WebGLRenderingContextBase.DEPTH_FUNC')
1600 @DocsEditable()
1601 @Experimental() // untriaged
1602 static const int DEPTH_FUNC = 0x0B74;
1603
1604 @DomName('WebGLRenderingContextBase.DEPTH_RANGE')
1605 @DocsEditable()
1606 @Experimental() // untriaged
1607 static const int DEPTH_RANGE = 0x0B70;
1608
1609 @DomName('WebGLRenderingContextBase.DEPTH_STENCIL')
1610 @DocsEditable()
1611 @Experimental() // untriaged
1612 static const int DEPTH_STENCIL = 0x84F9;
1613
1614 @DomName('WebGLRenderingContextBase.DEPTH_STENCIL_ATTACHMENT')
1615 @DocsEditable()
1616 @Experimental() // untriaged
1617 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A;
1618
1619 @DomName('WebGLRenderingContextBase.DEPTH_TEST')
1620 @DocsEditable()
1621 @Experimental() // untriaged
1622 static const int DEPTH_TEST = 0x0B71;
1623
1624 @DomName('WebGLRenderingContextBase.DEPTH_WRITEMASK')
1625 @DocsEditable()
1626 @Experimental() // untriaged
1627 static const int DEPTH_WRITEMASK = 0x0B72;
1628
1629 @DomName('WebGLRenderingContextBase.DITHER')
1630 @DocsEditable()
1631 @Experimental() // untriaged
1632 static const int DITHER = 0x0BD0;
1633
1634 @DomName('WebGLRenderingContextBase.DONT_CARE')
1635 @DocsEditable()
1636 @Experimental() // untriaged
1637 static const int DONT_CARE = 0x1100;
1638
1639 @DomName('WebGLRenderingContextBase.DST_ALPHA')
1640 @DocsEditable()
1641 @Experimental() // untriaged
1642 static const int DST_ALPHA = 0x0304;
1643
1644 @DomName('WebGLRenderingContextBase.DST_COLOR')
1645 @DocsEditable()
1646 @Experimental() // untriaged
1647 static const int DST_COLOR = 0x0306;
1648
1649 @DomName('WebGLRenderingContextBase.DYNAMIC_DRAW')
1650 @DocsEditable()
1651 @Experimental() // untriaged
1652 static const int DYNAMIC_DRAW = 0x88E8;
1653
1654 @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER')
1655 @DocsEditable()
1656 @Experimental() // untriaged
1657 static const int ELEMENT_ARRAY_BUFFER = 0x8893;
1658
1659 @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER_BINDING')
1660 @DocsEditable()
1661 @Experimental() // untriaged
1662 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
1663
1664 @DomName('WebGLRenderingContextBase.EQUAL')
1665 @DocsEditable()
1666 @Experimental() // untriaged
1667 static const int EQUAL = 0x0202;
1668
1669 @DomName('WebGLRenderingContextBase.FASTEST')
1670 @DocsEditable()
1671 @Experimental() // untriaged
1672 static const int FASTEST = 0x1101;
1673
1674 @DomName('WebGLRenderingContextBase.FLOAT')
1675 @DocsEditable()
1676 @Experimental() // untriaged
1677 static const int FLOAT = 0x1406;
1678
1679 @DomName('WebGLRenderingContextBase.FLOAT_MAT2')
1680 @DocsEditable()
1681 @Experimental() // untriaged
1682 static const int FLOAT_MAT2 = 0x8B5A;
1683
1684 @DomName('WebGLRenderingContextBase.FLOAT_MAT3')
1685 @DocsEditable()
1686 @Experimental() // untriaged
1687 static const int FLOAT_MAT3 = 0x8B5B;
1688
1689 @DomName('WebGLRenderingContextBase.FLOAT_MAT4')
1690 @DocsEditable()
1691 @Experimental() // untriaged
1692 static const int FLOAT_MAT4 = 0x8B5C;
1693
1694 @DomName('WebGLRenderingContextBase.FLOAT_VEC2')
1695 @DocsEditable()
1696 @Experimental() // untriaged
1697 static const int FLOAT_VEC2 = 0x8B50;
1698
1699 @DomName('WebGLRenderingContextBase.FLOAT_VEC3')
1700 @DocsEditable()
1701 @Experimental() // untriaged
1702 static const int FLOAT_VEC3 = 0x8B51;
1703
1704 @DomName('WebGLRenderingContextBase.FLOAT_VEC4')
1705 @DocsEditable()
1706 @Experimental() // untriaged
1707 static const int FLOAT_VEC4 = 0x8B52;
1708
1709 @DomName('WebGLRenderingContextBase.FRAGMENT_SHADER')
1710 @DocsEditable()
1711 @Experimental() // untriaged
1712 static const int FRAGMENT_SHADER = 0x8B30;
1713
1714 @DomName('WebGLRenderingContextBase.FRAMEBUFFER')
1715 @DocsEditable()
1716 @Experimental() // untriaged
1717 static const int FRAMEBUFFER = 0x8D40;
1718
1719 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME')
1720 @DocsEditable()
1721 @Experimental() // untriaged
1722 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
1723
1724 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE')
1725 @DocsEditable()
1726 @Experimental() // untriaged
1727 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
1728
1729 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FA CE')
1730 @DocsEditable()
1731 @Experimental() // untriaged
1732 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
1733
1734 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL')
1735 @DocsEditable()
1736 @Experimental() // untriaged
1737 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
1738
1739 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_BINDING')
1740 @DocsEditable()
1741 @Experimental() // untriaged
1742 static const int FRAMEBUFFER_BINDING = 0x8CA6;
1743
1744 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_COMPLETE')
1745 @DocsEditable()
1746 @Experimental() // untriaged
1747 static const int FRAMEBUFFER_COMPLETE = 0x8CD5;
1748
1749 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_ATTACHMENT')
1750 @DocsEditable()
1751 @Experimental() // untriaged
1752 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
1753
1754 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_DIMENSIONS')
1755 @DocsEditable()
1756 @Experimental() // untriaged
1757 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
1758
1759 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT' )
1760 @DocsEditable()
1761 @Experimental() // untriaged
1762 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
1763
1764 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_UNSUPPORTED')
1765 @DocsEditable()
1766 @Experimental() // untriaged
1767 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
1768
1769 @DomName('WebGLRenderingContextBase.FRONT')
1770 @DocsEditable()
1771 @Experimental() // untriaged
1772 static const int FRONT = 0x0404;
1773
1774 @DomName('WebGLRenderingContextBase.FRONT_AND_BACK')
1775 @DocsEditable()
1776 @Experimental() // untriaged
1777 static const int FRONT_AND_BACK = 0x0408;
1778
1779 @DomName('WebGLRenderingContextBase.FRONT_FACE')
1780 @DocsEditable()
1781 @Experimental() // untriaged
1782 static const int FRONT_FACE = 0x0B46;
1783
1784 @DomName('WebGLRenderingContextBase.FUNC_ADD')
1785 @DocsEditable()
1786 @Experimental() // untriaged
1787 static const int FUNC_ADD = 0x8006;
1788
1789 @DomName('WebGLRenderingContextBase.FUNC_REVERSE_SUBTRACT')
1790 @DocsEditable()
1791 @Experimental() // untriaged
1792 static const int FUNC_REVERSE_SUBTRACT = 0x800B;
1793
1794 @DomName('WebGLRenderingContextBase.FUNC_SUBTRACT')
1795 @DocsEditable()
1796 @Experimental() // untriaged
1797 static const int FUNC_SUBTRACT = 0x800A;
1798
1799 @DomName('WebGLRenderingContextBase.GENERATE_MIPMAP_HINT')
1800 @DocsEditable()
1801 @Experimental() // untriaged
1802 static const int GENERATE_MIPMAP_HINT = 0x8192;
1803
1804 @DomName('WebGLRenderingContextBase.GEQUAL')
1805 @DocsEditable()
1806 @Experimental() // untriaged
1807 static const int GEQUAL = 0x0206;
1808
1809 @DomName('WebGLRenderingContextBase.GREATER')
1810 @DocsEditable()
1811 @Experimental() // untriaged
1812 static const int GREATER = 0x0204;
1813
1814 @DomName('WebGLRenderingContextBase.GREEN_BITS')
1815 @DocsEditable()
1816 @Experimental() // untriaged
1817 static const int GREEN_BITS = 0x0D53;
1818
1819 @DomName('WebGLRenderingContextBase.HIGH_FLOAT')
1820 @DocsEditable()
1821 @Experimental() // untriaged
1822 static const int HIGH_FLOAT = 0x8DF2;
1823
1824 @DomName('WebGLRenderingContextBase.HIGH_INT')
1825 @DocsEditable()
1826 @Experimental() // untriaged
1827 static const int HIGH_INT = 0x8DF5;
1828
1829 @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_FORMAT')
1830 @DocsEditable()
1831 @Experimental() // untriaged
1832 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B;
1833
1834 @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_TYPE')
1835 @DocsEditable()
1836 @Experimental() // untriaged
1837 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A;
1838
1839 @DomName('WebGLRenderingContextBase.INCR')
1840 @DocsEditable()
1841 @Experimental() // untriaged
1842 static const int INCR = 0x1E02;
1843
1844 @DomName('WebGLRenderingContextBase.INCR_WRAP')
1845 @DocsEditable()
1846 @Experimental() // untriaged
1847 static const int INCR_WRAP = 0x8507;
1848
1849 @DomName('WebGLRenderingContextBase.INT')
1850 @DocsEditable()
1851 @Experimental() // untriaged
1852 static const int INT = 0x1404;
1853
1854 @DomName('WebGLRenderingContextBase.INT_VEC2')
1855 @DocsEditable()
1856 @Experimental() // untriaged
1857 static const int INT_VEC2 = 0x8B53;
1858
1859 @DomName('WebGLRenderingContextBase.INT_VEC3')
1860 @DocsEditable()
1861 @Experimental() // untriaged
1862 static const int INT_VEC3 = 0x8B54;
1863
1864 @DomName('WebGLRenderingContextBase.INT_VEC4')
1865 @DocsEditable()
1866 @Experimental() // untriaged
1867 static const int INT_VEC4 = 0x8B55;
1868
1869 @DomName('WebGLRenderingContextBase.INVALID_ENUM')
1870 @DocsEditable()
1871 @Experimental() // untriaged
1872 static const int INVALID_ENUM = 0x0500;
1873
1874 @DomName('WebGLRenderingContextBase.INVALID_FRAMEBUFFER_OPERATION')
1875 @DocsEditable()
1876 @Experimental() // untriaged
1877 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
1878
1879 @DomName('WebGLRenderingContextBase.INVALID_OPERATION')
1880 @DocsEditable()
1881 @Experimental() // untriaged
1882 static const int INVALID_OPERATION = 0x0502;
1883
1884 @DomName('WebGLRenderingContextBase.INVALID_VALUE')
1885 @DocsEditable()
1886 @Experimental() // untriaged
1887 static const int INVALID_VALUE = 0x0501;
1888
1889 @DomName('WebGLRenderingContextBase.INVERT')
1890 @DocsEditable()
1891 @Experimental() // untriaged
1892 static const int INVERT = 0x150A;
1893
1894 @DomName('WebGLRenderingContextBase.KEEP')
1895 @DocsEditable()
1896 @Experimental() // untriaged
1897 static const int KEEP = 0x1E00;
1898
1899 @DomName('WebGLRenderingContextBase.LEQUAL')
1900 @DocsEditable()
1901 @Experimental() // untriaged
1902 static const int LEQUAL = 0x0203;
1903
1904 @DomName('WebGLRenderingContextBase.LESS')
1905 @DocsEditable()
1906 @Experimental() // untriaged
1907 static const int LESS = 0x0201;
1908
1909 @DomName('WebGLRenderingContextBase.LINEAR')
1910 @DocsEditable()
1911 @Experimental() // untriaged
1912 static const int LINEAR = 0x2601;
1913
1914 @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_LINEAR')
1915 @DocsEditable()
1916 @Experimental() // untriaged
1917 static const int LINEAR_MIPMAP_LINEAR = 0x2703;
1918
1919 @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_NEAREST')
1920 @DocsEditable()
1921 @Experimental() // untriaged
1922 static const int LINEAR_MIPMAP_NEAREST = 0x2701;
1923
1924 @DomName('WebGLRenderingContextBase.LINES')
1925 @DocsEditable()
1926 @Experimental() // untriaged
1927 static const int LINES = 0x0001;
1928
1929 @DomName('WebGLRenderingContextBase.LINE_LOOP')
1930 @DocsEditable()
1931 @Experimental() // untriaged
1932 static const int LINE_LOOP = 0x0002;
1933
1934 @DomName('WebGLRenderingContextBase.LINE_STRIP')
1935 @DocsEditable()
1936 @Experimental() // untriaged
1937 static const int LINE_STRIP = 0x0003;
1938
1939 @DomName('WebGLRenderingContextBase.LINE_WIDTH')
1940 @DocsEditable()
1941 @Experimental() // untriaged
1942 static const int LINE_WIDTH = 0x0B21;
1943
1944 @DomName('WebGLRenderingContextBase.LINK_STATUS')
1945 @DocsEditable()
1946 @Experimental() // untriaged
1947 static const int LINK_STATUS = 0x8B82;
1948
1949 @DomName('WebGLRenderingContextBase.LOW_FLOAT')
1950 @DocsEditable()
1951 @Experimental() // untriaged
1952 static const int LOW_FLOAT = 0x8DF0;
1953
1954 @DomName('WebGLRenderingContextBase.LOW_INT')
1955 @DocsEditable()
1956 @Experimental() // untriaged
1957 static const int LOW_INT = 0x8DF3;
1958
1959 @DomName('WebGLRenderingContextBase.LUMINANCE')
1960 @DocsEditable()
1961 @Experimental() // untriaged
1962 static const int LUMINANCE = 0x1909;
1963
1964 @DomName('WebGLRenderingContextBase.LUMINANCE_ALPHA')
1965 @DocsEditable()
1966 @Experimental() // untriaged
1967 static const int LUMINANCE_ALPHA = 0x190A;
1968
1969 @DomName('WebGLRenderingContextBase.MAX_COMBINED_TEXTURE_IMAGE_UNITS')
1970 @DocsEditable()
1971 @Experimental() // untriaged
1972 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
1973
1974 @DomName('WebGLRenderingContextBase.MAX_CUBE_MAP_TEXTURE_SIZE')
1975 @DocsEditable()
1976 @Experimental() // untriaged
1977 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
1978
1979 @DomName('WebGLRenderingContextBase.MAX_FRAGMENT_UNIFORM_VECTORS')
1980 @DocsEditable()
1981 @Experimental() // untriaged
1982 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
1983
1984 @DomName('WebGLRenderingContextBase.MAX_RENDERBUFFER_SIZE')
1985 @DocsEditable()
1986 @Experimental() // untriaged
1987 static const int MAX_RENDERBUFFER_SIZE = 0x84E8;
1988
1989 @DomName('WebGLRenderingContextBase.MAX_TEXTURE_IMAGE_UNITS')
1990 @DocsEditable()
1991 @Experimental() // untriaged
1992 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
1993
1994 @DomName('WebGLRenderingContextBase.MAX_TEXTURE_SIZE')
1995 @DocsEditable()
1996 @Experimental() // untriaged
1997 static const int MAX_TEXTURE_SIZE = 0x0D33;
1998
1999 @DomName('WebGLRenderingContextBase.MAX_VARYING_VECTORS')
2000 @DocsEditable()
2001 @Experimental() // untriaged
2002 static const int MAX_VARYING_VECTORS = 0x8DFC;
2003
2004 @DomName('WebGLRenderingContextBase.MAX_VERTEX_ATTRIBS')
2005 @DocsEditable()
2006 @Experimental() // untriaged
2007 static const int MAX_VERTEX_ATTRIBS = 0x8869;
2008
2009 @DomName('WebGLRenderingContextBase.MAX_VERTEX_TEXTURE_IMAGE_UNITS')
2010 @DocsEditable()
2011 @Experimental() // untriaged
2012 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
2013
2014 @DomName('WebGLRenderingContextBase.MAX_VERTEX_UNIFORM_VECTORS')
2015 @DocsEditable()
2016 @Experimental() // untriaged
2017 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
2018
2019 @DomName('WebGLRenderingContextBase.MAX_VIEWPORT_DIMS')
2020 @DocsEditable()
2021 @Experimental() // untriaged
2022 static const int MAX_VIEWPORT_DIMS = 0x0D3A;
2023
2024 @DomName('WebGLRenderingContextBase.MEDIUM_FLOAT')
2025 @DocsEditable()
2026 @Experimental() // untriaged
2027 static const int MEDIUM_FLOAT = 0x8DF1;
2028
2029 @DomName('WebGLRenderingContextBase.MEDIUM_INT')
2030 @DocsEditable()
2031 @Experimental() // untriaged
2032 static const int MEDIUM_INT = 0x8DF4;
2033
2034 @DomName('WebGLRenderingContextBase.MIRRORED_REPEAT')
2035 @DocsEditable()
2036 @Experimental() // untriaged
2037 static const int MIRRORED_REPEAT = 0x8370;
2038
2039 @DomName('WebGLRenderingContextBase.NEAREST')
2040 @DocsEditable()
2041 @Experimental() // untriaged
2042 static const int NEAREST = 0x2600;
2043
2044 @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_LINEAR')
2045 @DocsEditable()
2046 @Experimental() // untriaged
2047 static const int NEAREST_MIPMAP_LINEAR = 0x2702;
2048
2049 @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_NEAREST')
2050 @DocsEditable()
2051 @Experimental() // untriaged
2052 static const int NEAREST_MIPMAP_NEAREST = 0x2700;
2053
2054 @DomName('WebGLRenderingContextBase.NEVER')
2055 @DocsEditable()
2056 @Experimental() // untriaged
2057 static const int NEVER = 0x0200;
2058
2059 @DomName('WebGLRenderingContextBase.NICEST')
2060 @DocsEditable()
2061 @Experimental() // untriaged
2062 static const int NICEST = 0x1102;
2063
2064 @DomName('WebGLRenderingContextBase.NONE')
2065 @DocsEditable()
2066 @Experimental() // untriaged
2067 static const int NONE = 0;
2068
2069 @DomName('WebGLRenderingContextBase.NOTEQUAL')
2070 @DocsEditable()
2071 @Experimental() // untriaged
2072 static const int NOTEQUAL = 0x0205;
2073
2074 @DomName('WebGLRenderingContextBase.NO_ERROR')
2075 @DocsEditable()
2076 @Experimental() // untriaged
2077 static const int NO_ERROR = 0;
2078
2079 @DomName('WebGLRenderingContextBase.ONE')
2080 @DocsEditable()
2081 @Experimental() // untriaged
2082 static const int ONE = 1;
2083
2084 @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_ALPHA')
2085 @DocsEditable()
2086 @Experimental() // untriaged
2087 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
2088
2089 @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_COLOR')
2090 @DocsEditable()
2091 @Experimental() // untriaged
2092 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002;
2093
2094 @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_ALPHA')
2095 @DocsEditable()
2096 @Experimental() // untriaged
2097 static const int ONE_MINUS_DST_ALPHA = 0x0305;
2098
2099 @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_COLOR')
2100 @DocsEditable()
2101 @Experimental() // untriaged
2102 static const int ONE_MINUS_DST_COLOR = 0x0307;
2103
2104 @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_ALPHA')
2105 @DocsEditable()
2106 @Experimental() // untriaged
2107 static const int ONE_MINUS_SRC_ALPHA = 0x0303;
2108
2109 @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_COLOR')
2110 @DocsEditable()
2111 @Experimental() // untriaged
2112 static const int ONE_MINUS_SRC_COLOR = 0x0301;
2113
2114 @DomName('WebGLRenderingContextBase.OUT_OF_MEMORY')
2115 @DocsEditable()
2116 @Experimental() // untriaged
2117 static const int OUT_OF_MEMORY = 0x0505;
2118
2119 @DomName('WebGLRenderingContextBase.PACK_ALIGNMENT')
2120 @DocsEditable()
2121 @Experimental() // untriaged
2122 static const int PACK_ALIGNMENT = 0x0D05;
2123
2124 @DomName('WebGLRenderingContextBase.POINTS')
2125 @DocsEditable()
2126 @Experimental() // untriaged
2127 static const int POINTS = 0x0000;
2128
2129 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FACTOR')
2130 @DocsEditable()
2131 @Experimental() // untriaged
2132 static const int POLYGON_OFFSET_FACTOR = 0x8038;
2133
2134 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FILL')
2135 @DocsEditable()
2136 @Experimental() // untriaged
2137 static const int POLYGON_OFFSET_FILL = 0x8037;
2138
2139 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_UNITS')
2140 @DocsEditable()
2141 @Experimental() // untriaged
2142 static const int POLYGON_OFFSET_UNITS = 0x2A00;
2143
2144 @DomName('WebGLRenderingContextBase.RED_BITS')
2145 @DocsEditable()
2146 @Experimental() // untriaged
2147 static const int RED_BITS = 0x0D52;
2148
2149 @DomName('WebGLRenderingContextBase.RENDERBUFFER')
2150 @DocsEditable()
2151 @Experimental() // untriaged
2152 static const int RENDERBUFFER = 0x8D41;
2153
2154 @DomName('WebGLRenderingContextBase.RENDERBUFFER_ALPHA_SIZE')
2155 @DocsEditable()
2156 @Experimental() // untriaged
2157 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
2158
2159 @DomName('WebGLRenderingContextBase.RENDERBUFFER_BINDING')
2160 @DocsEditable()
2161 @Experimental() // untriaged
2162 static const int RENDERBUFFER_BINDING = 0x8CA7;
2163
2164 @DomName('WebGLRenderingContextBase.RENDERBUFFER_BLUE_SIZE')
2165 @DocsEditable()
2166 @Experimental() // untriaged
2167 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52;
2168
2169 @DomName('WebGLRenderingContextBase.RENDERBUFFER_DEPTH_SIZE')
2170 @DocsEditable()
2171 @Experimental() // untriaged
2172 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
2173
2174 @DomName('WebGLRenderingContextBase.RENDERBUFFER_GREEN_SIZE')
2175 @DocsEditable()
2176 @Experimental() // untriaged
2177 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51;
2178
2179 @DomName('WebGLRenderingContextBase.RENDERBUFFER_HEIGHT')
2180 @DocsEditable()
2181 @Experimental() // untriaged
2182 static const int RENDERBUFFER_HEIGHT = 0x8D43;
2183
2184 @DomName('WebGLRenderingContextBase.RENDERBUFFER_INTERNAL_FORMAT')
2185 @DocsEditable()
2186 @Experimental() // untriaged
2187 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
2188
2189 @DomName('WebGLRenderingContextBase.RENDERBUFFER_RED_SIZE')
2190 @DocsEditable()
2191 @Experimental() // untriaged
2192 static const int RENDERBUFFER_RED_SIZE = 0x8D50;
2193
2194 @DomName('WebGLRenderingContextBase.RENDERBUFFER_STENCIL_SIZE')
2195 @DocsEditable()
2196 @Experimental() // untriaged
2197 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
2198
2199 @DomName('WebGLRenderingContextBase.RENDERBUFFER_WIDTH')
2200 @DocsEditable()
2201 @Experimental() // untriaged
2202 static const int RENDERBUFFER_WIDTH = 0x8D42;
2203
2204 @DomName('WebGLRenderingContextBase.RENDERER')
2205 @DocsEditable()
2206 @Experimental() // untriaged
2207 static const int RENDERER = 0x1F01;
2208
2209 @DomName('WebGLRenderingContextBase.REPEAT')
2210 @DocsEditable()
2211 @Experimental() // untriaged
2212 static const int REPEAT = 0x2901;
2213
2214 @DomName('WebGLRenderingContextBase.REPLACE')
2215 @DocsEditable()
2216 @Experimental() // untriaged
2217 static const int REPLACE = 0x1E01;
2218
2219 @DomName('WebGLRenderingContextBase.RGB')
2220 @DocsEditable()
2221 @Experimental() // untriaged
2222 static const int RGB = 0x1907;
2223
2224 @DomName('WebGLRenderingContextBase.RGB565')
2225 @DocsEditable()
2226 @Experimental() // untriaged
2227 static const int RGB565 = 0x8D62;
2228
2229 @DomName('WebGLRenderingContextBase.RGB5_A1')
2230 @DocsEditable()
2231 @Experimental() // untriaged
2232 static const int RGB5_A1 = 0x8057;
2233
2234 @DomName('WebGLRenderingContextBase.RGBA')
2235 @DocsEditable()
2236 @Experimental() // untriaged
2237 static const int RGBA = 0x1908;
2238
2239 @DomName('WebGLRenderingContextBase.RGBA4')
2240 @DocsEditable()
2241 @Experimental() // untriaged
2242 static const int RGBA4 = 0x8056;
2243
2244 @DomName('WebGLRenderingContextBase.SAMPLER_2D')
2245 @DocsEditable()
2246 @Experimental() // untriaged
2247 static const int SAMPLER_2D = 0x8B5E;
2248
2249 @DomName('WebGLRenderingContextBase.SAMPLER_CUBE')
2250 @DocsEditable()
2251 @Experimental() // untriaged
2252 static const int SAMPLER_CUBE = 0x8B60;
2253
2254 @DomName('WebGLRenderingContextBase.SAMPLES')
2255 @DocsEditable()
2256 @Experimental() // untriaged
2257 static const int SAMPLES = 0x80A9;
2258
2259 @DomName('WebGLRenderingContextBase.SAMPLE_ALPHA_TO_COVERAGE')
2260 @DocsEditable()
2261 @Experimental() // untriaged
2262 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
2263
2264 @DomName('WebGLRenderingContextBase.SAMPLE_BUFFERS')
2265 @DocsEditable()
2266 @Experimental() // untriaged
2267 static const int SAMPLE_BUFFERS = 0x80A8;
2268
2269 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE')
2270 @DocsEditable()
2271 @Experimental() // untriaged
2272 static const int SAMPLE_COVERAGE = 0x80A0;
2273
2274 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_INVERT')
2275 @DocsEditable()
2276 @Experimental() // untriaged
2277 static const int SAMPLE_COVERAGE_INVERT = 0x80AB;
2278
2279 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_VALUE')
2280 @DocsEditable()
2281 @Experimental() // untriaged
2282 static const int SAMPLE_COVERAGE_VALUE = 0x80AA;
2283
2284 @DomName('WebGLRenderingContextBase.SCISSOR_BOX')
2285 @DocsEditable()
2286 @Experimental() // untriaged
2287 static const int SCISSOR_BOX = 0x0C10;
2288
2289 @DomName('WebGLRenderingContextBase.SCISSOR_TEST')
2290 @DocsEditable()
2291 @Experimental() // untriaged
2292 static const int SCISSOR_TEST = 0x0C11;
2293
2294 @DomName('WebGLRenderingContextBase.SHADER_TYPE')
2295 @DocsEditable()
2296 @Experimental() // untriaged
2297 static const int SHADER_TYPE = 0x8B4F;
2298
2299 @DomName('WebGLRenderingContextBase.SHADING_LANGUAGE_VERSION')
2300 @DocsEditable()
2301 @Experimental() // untriaged
2302 static const int SHADING_LANGUAGE_VERSION = 0x8B8C;
2303
2304 @DomName('WebGLRenderingContextBase.SHORT')
2305 @DocsEditable()
2306 @Experimental() // untriaged
2307 static const int SHORT = 0x1402;
2308
2309 @DomName('WebGLRenderingContextBase.SRC_ALPHA')
2310 @DocsEditable()
2311 @Experimental() // untriaged
2312 static const int SRC_ALPHA = 0x0302;
2313
2314 @DomName('WebGLRenderingContextBase.SRC_ALPHA_SATURATE')
2315 @DocsEditable()
2316 @Experimental() // untriaged
2317 static const int SRC_ALPHA_SATURATE = 0x0308;
2318
2319 @DomName('WebGLRenderingContextBase.SRC_COLOR')
2320 @DocsEditable()
2321 @Experimental() // untriaged
2322 static const int SRC_COLOR = 0x0300;
2323
2324 @DomName('WebGLRenderingContextBase.STATIC_DRAW')
2325 @DocsEditable()
2326 @Experimental() // untriaged
2327 static const int STATIC_DRAW = 0x88E4;
2328
2329 @DomName('WebGLRenderingContextBase.STENCIL_ATTACHMENT')
2330 @DocsEditable()
2331 @Experimental() // untriaged
2332 static const int STENCIL_ATTACHMENT = 0x8D20;
2333
2334 @DomName('WebGLRenderingContextBase.STENCIL_BACK_FAIL')
2335 @DocsEditable()
2336 @Experimental() // untriaged
2337 static const int STENCIL_BACK_FAIL = 0x8801;
2338
2339 @DomName('WebGLRenderingContextBase.STENCIL_BACK_FUNC')
2340 @DocsEditable()
2341 @Experimental() // untriaged
2342 static const int STENCIL_BACK_FUNC = 0x8800;
2343
2344 @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_FAIL')
2345 @DocsEditable()
2346 @Experimental() // untriaged
2347 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
2348
2349 @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_PASS')
2350 @DocsEditable()
2351 @Experimental() // untriaged
2352 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
2353
2354 @DomName('WebGLRenderingContextBase.STENCIL_BACK_REF')
2355 @DocsEditable()
2356 @Experimental() // untriaged
2357 static const int STENCIL_BACK_REF = 0x8CA3;
2358
2359 @DomName('WebGLRenderingContextBase.STENCIL_BACK_VALUE_MASK')
2360 @DocsEditable()
2361 @Experimental() // untriaged
2362 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4;
2363
2364 @DomName('WebGLRenderingContextBase.STENCIL_BACK_WRITEMASK')
2365 @DocsEditable()
2366 @Experimental() // untriaged
2367 static const int STENCIL_BACK_WRITEMASK = 0x8CA5;
2368
2369 @DomName('WebGLRenderingContextBase.STENCIL_BITS')
2370 @DocsEditable()
2371 @Experimental() // untriaged
2372 static const int STENCIL_BITS = 0x0D57;
2373
2374 @DomName('WebGLRenderingContextBase.STENCIL_BUFFER_BIT')
2375 @DocsEditable()
2376 @Experimental() // untriaged
2377 static const int STENCIL_BUFFER_BIT = 0x00000400;
2378
2379 @DomName('WebGLRenderingContextBase.STENCIL_CLEAR_VALUE')
2380 @DocsEditable()
2381 @Experimental() // untriaged
2382 static const int STENCIL_CLEAR_VALUE = 0x0B91;
2383
2384 @DomName('WebGLRenderingContextBase.STENCIL_FAIL')
2385 @DocsEditable()
2386 @Experimental() // untriaged
2387 static const int STENCIL_FAIL = 0x0B94;
2388
2389 @DomName('WebGLRenderingContextBase.STENCIL_FUNC')
2390 @DocsEditable()
2391 @Experimental() // untriaged
2392 static const int STENCIL_FUNC = 0x0B92;
2393
2394 @DomName('WebGLRenderingContextBase.STENCIL_INDEX')
2395 @DocsEditable()
2396 @Experimental() // untriaged
2397 static const int STENCIL_INDEX = 0x1901;
2398
2399 @DomName('WebGLRenderingContextBase.STENCIL_INDEX8')
2400 @DocsEditable()
2401 @Experimental() // untriaged
2402 static const int STENCIL_INDEX8 = 0x8D48;
2403
2404 @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_FAIL')
2405 @DocsEditable()
2406 @Experimental() // untriaged
2407 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
2408
2409 @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_PASS')
2410 @DocsEditable()
2411 @Experimental() // untriaged
2412 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96;
2413
2414 @DomName('WebGLRenderingContextBase.STENCIL_REF')
2415 @DocsEditable()
2416 @Experimental() // untriaged
2417 static const int STENCIL_REF = 0x0B97;
2418
2419 @DomName('WebGLRenderingContextBase.STENCIL_TEST')
2420 @DocsEditable()
2421 @Experimental() // untriaged
2422 static const int STENCIL_TEST = 0x0B90;
2423
2424 @DomName('WebGLRenderingContextBase.STENCIL_VALUE_MASK')
2425 @DocsEditable()
2426 @Experimental() // untriaged
2427 static const int STENCIL_VALUE_MASK = 0x0B93;
2428
2429 @DomName('WebGLRenderingContextBase.STENCIL_WRITEMASK')
2430 @DocsEditable()
2431 @Experimental() // untriaged
2432 static const int STENCIL_WRITEMASK = 0x0B98;
2433
2434 @DomName('WebGLRenderingContextBase.STREAM_DRAW')
2435 @DocsEditable()
2436 @Experimental() // untriaged
2437 static const int STREAM_DRAW = 0x88E0;
2438
2439 @DomName('WebGLRenderingContextBase.SUBPIXEL_BITS')
2440 @DocsEditable()
2441 @Experimental() // untriaged
2442 static const int SUBPIXEL_BITS = 0x0D50;
2443
2444 @DomName('WebGLRenderingContextBase.TEXTURE')
2445 @DocsEditable()
2446 @Experimental() // untriaged
2447 static const int TEXTURE = 0x1702;
2448
2449 @DomName('WebGLRenderingContextBase.TEXTURE0')
2450 @DocsEditable()
2451 @Experimental() // untriaged
2452 static const int TEXTURE0 = 0x84C0;
2453
2454 @DomName('WebGLRenderingContextBase.TEXTURE1')
2455 @DocsEditable()
2456 @Experimental() // untriaged
2457 static const int TEXTURE1 = 0x84C1;
2458
2459 @DomName('WebGLRenderingContextBase.TEXTURE10')
2460 @DocsEditable()
2461 @Experimental() // untriaged
2462 static const int TEXTURE10 = 0x84CA;
2463
2464 @DomName('WebGLRenderingContextBase.TEXTURE11')
2465 @DocsEditable()
2466 @Experimental() // untriaged
2467 static const int TEXTURE11 = 0x84CB;
2468
2469 @DomName('WebGLRenderingContextBase.TEXTURE12')
2470 @DocsEditable()
2471 @Experimental() // untriaged
2472 static const int TEXTURE12 = 0x84CC;
2473
2474 @DomName('WebGLRenderingContextBase.TEXTURE13')
2475 @DocsEditable()
2476 @Experimental() // untriaged
2477 static const int TEXTURE13 = 0x84CD;
2478
2479 @DomName('WebGLRenderingContextBase.TEXTURE14')
2480 @DocsEditable()
2481 @Experimental() // untriaged
2482 static const int TEXTURE14 = 0x84CE;
2483
2484 @DomName('WebGLRenderingContextBase.TEXTURE15')
2485 @DocsEditable()
2486 @Experimental() // untriaged
2487 static const int TEXTURE15 = 0x84CF;
2488
2489 @DomName('WebGLRenderingContextBase.TEXTURE16')
2490 @DocsEditable()
2491 @Experimental() // untriaged
2492 static const int TEXTURE16 = 0x84D0;
2493
2494 @DomName('WebGLRenderingContextBase.TEXTURE17')
2495 @DocsEditable()
2496 @Experimental() // untriaged
2497 static const int TEXTURE17 = 0x84D1;
2498
2499 @DomName('WebGLRenderingContextBase.TEXTURE18')
2500 @DocsEditable()
2501 @Experimental() // untriaged
2502 static const int TEXTURE18 = 0x84D2;
2503
2504 @DomName('WebGLRenderingContextBase.TEXTURE19')
2505 @DocsEditable()
2506 @Experimental() // untriaged
2507 static const int TEXTURE19 = 0x84D3;
2508
2509 @DomName('WebGLRenderingContextBase.TEXTURE2')
2510 @DocsEditable()
2511 @Experimental() // untriaged
2512 static const int TEXTURE2 = 0x84C2;
2513
2514 @DomName('WebGLRenderingContextBase.TEXTURE20')
2515 @DocsEditable()
2516 @Experimental() // untriaged
2517 static const int TEXTURE20 = 0x84D4;
2518
2519 @DomName('WebGLRenderingContextBase.TEXTURE21')
2520 @DocsEditable()
2521 @Experimental() // untriaged
2522 static const int TEXTURE21 = 0x84D5;
2523
2524 @DomName('WebGLRenderingContextBase.TEXTURE22')
2525 @DocsEditable()
2526 @Experimental() // untriaged
2527 static const int TEXTURE22 = 0x84D6;
2528
2529 @DomName('WebGLRenderingContextBase.TEXTURE23')
2530 @DocsEditable()
2531 @Experimental() // untriaged
2532 static const int TEXTURE23 = 0x84D7;
2533
2534 @DomName('WebGLRenderingContextBase.TEXTURE24')
2535 @DocsEditable()
2536 @Experimental() // untriaged
2537 static const int TEXTURE24 = 0x84D8;
2538
2539 @DomName('WebGLRenderingContextBase.TEXTURE25')
2540 @DocsEditable()
2541 @Experimental() // untriaged
2542 static const int TEXTURE25 = 0x84D9;
2543
2544 @DomName('WebGLRenderingContextBase.TEXTURE26')
2545 @DocsEditable()
2546 @Experimental() // untriaged
2547 static const int TEXTURE26 = 0x84DA;
2548
2549 @DomName('WebGLRenderingContextBase.TEXTURE27')
2550 @DocsEditable()
2551 @Experimental() // untriaged
2552 static const int TEXTURE27 = 0x84DB;
2553
2554 @DomName('WebGLRenderingContextBase.TEXTURE28')
2555 @DocsEditable()
2556 @Experimental() // untriaged
2557 static const int TEXTURE28 = 0x84DC;
2558
2559 @DomName('WebGLRenderingContextBase.TEXTURE29')
2560 @DocsEditable()
2561 @Experimental() // untriaged
2562 static const int TEXTURE29 = 0x84DD;
2563
2564 @DomName('WebGLRenderingContextBase.TEXTURE3')
2565 @DocsEditable()
2566 @Experimental() // untriaged
2567 static const int TEXTURE3 = 0x84C3;
2568
2569 @DomName('WebGLRenderingContextBase.TEXTURE30')
2570 @DocsEditable()
2571 @Experimental() // untriaged
2572 static const int TEXTURE30 = 0x84DE;
2573
2574 @DomName('WebGLRenderingContextBase.TEXTURE31')
2575 @DocsEditable()
2576 @Experimental() // untriaged
2577 static const int TEXTURE31 = 0x84DF;
2578
2579 @DomName('WebGLRenderingContextBase.TEXTURE4')
2580 @DocsEditable()
2581 @Experimental() // untriaged
2582 static const int TEXTURE4 = 0x84C4;
2583
2584 @DomName('WebGLRenderingContextBase.TEXTURE5')
2585 @DocsEditable()
2586 @Experimental() // untriaged
2587 static const int TEXTURE5 = 0x84C5;
2588
2589 @DomName('WebGLRenderingContextBase.TEXTURE6')
2590 @DocsEditable()
2591 @Experimental() // untriaged
2592 static const int TEXTURE6 = 0x84C6;
2593
2594 @DomName('WebGLRenderingContextBase.TEXTURE7')
2595 @DocsEditable()
2596 @Experimental() // untriaged
2597 static const int TEXTURE7 = 0x84C7;
2598
2599 @DomName('WebGLRenderingContextBase.TEXTURE8')
2600 @DocsEditable()
2601 @Experimental() // untriaged
2602 static const int TEXTURE8 = 0x84C8;
2603
2604 @DomName('WebGLRenderingContextBase.TEXTURE9')
2605 @DocsEditable()
2606 @Experimental() // untriaged
2607 static const int TEXTURE9 = 0x84C9;
2608
2609 @DomName('WebGLRenderingContextBase.TEXTURE_2D')
2610 @DocsEditable()
2611 @Experimental() // untriaged
2612 static const int TEXTURE_2D = 0x0DE1;
2613
2614 @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_2D')
2615 @DocsEditable()
2616 @Experimental() // untriaged
2617 static const int TEXTURE_BINDING_2D = 0x8069;
2618
2619 @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_CUBE_MAP')
2620 @DocsEditable()
2621 @Experimental() // untriaged
2622 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514;
2623
2624 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP')
2625 @DocsEditable()
2626 @Experimental() // untriaged
2627 static const int TEXTURE_CUBE_MAP = 0x8513;
2628
2629 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_X')
2630 @DocsEditable()
2631 @Experimental() // untriaged
2632 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
2633
2634 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Y')
2635 @DocsEditable()
2636 @Experimental() // untriaged
2637 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
2638
2639 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Z')
2640 @DocsEditable()
2641 @Experimental() // untriaged
2642 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
2643
2644 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_X')
2645 @DocsEditable()
2646 @Experimental() // untriaged
2647 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
2648
2649 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Y')
2650 @DocsEditable()
2651 @Experimental() // untriaged
2652 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
2653
2654 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Z')
2655 @DocsEditable()
2656 @Experimental() // untriaged
2657 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
2658
2659 @DomName('WebGLRenderingContextBase.TEXTURE_MAG_FILTER')
2660 @DocsEditable()
2661 @Experimental() // untriaged
2662 static const int TEXTURE_MAG_FILTER = 0x2800;
2663
2664 @DomName('WebGLRenderingContextBase.TEXTURE_MIN_FILTER')
2665 @DocsEditable()
2666 @Experimental() // untriaged
2667 static const int TEXTURE_MIN_FILTER = 0x2801;
2668
2669 @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_S')
2670 @DocsEditable()
2671 @Experimental() // untriaged
2672 static const int TEXTURE_WRAP_S = 0x2802;
2673
2674 @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_T')
2675 @DocsEditable()
2676 @Experimental() // untriaged
2677 static const int TEXTURE_WRAP_T = 0x2803;
2678
2679 @DomName('WebGLRenderingContextBase.TRIANGLES')
2680 @DocsEditable()
2681 @Experimental() // untriaged
2682 static const int TRIANGLES = 0x0004;
2683
2684 @DomName('WebGLRenderingContextBase.TRIANGLE_FAN')
2685 @DocsEditable()
2686 @Experimental() // untriaged
2687 static const int TRIANGLE_FAN = 0x0006;
2688
2689 @DomName('WebGLRenderingContextBase.TRIANGLE_STRIP')
2690 @DocsEditable()
2691 @Experimental() // untriaged
2692 static const int TRIANGLE_STRIP = 0x0005;
2693
2694 @DomName('WebGLRenderingContextBase.UNPACK_ALIGNMENT')
2695 @DocsEditable()
2696 @Experimental() // untriaged
2697 static const int UNPACK_ALIGNMENT = 0x0CF5;
2698
2699 @DomName('WebGLRenderingContextBase.UNPACK_COLORSPACE_CONVERSION_WEBGL')
2700 @DocsEditable()
2701 @Experimental() // untriaged
2702 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
2703
2704 @DomName('WebGLRenderingContextBase.UNPACK_FLIP_Y_WEBGL')
2705 @DocsEditable()
2706 @Experimental() // untriaged
2707 static const int UNPACK_FLIP_Y_WEBGL = 0x9240;
2708
2709 @DomName('WebGLRenderingContextBase.UNPACK_PREMULTIPLY_ALPHA_WEBGL')
2710 @DocsEditable()
2711 @Experimental() // untriaged
2712 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
2713
2714 @DomName('WebGLRenderingContextBase.UNSIGNED_BYTE')
2715 @DocsEditable()
2716 @Experimental() // untriaged
2717 static const int UNSIGNED_BYTE = 0x1401;
2718
2719 @DomName('WebGLRenderingContextBase.UNSIGNED_INT')
2720 @DocsEditable()
2721 @Experimental() // untriaged
2722 static const int UNSIGNED_INT = 0x1405;
2723
2724 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT')
2725 @DocsEditable()
2726 @Experimental() // untriaged
2727 static const int UNSIGNED_SHORT = 0x1403;
2728
2729 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_4_4_4_4')
2730 @DocsEditable()
2731 @Experimental() // untriaged
2732 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
2733
2734 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_5_5_1')
2735 @DocsEditable()
2736 @Experimental() // untriaged
2737 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
2738
2739 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_6_5')
2740 @DocsEditable()
2741 @Experimental() // untriaged
2742 static const int UNSIGNED_SHORT_5_6_5 = 0x8363;
2743
2744 @DomName('WebGLRenderingContextBase.VALIDATE_STATUS')
2745 @DocsEditable()
2746 @Experimental() // untriaged
2747 static const int VALIDATE_STATUS = 0x8B83;
2748
2749 @DomName('WebGLRenderingContextBase.VENDOR')
2750 @DocsEditable()
2751 @Experimental() // untriaged
2752 static const int VENDOR = 0x1F00;
2753
2754 @DomName('WebGLRenderingContextBase.VERSION')
2755 @DocsEditable()
2756 @Experimental() // untriaged
2757 static const int VERSION = 0x1F02;
2758
2759 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING')
2760 @DocsEditable()
2761 @Experimental() // untriaged
2762 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
2763
2764 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_ENABLED')
2765 @DocsEditable()
2766 @Experimental() // untriaged
2767 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
2768
2769 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_NORMALIZED')
2770 @DocsEditable()
2771 @Experimental() // untriaged
2772 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
2773
2774 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_POINTER')
2775 @DocsEditable()
2776 @Experimental() // untriaged
2777 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
2778
2779 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_SIZE')
2780 @DocsEditable()
2781 @Experimental() // untriaged
2782 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
2783
2784 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_STRIDE')
2785 @DocsEditable()
2786 @Experimental() // untriaged
2787 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
2788
2789 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_TYPE')
2790 @DocsEditable()
2791 @Experimental() // untriaged
2792 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
2793
2794 @DomName('WebGLRenderingContextBase.VERTEX_SHADER')
2795 @DocsEditable()
2796 @Experimental() // untriaged
2797 static const int VERTEX_SHADER = 0x8B31;
2798
2799 @DomName('WebGLRenderingContextBase.VIEWPORT')
2800 @DocsEditable()
2801 @Experimental() // untriaged
2802 static const int VIEWPORT = 0x0BA2;
2803
2804 @DomName('WebGLRenderingContextBase.ZERO')
2805 @DocsEditable()
2806 @Experimental() // untriaged
2807 static const int ZERO = 0;
2808
2809 final CanvasElement canvas;
2810
2811 final int drawingBufferHeight;
2812
2813 final int drawingBufferWidth;
2814
2815 void activeTexture(int texture);
2816
2817 void attachShader(Program program, Shader shader);
2818
2819 void bindAttribLocation(Program program, int index, String name);
2820
2821 void bindBuffer(int target, Buffer buffer);
2822
2823 void bindFramebuffer(int target, Framebuffer framebuffer);
2824
2825 void bindRenderbuffer(int target, Renderbuffer renderbuffer);
2826
2827 void bindTexture(int target, Texture texture);
2828
2829 void blendColor(num red, num green, num blue, num alpha);
2830
2831 void blendEquation(int mode);
2832
2833 void blendEquationSeparate(int modeRGB, int modeAlpha);
2834
2835 void blendFunc(int sfactor, int dfactor);
2836
2837 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha);
2838
2839 void bufferByteData(int target, ByteBuffer data, int usage);
2840
2841 void bufferData(int target, data_OR_size, int usage);
2842
2843 void bufferDataTyped(int target, TypedData data, int usage);
2844
2845 void bufferSubByteData(int target, int offset, ByteBuffer data);
2846
2847 void bufferSubData(int target, int offset, data);
2848
2849 void bufferSubDataTyped(int target, int offset, TypedData data);
2850
2851 int checkFramebufferStatus(int target);
2852
2853 void clear(int mask);
2854
2855 void clearColor(num red, num green, num blue, num alpha);
2856
2857 void clearDepth(num depth);
2858
2859 void clearStencil(int s);
2860
2861 void colorMask(bool red, bool green, bool blue, bool alpha);
2862
2863 void compileShader(Shader shader);
2864
2865 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data);
2866
2867 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data);
2868
2869 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border);
2870
2871 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height);
2872
2873 Buffer createBuffer();
2874
2875 Framebuffer createFramebuffer();
2876
2877 Program createProgram();
2878
2879 Renderbuffer createRenderbuffer();
2880
2881 Shader createShader(int type);
2882
2883 Texture createTexture();
2884
2885 void cullFace(int mode);
2886
2887 void deleteBuffer(Buffer buffer);
2888
2889 void deleteFramebuffer(Framebuffer framebuffer);
2890
2891 void deleteProgram(Program program);
2892
2893 void deleteRenderbuffer(Renderbuffer renderbuffer);
2894
2895 void deleteShader(Shader shader);
2896
2897 void deleteTexture(Texture texture);
2898
2899 void depthFunc(int func);
2900
2901 void depthMask(bool flag);
2902
2903 void depthRange(num zNear, num zFar);
2904
2905 void detachShader(Program program, Shader shader);
2906
2907 void disable(int cap);
2908
2909 void disableVertexAttribArray(int index);
2910
2911 void drawArrays(int mode, int first, int count);
2912
2913 void drawElements(int mode, int count, int type, int offset);
2914
2915 void enable(int cap);
2916
2917 void enableVertexAttribArray(int index);
2918
2919 void finish();
2920
2921 void flush();
2922
2923 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer);
2924
2925 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level);
2926
2927 void frontFace(int mode);
2928
2929 void generateMipmap(int target);
2930
2931 ActiveInfo getActiveAttrib(Program program, int index);
2932
2933 ActiveInfo getActiveUniform(Program program, int index);
2934
2935 void getAttachedShaders(Program program);
2936
2937 int getAttribLocation(Program program, String name);
2938
2939 Object getBufferParameter(int target, int pname);
2940
2941 ContextAttributes getContextAttributes();
2942
2943 int getError();
2944
2945 Object getExtension(String name);
2946
2947 Object getFramebufferAttachmentParameter(int target, int attachment, int pname );
2948
2949 Object getParameter(int pname);
2950
2951 String getProgramInfoLog(Program program);
2952
2953 Object getProgramParameter(Program program, int pname);
2954
2955 Object getRenderbufferParameter(int target, int pname);
2956
2957 String getShaderInfoLog(Shader shader);
2958
2959 Object getShaderParameter(Shader shader, int pname);
2960
2961 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe);
2962
2963 String getShaderSource(Shader shader);
2964
2965 List<String> getSupportedExtensions();
2966
2967 Object getTexParameter(int target, int pname);
2968
2969 Object getUniform(Program program, UniformLocation location);
2970
2971 UniformLocation getUniformLocation(Program program, String name);
2972
2973 Object getVertexAttrib(int index, int pname);
2974
2975 int getVertexAttribOffset(int index, int pname);
2976
2977 void hint(int target, int mode);
2978
2979 bool isBuffer(Buffer buffer);
2980
2981 bool isContextLost();
2982
2983 bool isEnabled(int cap);
2984
2985 bool isFramebuffer(Framebuffer framebuffer);
2986
2987 bool isProgram(Program program);
2988
2989 bool isRenderbuffer(Renderbuffer renderbuffer);
2990
2991 bool isShader(Shader shader);
2992
2993 bool isTexture(Texture texture);
2994
2995 void lineWidth(num width);
2996
2997 void linkProgram(Program program);
2998
2999 void pixelStorei(int pname, int param);
3000
3001 void polygonOffset(num factor, num units);
3002
3003 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels);
3004
3005 void renderbufferStorage(int target, int internalformat, int width, int height );
3006
3007 void sampleCoverage(num value, bool invert);
3008
3009 void scissor(int x, int y, int width, int height);
3010
3011 void shaderSource(Shader shader, String string);
3012
3013 void stencilFunc(int func, int ref, int mask);
3014
3015 void stencilFuncSeparate(int face, int func, int ref, int mask);
3016
3017 void stencilMask(int mask);
3018
3019 void stencilMaskSeparate(int face, int mask);
3020
3021 void stencilOp(int fail, int zfail, int zpass);
3022
3023 void stencilOpSeparate(int face, int fail, int zfail, int zpass);
3024
3025 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]);
3026
3027 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas);
3028
3029 void texImage2DImage(int target, int level, int internalformat, int format, in t type, ImageElement image);
3030
3031 void texImage2DImageData(int target, int level, int internalformat, int format , int type, ImageData pixels);
3032
3033 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video);
3034
3035 void texParameterf(int target, int pname, num param);
3036
3037 void texParameteri(int target, int pname, int param);
3038
3039 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in t type, TypedData pixels]);
3040
3041 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas);
3042
3043 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f ormat, int type, ImageElement image);
3044
3045 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i nt format, int type, ImageData pixels);
3046
3047 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f ormat, int type, VideoElement video);
3048
3049 void uniform1f(UniformLocation location, num x);
3050
3051 void uniform1fv(UniformLocation location, Float32List v);
3052
3053 void uniform1i(UniformLocation location, int x);
3054
3055 void uniform1iv(UniformLocation location, Int32List v);
3056
3057 void uniform2f(UniformLocation location, num x, num y);
3058
3059 void uniform2fv(UniformLocation location, Float32List v);
3060
3061 void uniform2i(UniformLocation location, int x, int y);
3062
3063 void uniform2iv(UniformLocation location, Int32List v);
3064
3065 void uniform3f(UniformLocation location, num x, num y, num z);
3066
3067 void uniform3fv(UniformLocation location, Float32List v);
3068
3069 void uniform3i(UniformLocation location, int x, int y, int z);
3070
3071 void uniform3iv(UniformLocation location, Int32List v);
3072
3073 void uniform4f(UniformLocation location, num x, num y, num z, num w);
3074
3075 void uniform4fv(UniformLocation location, Float32List v);
3076
3077 void uniform4i(UniformLocation location, int x, int y, int z, int w);
3078
3079 void uniform4iv(UniformLocation location, Int32List v);
3080
3081 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray);
3082
3083 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray);
3084
3085 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray);
3086
3087 void useProgram(Program program);
3088
3089 void validateProgram(Program program);
3090
3091 void vertexAttrib1f(int indx, num x);
3092
3093 void vertexAttrib1fv(int indx, Float32List values);
3094
3095 void vertexAttrib2f(int indx, num x, num y);
3096
3097 void vertexAttrib2fv(int indx, Float32List values);
3098
3099 void vertexAttrib3f(int indx, num x, num y, num z);
3100
3101 void vertexAttrib3fv(int indx, Float32List values);
3102
3103 void vertexAttrib4f(int indx, num x, num y, num z, num w);
3104
3105 void vertexAttrib4fv(int indx, Float32List values);
3106
3107 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset);
3108
3109 void viewport(int x, int y, int width, int height);
3110 }
3111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3112 // for details. All rights reserved. Use of this source code is governed by a
3204 // BSD-style license that can be found in the LICENSE file. 3113 // BSD-style license that can be found in the LICENSE file.
3205 3114
3206 3115
3207 @DocsEditable() 3116 @DocsEditable()
3208 @DomName('WebGLShader') 3117 @DomName('WebGLShader')
3209 @Native("WebGLShader") 3118 @Native("WebGLShader")
3210 class Shader extends Interceptor { 3119 class Shader extends Interceptor {
3211 // To suppress missing implicit constructor warnings. 3120 // To suppress missing implicit constructor warnings.
3212 factory Shader._() { throw new UnsupportedError("Not supported"); } 3121 factory Shader._() { throw new UnsupportedError("Not supported"); }
3213 } 3122 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
3266 3175
3267 @DocsEditable() 3176 @DocsEditable()
3268 @DomName('WebGLVertexArrayObjectOES') 3177 @DomName('WebGLVertexArrayObjectOES')
3269 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 3178 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3270 @Experimental() // experimental 3179 @Experimental() // experimental
3271 @Native("WebGLVertexArrayObjectOES") 3180 @Native("WebGLVertexArrayObjectOES")
3272 class VertexArrayObject extends Interceptor { 3181 class VertexArrayObject extends Interceptor {
3273 // To suppress missing implicit constructor warnings. 3182 // To suppress missing implicit constructor warnings.
3274 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } 3183 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
3275 } 3184 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698