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

Side by Side Diff: sdk/lib/web_gl/dartium/web_gl_dartium.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
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | tests/html/html.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library dart.dom.web_gl; 1 library dart.dom.web_gl;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_internal' hide deprecated; 5 import 'dart:_internal' hide deprecated;
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 import 'dart:_blink' as _blink; 10 import 'dart:_blink' as _blink;
11 // DO NOT EDIT 11 // DO NOT EDIT
12 // Auto-generated dart:web_gl library. 12 // Auto-generated dart:web_gl library.
13 13
14 14
15 15
16 16
17 17
18 // FIXME: Can we make this private? 18 // FIXME: Can we make this private?
19 final web_glBlinkMap = { 19 final web_glBlinkMap = {
20 'ANGLEInstancedArrays': () => AngleInstancedArrays, 20 'ANGLEInstancedArrays': () => AngleInstancedArrays,
21 'EXTBlendMinMax': () => ExtBlendMinMax,
21 'EXTFragDepth': () => ExtFragDepth, 22 'EXTFragDepth': () => ExtFragDepth,
23 'EXTShaderTextureLOD': () => ExtShaderTextureLod,
22 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic, 24 'EXTTextureFilterAnisotropic': () => ExtTextureFilterAnisotropic,
23 'OESElementIndexUint': () => OesElementIndexUint, 25 'OESElementIndexUint': () => OesElementIndexUint,
24 'OESStandardDerivatives': () => OesStandardDerivatives, 26 'OESStandardDerivatives': () => OesStandardDerivatives,
25 'OESTextureFloat': () => OesTextureFloat, 27 'OESTextureFloat': () => OesTextureFloat,
26 'OESTextureFloatLinear': () => OesTextureFloatLinear, 28 'OESTextureFloatLinear': () => OesTextureFloatLinear,
27 'OESTextureHalfFloat': () => OesTextureHalfFloat, 29 'OESTextureHalfFloat': () => OesTextureHalfFloat,
28 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear, 30 'OESTextureHalfFloatLinear': () => OesTextureHalfFloatLinear,
29 'OESVertexArrayObject': () => OesVertexArrayObject, 31 'OESVertexArrayObject': () => OesVertexArrayObject,
30 'WebGLActiveInfo': () => ActiveInfo, 32 'WebGLActiveInfo': () => ActiveInfo,
31 'WebGLBuffer': () => Buffer, 33 'WebGLBuffer': () => Buffer,
32 'WebGLCompressedTextureATC': () => CompressedTextureAtc, 34 'WebGLCompressedTextureATC': () => CompressedTextureAtc,
35 'WebGLCompressedTextureETC1': () => CompressedTextureETC1,
33 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc, 36 'WebGLCompressedTexturePVRTC': () => CompressedTexturePvrtc,
34 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC, 37 'WebGLCompressedTextureS3TC': () => CompressedTextureS3TC,
35 'WebGLContextAttributes': () => ContextAttributes, 38 'WebGLContextAttributes': () => ContextAttributes,
36 'WebGLContextEvent': () => ContextEvent, 39 'WebGLContextEvent': () => ContextEvent,
37 'WebGLDebugRendererInfo': () => DebugRendererInfo, 40 'WebGLDebugRendererInfo': () => DebugRendererInfo,
38 'WebGLDebugShaders': () => DebugShaders, 41 'WebGLDebugShaders': () => DebugShaders,
39 'WebGLDepthTexture': () => DepthTexture, 42 'WebGLDepthTexture': () => DepthTexture,
40 'WebGLDrawBuffers': () => DrawBuffers, 43 'WebGLDrawBuffers': () => DrawBuffers,
41 'WebGLFramebuffer': () => Framebuffer, 44 'WebGLFramebuffer': () => Framebuffer,
42 'WebGLLoseContext': () => LoseContext, 45 'WebGLLoseContext': () => LoseContext,
43 'WebGLProgram': () => Program, 46 'WebGLProgram': () => Program,
44 'WebGLRenderbuffer': () => Renderbuffer, 47 'WebGLRenderbuffer': () => Renderbuffer,
45 'WebGLRenderingContext': () => RenderingContext, 48 'WebGLRenderingContext': () => RenderingContext,
49 'WebGLRenderingContextBase': () => RenderingContextBase,
46 'WebGLShader': () => Shader, 50 'WebGLShader': () => Shader,
47 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat, 51 'WebGLShaderPrecisionFormat': () => ShaderPrecisionFormat,
48 'WebGLTexture': () => Texture, 52 'WebGLTexture': () => Texture,
49 'WebGLUniformLocation': () => UniformLocation, 53 'WebGLUniformLocation': () => UniformLocation,
50 'WebGLVertexArrayObjectOES': () => VertexArrayObject, 54 'WebGLVertexArrayObjectOES': () => VertexArrayObject,
51 55
52 }; 56 };
53 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 57 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
54 // for details. All rights reserved. Use of this source code is governed by a 58 // for details. All rights reserved. Use of this source code is governed by a
55 // BSD-style license that can be found in the LICENSE file. 59 // BSD-style license that can be found in the LICENSE file.
56 60
57 61
58 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; 62 const int ACTIVE_ATTRIBUTES = RenderingContextBase.ACTIVE_ATTRIBUTES;
59 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; 63 const int ACTIVE_TEXTURE = RenderingContextBase.ACTIVE_TEXTURE;
60 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; 64 const int ACTIVE_UNIFORMS = RenderingContextBase.ACTIVE_UNIFORMS;
61 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; 65 const int ALIASED_LINE_WIDTH_RANGE = RenderingContextBase.ALIASED_LINE_WIDTH_RAN GE;
62 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; 66 const int ALIASED_POINT_SIZE_RANGE = RenderingContextBase.ALIASED_POINT_SIZE_RAN GE;
63 const int ALPHA = RenderingContext.ALPHA; 67 const int ALPHA = RenderingContextBase.ALPHA;
64 const int ALPHA_BITS = RenderingContext.ALPHA_BITS; 68 const int ALPHA_BITS = RenderingContextBase.ALPHA_BITS;
65 const int ALWAYS = RenderingContext.ALWAYS; 69 const int ALWAYS = RenderingContextBase.ALWAYS;
66 const int ARRAY_BUFFER = RenderingContext.ARRAY_BUFFER; 70 const int ARRAY_BUFFER = RenderingContextBase.ARRAY_BUFFER;
67 const int ARRAY_BUFFER_BINDING = RenderingContext.ARRAY_BUFFER_BINDING; 71 const int ARRAY_BUFFER_BINDING = RenderingContextBase.ARRAY_BUFFER_BINDING;
68 const int ATTACHED_SHADERS = RenderingContext.ATTACHED_SHADERS; 72 const int ATTACHED_SHADERS = RenderingContextBase.ATTACHED_SHADERS;
69 const int BACK = RenderingContext.BACK; 73 const int BACK = RenderingContextBase.BACK;
70 const int BLEND = RenderingContext.BLEND; 74 const int BLEND = RenderingContextBase.BLEND;
71 const int BLEND_COLOR = RenderingContext.BLEND_COLOR; 75 const int BLEND_COLOR = RenderingContextBase.BLEND_COLOR;
72 const int BLEND_DST_ALPHA = RenderingContext.BLEND_DST_ALPHA; 76 const int BLEND_DST_ALPHA = RenderingContextBase.BLEND_DST_ALPHA;
73 const int BLEND_DST_RGB = RenderingContext.BLEND_DST_RGB; 77 const int BLEND_DST_RGB = RenderingContextBase.BLEND_DST_RGB;
74 const int BLEND_EQUATION = RenderingContext.BLEND_EQUATION; 78 const int BLEND_EQUATION = RenderingContextBase.BLEND_EQUATION;
75 const int BLEND_EQUATION_ALPHA = RenderingContext.BLEND_EQUATION_ALPHA; 79 const int BLEND_EQUATION_ALPHA = RenderingContextBase.BLEND_EQUATION_ALPHA;
76 const int BLEND_EQUATION_RGB = RenderingContext.BLEND_EQUATION_RGB; 80 const int BLEND_EQUATION_RGB = RenderingContextBase.BLEND_EQUATION_RGB;
77 const int BLEND_SRC_ALPHA = RenderingContext.BLEND_SRC_ALPHA; 81 const int BLEND_SRC_ALPHA = RenderingContextBase.BLEND_SRC_ALPHA;
78 const int BLEND_SRC_RGB = RenderingContext.BLEND_SRC_RGB; 82 const int BLEND_SRC_RGB = RenderingContextBase.BLEND_SRC_RGB;
79 const int BLUE_BITS = RenderingContext.BLUE_BITS; 83 const int BLUE_BITS = RenderingContextBase.BLUE_BITS;
80 const int BOOL = RenderingContext.BOOL; 84 const int BOOL = RenderingContextBase.BOOL;
81 const int BOOL_VEC2 = RenderingContext.BOOL_VEC2; 85 const int BOOL_VEC2 = RenderingContextBase.BOOL_VEC2;
82 const int BOOL_VEC3 = RenderingContext.BOOL_VEC3; 86 const int BOOL_VEC3 = RenderingContextBase.BOOL_VEC3;
83 const int BOOL_VEC4 = RenderingContext.BOOL_VEC4; 87 const int BOOL_VEC4 = RenderingContextBase.BOOL_VEC4;
84 const int BROWSER_DEFAULT_WEBGL = RenderingContext.BROWSER_DEFAULT_WEBGL; 88 const int BROWSER_DEFAULT_WEBGL = RenderingContextBase.BROWSER_DEFAULT_WEBGL;
85 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; 89 const int BUFFER_SIZE = RenderingContextBase.BUFFER_SIZE;
86 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; 90 const int BUFFER_USAGE = RenderingContextBase.BUFFER_USAGE;
87 const int BYTE = RenderingContext.BYTE; 91 const int BYTE = RenderingContextBase.BYTE;
88 const int CCW = RenderingContext.CCW; 92 const int CCW = RenderingContextBase.CCW;
89 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; 93 const int CLAMP_TO_EDGE = RenderingContextBase.CLAMP_TO_EDGE;
90 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; 94 const int COLOR_ATTACHMENT0 = RenderingContextBase.COLOR_ATTACHMENT0;
91 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; 95 const int COLOR_BUFFER_BIT = RenderingContextBase.COLOR_BUFFER_BIT;
92 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; 96 const int COLOR_CLEAR_VALUE = RenderingContextBase.COLOR_CLEAR_VALUE;
93 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; 97 const int COLOR_WRITEMASK = RenderingContextBase.COLOR_WRITEMASK;
94 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; 98 const int COMPILE_STATUS = RenderingContextBase.COMPILE_STATUS;
95 const int COMPRESSED_TEXTURE_FORMATS = RenderingContext.COMPRESSED_TEXTURE_FORMA TS; 99 const int COMPRESSED_TEXTURE_FORMATS = RenderingContextBase.COMPRESSED_TEXTURE_F ORMATS;
96 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; 100 const int CONSTANT_ALPHA = RenderingContextBase.CONSTANT_ALPHA;
97 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; 101 const int CONSTANT_COLOR = RenderingContextBase.CONSTANT_COLOR;
98 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; 102 const int CONTEXT_LOST_WEBGL = RenderingContextBase.CONTEXT_LOST_WEBGL;
99 const int CULL_FACE = RenderingContext.CULL_FACE; 103 const int CULL_FACE = RenderingContextBase.CULL_FACE;
100 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; 104 const int CULL_FACE_MODE = RenderingContextBase.CULL_FACE_MODE;
101 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; 105 const int CURRENT_PROGRAM = RenderingContextBase.CURRENT_PROGRAM;
102 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; 106 const int CURRENT_VERTEX_ATTRIB = RenderingContextBase.CURRENT_VERTEX_ATTRIB;
103 const int CW = RenderingContext.CW; 107 const int CW = RenderingContextBase.CW;
104 const int DECR = RenderingContext.DECR; 108 const int DECR = RenderingContextBase.DECR;
105 const int DECR_WRAP = RenderingContext.DECR_WRAP; 109 const int DECR_WRAP = RenderingContextBase.DECR_WRAP;
106 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; 110 const int DELETE_STATUS = RenderingContextBase.DELETE_STATUS;
107 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; 111 const int DEPTH_ATTACHMENT = RenderingContextBase.DEPTH_ATTACHMENT;
108 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; 112 const int DEPTH_BITS = RenderingContextBase.DEPTH_BITS;
109 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; 113 const int DEPTH_BUFFER_BIT = RenderingContextBase.DEPTH_BUFFER_BIT;
110 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; 114 const int DEPTH_CLEAR_VALUE = RenderingContextBase.DEPTH_CLEAR_VALUE;
111 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; 115 const int DEPTH_COMPONENT = RenderingContextBase.DEPTH_COMPONENT;
112 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; 116 const int DEPTH_COMPONENT16 = RenderingContextBase.DEPTH_COMPONENT16;
113 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; 117 const int DEPTH_FUNC = RenderingContextBase.DEPTH_FUNC;
114 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; 118 const int DEPTH_RANGE = RenderingContextBase.DEPTH_RANGE;
115 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; 119 const int DEPTH_STENCIL = RenderingContextBase.DEPTH_STENCIL;
116 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; 120 const int DEPTH_STENCIL_ATTACHMENT = RenderingContextBase.DEPTH_STENCIL_ATTACHME NT;
117 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; 121 const int DEPTH_TEST = RenderingContextBase.DEPTH_TEST;
118 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; 122 const int DEPTH_WRITEMASK = RenderingContextBase.DEPTH_WRITEMASK;
119 const int DITHER = RenderingContext.DITHER; 123 const int DITHER = RenderingContextBase.DITHER;
120 const int DONT_CARE = RenderingContext.DONT_CARE; 124 const int DONT_CARE = RenderingContextBase.DONT_CARE;
121 const int DST_ALPHA = RenderingContext.DST_ALPHA; 125 const int DST_ALPHA = RenderingContextBase.DST_ALPHA;
122 const int DST_COLOR = RenderingContext.DST_COLOR; 126 const int DST_COLOR = RenderingContextBase.DST_COLOR;
123 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; 127 const int DYNAMIC_DRAW = RenderingContextBase.DYNAMIC_DRAW;
124 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; 128 const int ELEMENT_ARRAY_BUFFER = RenderingContextBase.ELEMENT_ARRAY_BUFFER;
125 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContext.ELEMENT_ARRAY_BUFFER_B INDING; 129 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContextBase.ELEMENT_ARRAY_BUFF ER_BINDING;
126 const int EQUAL = RenderingContext.EQUAL; 130 const int EQUAL = RenderingContextBase.EQUAL;
127 const int FASTEST = RenderingContext.FASTEST; 131 const int FASTEST = RenderingContextBase.FASTEST;
128 const int FLOAT = RenderingContext.FLOAT; 132 const int FLOAT = RenderingContextBase.FLOAT;
129 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; 133 const int FLOAT_MAT2 = RenderingContextBase.FLOAT_MAT2;
130 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; 134 const int FLOAT_MAT3 = RenderingContextBase.FLOAT_MAT3;
131 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; 135 const int FLOAT_MAT4 = RenderingContextBase.FLOAT_MAT4;
132 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; 136 const int FLOAT_VEC2 = RenderingContextBase.FLOAT_VEC2;
133 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; 137 const int FLOAT_VEC3 = RenderingContextBase.FLOAT_VEC3;
134 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; 138 const int FLOAT_VEC4 = RenderingContextBase.FLOAT_VEC4;
135 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; 139 const int FRAGMENT_SHADER = RenderingContextBase.FRAGMENT_SHADER;
136 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; 140 const int FRAMEBUFFER = RenderingContextBase.FRAMEBUFFER;
137 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContext.FRAMEBUFFER_ATTA CHMENT_OBJECT_NAME; 141 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContextBase.FRAMEBUFFER_ ATTACHMENT_OBJECT_NAME;
138 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContext.FRAMEBUFFER_ATTA CHMENT_OBJECT_TYPE; 142 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContextBase.FRAMEBUFFER_ ATTACHMENT_OBJECT_TYPE;
139 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContext.FRAMEB UFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; 143 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContextBase.FR AMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE;
140 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContext.FRAMEBUFFER_AT TACHMENT_TEXTURE_LEVEL; 144 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContextBase.FRAMEBUFFE R_ATTACHMENT_TEXTURE_LEVEL;
141 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; 145 const int FRAMEBUFFER_BINDING = RenderingContextBase.FRAMEBUFFER_BINDING;
142 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; 146 const int FRAMEBUFFER_COMPLETE = RenderingContextBase.FRAMEBUFFER_COMPLETE;
143 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOM PLETE_ATTACHMENT; 147 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContextBase.FRAMEBUFFER_I NCOMPLETE_ATTACHMENT;
144 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContext.FRAMEBUFFER_INCOM PLETE_DIMENSIONS; 148 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContextBase.FRAMEBUFFER_I NCOMPLETE_DIMENSIONS;
145 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContext.FRAMEBUFF ER_INCOMPLETE_MISSING_ATTACHMENT; 149 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContextBase.FRAME BUFFER_INCOMPLETE_MISSING_ATTACHMENT;
146 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; 150 const int FRAMEBUFFER_UNSUPPORTED = RenderingContextBase.FRAMEBUFFER_UNSUPPORTED ;
147 const int FRONT = RenderingContext.FRONT; 151 const int FRONT = RenderingContextBase.FRONT;
148 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; 152 const int FRONT_AND_BACK = RenderingContextBase.FRONT_AND_BACK;
149 const int FRONT_FACE = RenderingContext.FRONT_FACE; 153 const int FRONT_FACE = RenderingContextBase.FRONT_FACE;
150 const int FUNC_ADD = RenderingContext.FUNC_ADD; 154 const int FUNC_ADD = RenderingContextBase.FUNC_ADD;
151 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; 155 const int FUNC_REVERSE_SUBTRACT = RenderingContextBase.FUNC_REVERSE_SUBTRACT;
152 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; 156 const int FUNC_SUBTRACT = RenderingContextBase.FUNC_SUBTRACT;
153 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; 157 const int GENERATE_MIPMAP_HINT = RenderingContextBase.GENERATE_MIPMAP_HINT;
154 const int GEQUAL = RenderingContext.GEQUAL; 158 const int GEQUAL = RenderingContextBase.GEQUAL;
155 const int GREATER = RenderingContext.GREATER; 159 const int GREATER = RenderingContextBase.GREATER;
156 const int GREEN_BITS = RenderingContext.GREEN_BITS; 160 const int GREEN_BITS = RenderingContextBase.GREEN_BITS;
157 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; 161 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES;
158 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; 162 const int HIGH_FLOAT = RenderingContextBase.HIGH_FLOAT;
159 const int HIGH_INT = RenderingContext.HIGH_INT; 163 const int HIGH_INT = RenderingContextBase.HIGH_INT;
160 const int INCR = RenderingContext.INCR; 164 const int INCR = RenderingContextBase.INCR;
161 const int INCR_WRAP = RenderingContext.INCR_WRAP; 165 const int INCR_WRAP = RenderingContextBase.INCR_WRAP;
162 const int INT = RenderingContext.INT; 166 const int INT = RenderingContextBase.INT;
163 const int INT_VEC2 = RenderingContext.INT_VEC2; 167 const int INT_VEC2 = RenderingContextBase.INT_VEC2;
164 const int INT_VEC3 = RenderingContext.INT_VEC3; 168 const int INT_VEC3 = RenderingContextBase.INT_VEC3;
165 const int INT_VEC4 = RenderingContext.INT_VEC4; 169 const int INT_VEC4 = RenderingContextBase.INT_VEC4;
166 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; 170 const int INVALID_ENUM = RenderingContextBase.INVALID_ENUM;
167 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O PERATION; 171 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContextBase.INVALID_FRAMEBUFF ER_OPERATION;
168 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; 172 const int INVALID_OPERATION = RenderingContextBase.INVALID_OPERATION;
169 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; 173 const int INVALID_VALUE = RenderingContextBase.INVALID_VALUE;
170 const int INVERT = RenderingContext.INVERT; 174 const int INVERT = RenderingContextBase.INVERT;
171 const int KEEP = RenderingContext.KEEP; 175 const int KEEP = RenderingContextBase.KEEP;
172 const int LEQUAL = RenderingContext.LEQUAL; 176 const int LEQUAL = RenderingContextBase.LEQUAL;
173 const int LESS = RenderingContext.LESS; 177 const int LESS = RenderingContextBase.LESS;
174 const int LINEAR = RenderingContext.LINEAR; 178 const int LINEAR = RenderingContextBase.LINEAR;
175 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; 179 const int LINEAR_MIPMAP_LINEAR = RenderingContextBase.LINEAR_MIPMAP_LINEAR;
176 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; 180 const int LINEAR_MIPMAP_NEAREST = RenderingContextBase.LINEAR_MIPMAP_NEAREST;
177 const int LINES = RenderingContext.LINES; 181 const int LINES = RenderingContextBase.LINES;
178 const int LINE_LOOP = RenderingContext.LINE_LOOP; 182 const int LINE_LOOP = RenderingContextBase.LINE_LOOP;
179 const int LINE_STRIP = RenderingContext.LINE_STRIP; 183 const int LINE_STRIP = RenderingContextBase.LINE_STRIP;
180 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; 184 const int LINE_WIDTH = RenderingContextBase.LINE_WIDTH;
181 const int LINK_STATUS = RenderingContext.LINK_STATUS; 185 const int LINK_STATUS = RenderingContextBase.LINK_STATUS;
182 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; 186 const int LOW_FLOAT = RenderingContextBase.LOW_FLOAT;
183 const int LOW_INT = RenderingContext.LOW_INT; 187 const int LOW_INT = RenderingContextBase.LOW_INT;
184 const int LUMINANCE = RenderingContext.LUMINANCE; 188 const int LUMINANCE = RenderingContextBase.LUMINANCE;
185 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; 189 const int LUMINANCE_ALPHA = RenderingContextBase.LUMINANCE_ALPHA;
186 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_COMBINED_TEXTU RE_IMAGE_UNITS; 190 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContextBase.MAX_COMBINED_T EXTURE_IMAGE_UNITS;
187 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE ; 191 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContextBase.MAX_CUBE_MAP_TEXTURE_ SIZE;
188 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContext.MAX_FRAGMENT_UNIFORM_V ECTORS; 192 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContextBase.MAX_FRAGMENT_UNIFO RM_VECTORS;
189 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; 193 const int MAX_RENDERBUFFER_SIZE = RenderingContextBase.MAX_RENDERBUFFER_SIZE;
190 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; 194 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContextBase.MAX_TEXTURE_IMAGE_UNITS ;
191 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; 195 const int MAX_TEXTURE_SIZE = RenderingContextBase.MAX_TEXTURE_SIZE;
192 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; 196 const int MAX_VARYING_VECTORS = RenderingContextBase.MAX_VARYING_VECTORS;
193 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; 197 const int MAX_VERTEX_ATTRIBS = RenderingContextBase.MAX_VERTEX_ATTRIBS;
194 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_VERTEX_TEXTURE_I MAGE_UNITS; 198 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContextBase.MAX_VERTEX_TEXTU RE_IMAGE_UNITS;
195 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContext.MAX_VERTEX_UNIFORM_VECTO RS; 199 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContextBase.MAX_VERTEX_UNIFORM_V ECTORS;
196 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; 200 const int MAX_VIEWPORT_DIMS = RenderingContextBase.MAX_VIEWPORT_DIMS;
197 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; 201 const int MEDIUM_FLOAT = RenderingContextBase.MEDIUM_FLOAT;
198 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; 202 const int MEDIUM_INT = RenderingContextBase.MEDIUM_INT;
199 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; 203 const int MIRRORED_REPEAT = RenderingContextBase.MIRRORED_REPEAT;
200 const int NEAREST = RenderingContext.NEAREST; 204 const int NEAREST = RenderingContextBase.NEAREST;
201 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; 205 const int NEAREST_MIPMAP_LINEAR = RenderingContextBase.NEAREST_MIPMAP_LINEAR;
202 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; 206 const int NEAREST_MIPMAP_NEAREST = RenderingContextBase.NEAREST_MIPMAP_NEAREST;
203 const int NEVER = RenderingContext.NEVER; 207 const int NEVER = RenderingContextBase.NEVER;
204 const int NICEST = RenderingContext.NICEST; 208 const int NICEST = RenderingContextBase.NICEST;
205 const int NONE = RenderingContext.NONE; 209 const int NONE = RenderingContextBase.NONE;
206 const int NOTEQUAL = RenderingContext.NOTEQUAL; 210 const int NOTEQUAL = RenderingContextBase.NOTEQUAL;
207 const int NO_ERROR = RenderingContext.NO_ERROR; 211 const int NO_ERROR = RenderingContextBase.NO_ERROR;
208 const int ONE = RenderingContext.ONE; 212 const int ONE = RenderingContextBase.ONE;
209 const int ONE_MINUS_CONSTANT_ALPHA = RenderingContext.ONE_MINUS_CONSTANT_ALPHA; 213 const int ONE_MINUS_CONSTANT_ALPHA = RenderingContextBase.ONE_MINUS_CONSTANT_ALP HA;
210 const int ONE_MINUS_CONSTANT_COLOR = RenderingContext.ONE_MINUS_CONSTANT_COLOR; 214 const int ONE_MINUS_CONSTANT_COLOR = RenderingContextBase.ONE_MINUS_CONSTANT_COL OR;
211 const int ONE_MINUS_DST_ALPHA = RenderingContext.ONE_MINUS_DST_ALPHA; 215 const int ONE_MINUS_DST_ALPHA = RenderingContextBase.ONE_MINUS_DST_ALPHA;
212 const int ONE_MINUS_DST_COLOR = RenderingContext.ONE_MINUS_DST_COLOR; 216 const int ONE_MINUS_DST_COLOR = RenderingContextBase.ONE_MINUS_DST_COLOR;
213 const int ONE_MINUS_SRC_ALPHA = RenderingContext.ONE_MINUS_SRC_ALPHA; 217 const int ONE_MINUS_SRC_ALPHA = RenderingContextBase.ONE_MINUS_SRC_ALPHA;
214 const int ONE_MINUS_SRC_COLOR = RenderingContext.ONE_MINUS_SRC_COLOR; 218 const int ONE_MINUS_SRC_COLOR = RenderingContextBase.ONE_MINUS_SRC_COLOR;
215 const int OUT_OF_MEMORY = RenderingContext.OUT_OF_MEMORY; 219 const int OUT_OF_MEMORY = RenderingContextBase.OUT_OF_MEMORY;
216 const int PACK_ALIGNMENT = RenderingContext.PACK_ALIGNMENT; 220 const int PACK_ALIGNMENT = RenderingContextBase.PACK_ALIGNMENT;
217 const int POINTS = RenderingContext.POINTS; 221 const int POINTS = RenderingContextBase.POINTS;
218 const int POLYGON_OFFSET_FACTOR = RenderingContext.POLYGON_OFFSET_FACTOR; 222 const int POLYGON_OFFSET_FACTOR = RenderingContextBase.POLYGON_OFFSET_FACTOR;
219 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; 223 const int POLYGON_OFFSET_FILL = RenderingContextBase.POLYGON_OFFSET_FILL;
220 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; 224 const int POLYGON_OFFSET_UNITS = RenderingContextBase.POLYGON_OFFSET_UNITS;
221 const int RED_BITS = RenderingContext.RED_BITS; 225 const int RED_BITS = RenderingContextBase.RED_BITS;
222 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; 226 const int RENDERBUFFER = RenderingContextBase.RENDERBUFFER;
223 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; 227 const int RENDERBUFFER_ALPHA_SIZE = RenderingContextBase.RENDERBUFFER_ALPHA_SIZE ;
224 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; 228 const int RENDERBUFFER_BINDING = RenderingContextBase.RENDERBUFFER_BINDING;
225 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; 229 const int RENDERBUFFER_BLUE_SIZE = RenderingContextBase.RENDERBUFFER_BLUE_SIZE;
226 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; 230 const int RENDERBUFFER_DEPTH_SIZE = RenderingContextBase.RENDERBUFFER_DEPTH_SIZE ;
227 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; 231 const int RENDERBUFFER_GREEN_SIZE = RenderingContextBase.RENDERBUFFER_GREEN_SIZE ;
228 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; 232 const int RENDERBUFFER_HEIGHT = RenderingContextBase.RENDERBUFFER_HEIGHT;
229 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContext.RENDERBUFFER_INTERNAL_ FORMAT; 233 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContextBase.RENDERBUFFER_INTER NAL_FORMAT;
230 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; 234 const int RENDERBUFFER_RED_SIZE = RenderingContextBase.RENDERBUFFER_RED_SIZE;
231 const int RENDERBUFFER_STENCIL_SIZE = RenderingContext.RENDERBUFFER_STENCIL_SIZE ; 235 const int RENDERBUFFER_STENCIL_SIZE = RenderingContextBase.RENDERBUFFER_STENCIL_ SIZE;
232 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; 236 const int RENDERBUFFER_WIDTH = RenderingContextBase.RENDERBUFFER_WIDTH;
233 const int RENDERER = RenderingContext.RENDERER; 237 const int RENDERER = RenderingContextBase.RENDERER;
234 const int REPEAT = RenderingContext.REPEAT; 238 const int REPEAT = RenderingContextBase.REPEAT;
235 const int REPLACE = RenderingContext.REPLACE; 239 const int REPLACE = RenderingContextBase.REPLACE;
236 const int RGB = RenderingContext.RGB; 240 const int RGB = RenderingContextBase.RGB;
237 const int RGB565 = RenderingContext.RGB565; 241 const int RGB565 = RenderingContextBase.RGB565;
238 const int RGB5_A1 = RenderingContext.RGB5_A1; 242 const int RGB5_A1 = RenderingContextBase.RGB5_A1;
239 const int RGBA = RenderingContext.RGBA; 243 const int RGBA = RenderingContextBase.RGBA;
240 const int RGBA4 = RenderingContext.RGBA4; 244 const int RGBA4 = RenderingContextBase.RGBA4;
241 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; 245 const int SAMPLER_2D = RenderingContextBase.SAMPLER_2D;
242 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; 246 const int SAMPLER_CUBE = RenderingContextBase.SAMPLER_CUBE;
243 const int SAMPLES = RenderingContext.SAMPLES; 247 const int SAMPLES = RenderingContextBase.SAMPLES;
244 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; 248 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContextBase.SAMPLE_ALPHA_TO_COVERA GE;
245 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; 249 const int SAMPLE_BUFFERS = RenderingContextBase.SAMPLE_BUFFERS;
246 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; 250 const int SAMPLE_COVERAGE = RenderingContextBase.SAMPLE_COVERAGE;
247 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; 251 const int SAMPLE_COVERAGE_INVERT = RenderingContextBase.SAMPLE_COVERAGE_INVERT;
248 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; 252 const int SAMPLE_COVERAGE_VALUE = RenderingContextBase.SAMPLE_COVERAGE_VALUE;
249 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; 253 const int SCISSOR_BOX = RenderingContextBase.SCISSOR_BOX;
250 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; 254 const int SCISSOR_TEST = RenderingContextBase.SCISSOR_TEST;
251 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; 255 const int SHADER_TYPE = RenderingContextBase.SHADER_TYPE;
252 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; 256 const int SHADING_LANGUAGE_VERSION = RenderingContextBase.SHADING_LANGUAGE_VERSI ON;
253 const int SHORT = RenderingContext.SHORT; 257 const int SHORT = RenderingContextBase.SHORT;
254 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; 258 const int SRC_ALPHA = RenderingContextBase.SRC_ALPHA;
255 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; 259 const int SRC_ALPHA_SATURATE = RenderingContextBase.SRC_ALPHA_SATURATE;
256 const int SRC_COLOR = RenderingContext.SRC_COLOR; 260 const int SRC_COLOR = RenderingContextBase.SRC_COLOR;
257 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; 261 const int STATIC_DRAW = RenderingContextBase.STATIC_DRAW;
258 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; 262 const int STENCIL_ATTACHMENT = RenderingContextBase.STENCIL_ATTACHMENT;
259 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; 263 const int STENCIL_BACK_FAIL = RenderingContextBase.STENCIL_BACK_FAIL;
260 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; 264 const int STENCIL_BACK_FUNC = RenderingContextBase.STENCIL_BACK_FUNC;
261 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContext.STENCIL_BACK_PASS_DEPT H_FAIL; 265 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContextBase.STENCIL_BACK_PASS_ DEPTH_FAIL;
262 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContext.STENCIL_BACK_PASS_DEPT H_PASS; 266 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContextBase.STENCIL_BACK_PASS_ DEPTH_PASS;
263 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; 267 const int STENCIL_BACK_REF = RenderingContextBase.STENCIL_BACK_REF;
264 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; 268 const int STENCIL_BACK_VALUE_MASK = RenderingContextBase.STENCIL_BACK_VALUE_MASK ;
265 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; 269 const int STENCIL_BACK_WRITEMASK = RenderingContextBase.STENCIL_BACK_WRITEMASK;
266 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; 270 const int STENCIL_BITS = RenderingContextBase.STENCIL_BITS;
267 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; 271 const int STENCIL_BUFFER_BIT = RenderingContextBase.STENCIL_BUFFER_BIT;
268 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; 272 const int STENCIL_CLEAR_VALUE = RenderingContextBase.STENCIL_CLEAR_VALUE;
269 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; 273 const int STENCIL_FAIL = RenderingContextBase.STENCIL_FAIL;
270 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; 274 const int STENCIL_FUNC = RenderingContextBase.STENCIL_FUNC;
271 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; 275 const int STENCIL_INDEX = RenderingContextBase.STENCIL_INDEX;
272 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; 276 const int STENCIL_INDEX8 = RenderingContextBase.STENCIL_INDEX8;
273 const int STENCIL_PASS_DEPTH_FAIL = RenderingContext.STENCIL_PASS_DEPTH_FAIL; 277 const int STENCIL_PASS_DEPTH_FAIL = RenderingContextBase.STENCIL_PASS_DEPTH_FAIL ;
274 const int STENCIL_PASS_DEPTH_PASS = RenderingContext.STENCIL_PASS_DEPTH_PASS; 278 const int STENCIL_PASS_DEPTH_PASS = RenderingContextBase.STENCIL_PASS_DEPTH_PASS ;
275 const int STENCIL_REF = RenderingContext.STENCIL_REF; 279 const int STENCIL_REF = RenderingContextBase.STENCIL_REF;
276 const int STENCIL_TEST = RenderingContext.STENCIL_TEST; 280 const int STENCIL_TEST = RenderingContextBase.STENCIL_TEST;
277 const int STENCIL_VALUE_MASK = RenderingContext.STENCIL_VALUE_MASK; 281 const int STENCIL_VALUE_MASK = RenderingContextBase.STENCIL_VALUE_MASK;
278 const int STENCIL_WRITEMASK = RenderingContext.STENCIL_WRITEMASK; 282 const int STENCIL_WRITEMASK = RenderingContextBase.STENCIL_WRITEMASK;
279 const int STREAM_DRAW = RenderingContext.STREAM_DRAW; 283 const int STREAM_DRAW = RenderingContextBase.STREAM_DRAW;
280 const int SUBPIXEL_BITS = RenderingContext.SUBPIXEL_BITS; 284 const int SUBPIXEL_BITS = RenderingContextBase.SUBPIXEL_BITS;
281 const int TEXTURE = RenderingContext.TEXTURE; 285 const int TEXTURE = RenderingContextBase.TEXTURE;
282 const int TEXTURE0 = RenderingContext.TEXTURE0; 286 const int TEXTURE0 = RenderingContextBase.TEXTURE0;
283 const int TEXTURE1 = RenderingContext.TEXTURE1; 287 const int TEXTURE1 = RenderingContextBase.TEXTURE1;
284 const int TEXTURE10 = RenderingContext.TEXTURE10; 288 const int TEXTURE10 = RenderingContextBase.TEXTURE10;
285 const int TEXTURE11 = RenderingContext.TEXTURE11; 289 const int TEXTURE11 = RenderingContextBase.TEXTURE11;
286 const int TEXTURE12 = RenderingContext.TEXTURE12; 290 const int TEXTURE12 = RenderingContextBase.TEXTURE12;
287 const int TEXTURE13 = RenderingContext.TEXTURE13; 291 const int TEXTURE13 = RenderingContextBase.TEXTURE13;
288 const int TEXTURE14 = RenderingContext.TEXTURE14; 292 const int TEXTURE14 = RenderingContextBase.TEXTURE14;
289 const int TEXTURE15 = RenderingContext.TEXTURE15; 293 const int TEXTURE15 = RenderingContextBase.TEXTURE15;
290 const int TEXTURE16 = RenderingContext.TEXTURE16; 294 const int TEXTURE16 = RenderingContextBase.TEXTURE16;
291 const int TEXTURE17 = RenderingContext.TEXTURE17; 295 const int TEXTURE17 = RenderingContextBase.TEXTURE17;
292 const int TEXTURE18 = RenderingContext.TEXTURE18; 296 const int TEXTURE18 = RenderingContextBase.TEXTURE18;
293 const int TEXTURE19 = RenderingContext.TEXTURE19; 297 const int TEXTURE19 = RenderingContextBase.TEXTURE19;
294 const int TEXTURE2 = RenderingContext.TEXTURE2; 298 const int TEXTURE2 = RenderingContextBase.TEXTURE2;
295 const int TEXTURE20 = RenderingContext.TEXTURE20; 299 const int TEXTURE20 = RenderingContextBase.TEXTURE20;
296 const int TEXTURE21 = RenderingContext.TEXTURE21; 300 const int TEXTURE21 = RenderingContextBase.TEXTURE21;
297 const int TEXTURE22 = RenderingContext.TEXTURE22; 301 const int TEXTURE22 = RenderingContextBase.TEXTURE22;
298 const int TEXTURE23 = RenderingContext.TEXTURE23; 302 const int TEXTURE23 = RenderingContextBase.TEXTURE23;
299 const int TEXTURE24 = RenderingContext.TEXTURE24; 303 const int TEXTURE24 = RenderingContextBase.TEXTURE24;
300 const int TEXTURE25 = RenderingContext.TEXTURE25; 304 const int TEXTURE25 = RenderingContextBase.TEXTURE25;
301 const int TEXTURE26 = RenderingContext.TEXTURE26; 305 const int TEXTURE26 = RenderingContextBase.TEXTURE26;
302 const int TEXTURE27 = RenderingContext.TEXTURE27; 306 const int TEXTURE27 = RenderingContextBase.TEXTURE27;
303 const int TEXTURE28 = RenderingContext.TEXTURE28; 307 const int TEXTURE28 = RenderingContextBase.TEXTURE28;
304 const int TEXTURE29 = RenderingContext.TEXTURE29; 308 const int TEXTURE29 = RenderingContextBase.TEXTURE29;
305 const int TEXTURE3 = RenderingContext.TEXTURE3; 309 const int TEXTURE3 = RenderingContextBase.TEXTURE3;
306 const int TEXTURE30 = RenderingContext.TEXTURE30; 310 const int TEXTURE30 = RenderingContextBase.TEXTURE30;
307 const int TEXTURE31 = RenderingContext.TEXTURE31; 311 const int TEXTURE31 = RenderingContextBase.TEXTURE31;
308 const int TEXTURE4 = RenderingContext.TEXTURE4; 312 const int TEXTURE4 = RenderingContextBase.TEXTURE4;
309 const int TEXTURE5 = RenderingContext.TEXTURE5; 313 const int TEXTURE5 = RenderingContextBase.TEXTURE5;
310 const int TEXTURE6 = RenderingContext.TEXTURE6; 314 const int TEXTURE6 = RenderingContextBase.TEXTURE6;
311 const int TEXTURE7 = RenderingContext.TEXTURE7; 315 const int TEXTURE7 = RenderingContextBase.TEXTURE7;
312 const int TEXTURE8 = RenderingContext.TEXTURE8; 316 const int TEXTURE8 = RenderingContextBase.TEXTURE8;
313 const int TEXTURE9 = RenderingContext.TEXTURE9; 317 const int TEXTURE9 = RenderingContextBase.TEXTURE9;
314 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; 318 const int TEXTURE_2D = RenderingContextBase.TEXTURE_2D;
315 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; 319 const int TEXTURE_BINDING_2D = RenderingContextBase.TEXTURE_BINDING_2D;
316 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; 320 const int TEXTURE_BINDING_CUBE_MAP = RenderingContextBase.TEXTURE_BINDING_CUBE_M AP;
317 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; 321 const int TEXTURE_CUBE_MAP = RenderingContextBase.TEXTURE_CUBE_MAP;
318 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContext.TEXTURE_CUBE_MAP_NEGATI VE_X; 322 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContextBase.TEXTURE_CUBE_MAP_NE GATIVE_X;
319 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_NEGATI VE_Y; 323 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContextBase.TEXTURE_CUBE_MAP_NE GATIVE_Y;
320 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_NEGATI VE_Z; 324 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContextBase.TEXTURE_CUBE_MAP_NE GATIVE_Z;
321 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContext.TEXTURE_CUBE_MAP_POSITI VE_X; 325 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContextBase.TEXTURE_CUBE_MAP_PO SITIVE_X;
322 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_POSITI VE_Y; 326 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContextBase.TEXTURE_CUBE_MAP_PO SITIVE_Y;
323 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_POSITI VE_Z; 327 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContextBase.TEXTURE_CUBE_MAP_PO SITIVE_Z;
324 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; 328 const int TEXTURE_MAG_FILTER = RenderingContextBase.TEXTURE_MAG_FILTER;
325 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; 329 const int TEXTURE_MIN_FILTER = RenderingContextBase.TEXTURE_MIN_FILTER;
326 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; 330 const int TEXTURE_WRAP_S = RenderingContextBase.TEXTURE_WRAP_S;
327 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; 331 const int TEXTURE_WRAP_T = RenderingContextBase.TEXTURE_WRAP_T;
328 const int TRIANGLES = RenderingContext.TRIANGLES; 332 const int TRIANGLES = RenderingContextBase.TRIANGLES;
329 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; 333 const int TRIANGLE_FAN = RenderingContextBase.TRIANGLE_FAN;
330 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; 334 const int TRIANGLE_STRIP = RenderingContextBase.TRIANGLE_STRIP;
331 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; 335 const int UNPACK_ALIGNMENT = RenderingContextBase.UNPACK_ALIGNMENT;
332 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPAC E_CONVERSION_WEBGL; 336 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContextBase.UNPACK_COLOR SPACE_CONVERSION_WEBGL;
333 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; 337 const int UNPACK_FLIP_Y_WEBGL = RenderingContextBase.UNPACK_FLIP_Y_WEBGL;
334 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContext.UNPACK_PREMULTIPLY_A LPHA_WEBGL; 338 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContextBase.UNPACK_PREMULTIP LY_ALPHA_WEBGL;
335 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; 339 const int UNSIGNED_BYTE = RenderingContextBase.UNSIGNED_BYTE;
336 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; 340 const int UNSIGNED_INT = RenderingContextBase.UNSIGNED_INT;
337 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; 341 const int UNSIGNED_SHORT = RenderingContextBase.UNSIGNED_SHORT;
338 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; 342 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContextBase.UNSIGNED_SHORT_4_4_4_4;
339 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; 343 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContextBase.UNSIGNED_SHORT_5_5_5_1;
340 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; 344 const int UNSIGNED_SHORT_5_6_5 = RenderingContextBase.UNSIGNED_SHORT_5_6_5;
341 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; 345 const int VALIDATE_STATUS = RenderingContextBase.VALIDATE_STATUS;
342 const int VENDOR = RenderingContext.VENDOR; 346 const int VENDOR = RenderingContextBase.VENDOR;
343 const int VERSION = RenderingContext.VERSION; 347 const int VERSION = RenderingContextBase.VERSION;
344 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContext.VERTEX_ATTRIB_AR RAY_BUFFER_BINDING; 348 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContextBase.VERTEX_ATTRI B_ARRAY_BUFFER_BINDING;
345 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContext.VERTEX_ATTRIB_ARRAY_ENA BLED; 349 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContextBase.VERTEX_ATTRIB_ARRAY _ENABLED;
346 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContext.VERTEX_ATTRIB_ARRAY_ NORMALIZED; 350 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContextBase.VERTEX_ATTRIB_AR RAY_NORMALIZED;
347 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContext.VERTEX_ATTRIB_ARRAY_POI NTER; 351 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContextBase.VERTEX_ATTRIB_ARRAY _POINTER;
348 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; 352 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContextBase.VERTEX_ATTRIB_ARRAY_SI ZE;
349 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRI DE; 353 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContextBase.VERTEX_ATTRIB_ARRAY_ STRIDE;
350 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; 354 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContextBase.VERTEX_ATTRIB_ARRAY_TY PE;
351 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; 355 const int VERTEX_SHADER = RenderingContextBase.VERTEX_SHADER;
352 const int VIEWPORT = RenderingContext.VIEWPORT; 356 const int VIEWPORT = RenderingContextBase.VIEWPORT;
353 const int ZERO = RenderingContext.ZERO; 357 const int ZERO = RenderingContextBase.ZERO;
354 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 358 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
355 // for details. All rights reserved. Use of this source code is governed by a 359 // for details. All rights reserved. Use of this source code is governed by a
356 // BSD-style license that can be found in the LICENSE file. 360 // BSD-style license that can be found in the LICENSE file.
357 361
358 // WARNING: Do not edit - generated code. 362 // WARNING: Do not edit - generated code.
359 363
360 364
361 @DocsEditable() 365 @DocsEditable()
362 @DomName('WebGLActiveInfo') 366 @DomName('WebGLActiveInfo')
363 @Unstable() 367 @Unstable()
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 461
458 } 462 }
459 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
460 // for details. All rights reserved. Use of this source code is governed by a 464 // for details. All rights reserved. Use of this source code is governed by a
461 // BSD-style license that can be found in the LICENSE file. 465 // BSD-style license that can be found in the LICENSE file.
462 466
463 // WARNING: Do not edit - generated code. 467 // WARNING: Do not edit - generated code.
464 468
465 469
466 @DocsEditable() 470 @DocsEditable()
471 @DomName('WebGLCompressedTextureETC1')
472 @Experimental() // untriaged
473 class CompressedTextureETC1 extends NativeFieldWrapperClass2 {
474 // To suppress missing implicit constructor warnings.
475 factory CompressedTextureETC1._() { throw new UnsupportedError("Not supported" ); }
476
477 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL')
478 @DocsEditable()
479 @Experimental() // untriaged
480 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64;
481
482 }
483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
484 // for details. All rights reserved. Use of this source code is governed by a
485 // BSD-style license that can be found in the LICENSE file.
486
487 // WARNING: Do not edit - generated code.
488
489
490 @DocsEditable()
467 @DomName('WebGLCompressedTexturePVRTC') 491 @DomName('WebGLCompressedTexturePVRTC')
468 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/ 492 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/
469 @Experimental() // experimental 493 @Experimental() // experimental
470 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 { 494 class CompressedTexturePvrtc extends NativeFieldWrapperClass2 {
471 // To suppress missing implicit constructor warnings. 495 // To suppress missing implicit constructor warnings.
472 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); } 496 factory CompressedTexturePvrtc._() { throw new UnsupportedError("Not supported "); }
473 497
474 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') 498 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
475 @DocsEditable() 499 @DocsEditable()
476 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; 500 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 static const int DRAW_BUFFER9_WEBGL = 0x882E; 866 static const int DRAW_BUFFER9_WEBGL = 0x882E;
843 867
844 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL') 868 @DomName('WebGLDrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL')
845 @DocsEditable() 869 @DocsEditable()
846 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF; 870 static const int MAX_COLOR_ATTACHMENTS_WEBGL = 0x8CDF;
847 871
848 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL') 872 @DomName('WebGLDrawBuffers.MAX_DRAW_BUFFERS_WEBGL')
849 @DocsEditable() 873 @DocsEditable()
850 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824; 874 static const int MAX_DRAW_BUFFERS_WEBGL = 0x8824;
851 875
852 @DomName('WebGLDrawBuffers.drawBuffersWEBGL') 876 }
877 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
878 // for details. All rights reserved. Use of this source code is governed by a
879 // BSD-style license that can be found in the LICENSE file.
880
881 // WARNING: Do not edit - generated code.
882
883
884 @DocsEditable()
885 @DomName('EXTBlendMinMax')
886 @Experimental() // untriaged
887 class ExtBlendMinMax extends NativeFieldWrapperClass2 {
888 // To suppress missing implicit constructor warnings.
889 factory ExtBlendMinMax._() { throw new UnsupportedError("Not supported"); }
890
891 @DomName('EXTBlendMinMax.MAX_EXT')
853 @DocsEditable() 892 @DocsEditable()
854 void drawBuffersWebgl(List<int> buffers) => _blink.BlinkWebGLDrawBuffers.drawB uffersWEBGL_Callback_SEQ_GLenum_SEQ(this, buffers); 893 @Experimental() // untriaged
894 static const int MAX_EXT = 0x8008;
895
896 @DomName('EXTBlendMinMax.MIN_EXT')
897 @DocsEditable()
898 @Experimental() // untriaged
899 static const int MIN_EXT = 0x8007;
855 900
856 } 901 }
857 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
858 // for details. All rights reserved. Use of this source code is governed by a 903 // for details. All rights reserved. Use of this source code is governed by a
859 // BSD-style license that can be found in the LICENSE file. 904 // BSD-style license that can be found in the LICENSE file.
860 905
861 // WARNING: Do not edit - generated code. 906 // WARNING: Do not edit - generated code.
862 907
863 908
864 @DocsEditable() 909 @DocsEditable()
865 @DomName('EXTFragDepth') 910 @DomName('EXTFragDepth')
866 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ 911 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
867 @Experimental() 912 @Experimental()
868 class ExtFragDepth extends NativeFieldWrapperClass2 { 913 class ExtFragDepth extends NativeFieldWrapperClass2 {
869 // To suppress missing implicit constructor warnings. 914 // To suppress missing implicit constructor warnings.
870 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); } 915 factory ExtFragDepth._() { throw new UnsupportedError("Not supported"); }
871 916
872 } 917 }
873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 918 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
874 // for details. All rights reserved. Use of this source code is governed by a 919 // for details. All rights reserved. Use of this source code is governed by a
875 // BSD-style license that can be found in the LICENSE file. 920 // BSD-style license that can be found in the LICENSE file.
876 921
877 // WARNING: Do not edit - generated code. 922 // WARNING: Do not edit - generated code.
878 923
879 924
880 @DocsEditable() 925 @DocsEditable()
926 @DomName('EXTShaderTextureLOD')
927 @Experimental() // untriaged
928 class ExtShaderTextureLod extends NativeFieldWrapperClass2 {
929 // To suppress missing implicit constructor warnings.
930 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported"); }
931
932 }
933 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
934 // for details. All rights reserved. Use of this source code is governed by a
935 // BSD-style license that can be found in the LICENSE file.
936
937 // WARNING: Do not edit - generated code.
938
939
940 @DocsEditable()
881 @DomName('EXTTextureFilterAnisotropic') 941 @DomName('EXTTextureFilterAnisotropic')
882 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/ 942 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/
883 @Experimental() 943 @Experimental()
884 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 { 944 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass2 {
885 // To suppress missing implicit constructor warnings. 945 // To suppress missing implicit constructor warnings.
886 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); } 946 factory ExtTextureFilterAnisotropic._() { throw new UnsupportedError("Not supp orted"); }
887 947
888 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') 948 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
889 @DocsEditable() 949 @DocsEditable()
890 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 950 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1166 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
1107 // for details. All rights reserved. Use of this source code is governed by a 1167 // for details. All rights reserved. Use of this source code is governed by a
1108 // BSD-style license that can be found in the LICENSE file. 1168 // BSD-style license that can be found in the LICENSE file.
1109 1169
1110 1170
1111 @DomName('WebGLRenderingContext') 1171 @DomName('WebGLRenderingContext')
1112 @SupportedBrowser(SupportedBrowser.CHROME) 1172 @SupportedBrowser(SupportedBrowser.CHROME)
1113 @SupportedBrowser(SupportedBrowser.FIREFOX) 1173 @SupportedBrowser(SupportedBrowser.FIREFOX)
1114 @Experimental() 1174 @Experimental()
1115 @Unstable() 1175 @Unstable()
1116 class RenderingContext extends CanvasRenderingContext { 1176 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi ngContext {
1117 // To suppress missing implicit constructor warnings. 1177 // To suppress missing implicit constructor warnings.
1118 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } 1178 factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
1119 1179
1120 /// Checks if this type is supported on the current platform. 1180 /// Checks if this type is supported on the current platform.
1121 static bool get supported => true; 1181 static bool get supported => true;
1122 1182
1123 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 1183 @DomName('WebGLRenderingContext.canvas')
1124 @DocsEditable() 1184 @DocsEditable()
1125 static const int ACTIVE_ATTRIBUTES = 0x8B89; 1185 @Experimental() // untriaged
1126 1186 CanvasElement get canvas => _blink.BlinkWebGLRenderingContext.canvas_Getter(th is);
1127 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
1128 @DocsEditable()
1129 static const int ACTIVE_TEXTURE = 0x84E0;
1130
1131 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS')
1132 @DocsEditable()
1133 static const int ACTIVE_UNIFORMS = 0x8B86;
1134
1135 @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE')
1136 @DocsEditable()
1137 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E;
1138
1139 @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE')
1140 @DocsEditable()
1141 static const int ALIASED_POINT_SIZE_RANGE = 0x846D;
1142
1143 @DomName('WebGLRenderingContext.ALPHA')
1144 @DocsEditable()
1145 static const int ALPHA = 0x1906;
1146
1147 @DomName('WebGLRenderingContext.ALPHA_BITS')
1148 @DocsEditable()
1149 static const int ALPHA_BITS = 0x0D55;
1150
1151 @DomName('WebGLRenderingContext.ALWAYS')
1152 @DocsEditable()
1153 static const int ALWAYS = 0x0207;
1154
1155 @DomName('WebGLRenderingContext.ARRAY_BUFFER')
1156 @DocsEditable()
1157 static const int ARRAY_BUFFER = 0x8892;
1158
1159 @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING')
1160 @DocsEditable()
1161 static const int ARRAY_BUFFER_BINDING = 0x8894;
1162
1163 @DomName('WebGLRenderingContext.ATTACHED_SHADERS')
1164 @DocsEditable()
1165 static const int ATTACHED_SHADERS = 0x8B85;
1166
1167 @DomName('WebGLRenderingContext.BACK')
1168 @DocsEditable()
1169 static const int BACK = 0x0405;
1170
1171 @DomName('WebGLRenderingContext.BLEND')
1172 @DocsEditable()
1173 static const int BLEND = 0x0BE2;
1174
1175 @DomName('WebGLRenderingContext.BLEND_COLOR')
1176 @DocsEditable()
1177 static const int BLEND_COLOR = 0x8005;
1178
1179 @DomName('WebGLRenderingContext.BLEND_DST_ALPHA')
1180 @DocsEditable()
1181 static const int BLEND_DST_ALPHA = 0x80CA;
1182
1183 @DomName('WebGLRenderingContext.BLEND_DST_RGB')
1184 @DocsEditable()
1185 static const int BLEND_DST_RGB = 0x80C8;
1186
1187 @DomName('WebGLRenderingContext.BLEND_EQUATION')
1188 @DocsEditable()
1189 static const int BLEND_EQUATION = 0x8009;
1190
1191 @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA')
1192 @DocsEditable()
1193 static const int BLEND_EQUATION_ALPHA = 0x883D;
1194
1195 @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB')
1196 @DocsEditable()
1197 static const int BLEND_EQUATION_RGB = 0x8009;
1198
1199 @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA')
1200 @DocsEditable()
1201 static const int BLEND_SRC_ALPHA = 0x80CB;
1202
1203 @DomName('WebGLRenderingContext.BLEND_SRC_RGB')
1204 @DocsEditable()
1205 static const int BLEND_SRC_RGB = 0x80C9;
1206
1207 @DomName('WebGLRenderingContext.BLUE_BITS')
1208 @DocsEditable()
1209 static const int BLUE_BITS = 0x0D54;
1210
1211 @DomName('WebGLRenderingContext.BOOL')
1212 @DocsEditable()
1213 static const int BOOL = 0x8B56;
1214
1215 @DomName('WebGLRenderingContext.BOOL_VEC2')
1216 @DocsEditable()
1217 static const int BOOL_VEC2 = 0x8B57;
1218
1219 @DomName('WebGLRenderingContext.BOOL_VEC3')
1220 @DocsEditable()
1221 static const int BOOL_VEC3 = 0x8B58;
1222
1223 @DomName('WebGLRenderingContext.BOOL_VEC4')
1224 @DocsEditable()
1225 static const int BOOL_VEC4 = 0x8B59;
1226
1227 @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL')
1228 @DocsEditable()
1229 static const int BROWSER_DEFAULT_WEBGL = 0x9244;
1230
1231 @DomName('WebGLRenderingContext.BUFFER_SIZE')
1232 @DocsEditable()
1233 static const int BUFFER_SIZE = 0x8764;
1234
1235 @DomName('WebGLRenderingContext.BUFFER_USAGE')
1236 @DocsEditable()
1237 static const int BUFFER_USAGE = 0x8765;
1238
1239 @DomName('WebGLRenderingContext.BYTE')
1240 @DocsEditable()
1241 static const int BYTE = 0x1400;
1242
1243 @DomName('WebGLRenderingContext.CCW')
1244 @DocsEditable()
1245 static const int CCW = 0x0901;
1246
1247 @DomName('WebGLRenderingContext.CLAMP_TO_EDGE')
1248 @DocsEditable()
1249 static const int CLAMP_TO_EDGE = 0x812F;
1250
1251 @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0')
1252 @DocsEditable()
1253 static const int COLOR_ATTACHMENT0 = 0x8CE0;
1254
1255 @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT')
1256 @DocsEditable()
1257 static const int COLOR_BUFFER_BIT = 0x00004000;
1258
1259 @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE')
1260 @DocsEditable()
1261 static const int COLOR_CLEAR_VALUE = 0x0C22;
1262
1263 @DomName('WebGLRenderingContext.COLOR_WRITEMASK')
1264 @DocsEditable()
1265 static const int COLOR_WRITEMASK = 0x0C23;
1266
1267 @DomName('WebGLRenderingContext.COMPILE_STATUS')
1268 @DocsEditable()
1269 static const int COMPILE_STATUS = 0x8B81;
1270
1271 @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS')
1272 @DocsEditable()
1273 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
1274
1275 @DomName('WebGLRenderingContext.CONSTANT_ALPHA')
1276 @DocsEditable()
1277 static const int CONSTANT_ALPHA = 0x8003;
1278
1279 @DomName('WebGLRenderingContext.CONSTANT_COLOR')
1280 @DocsEditable()
1281 static const int CONSTANT_COLOR = 0x8001;
1282
1283 @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL')
1284 @DocsEditable()
1285 static const int CONTEXT_LOST_WEBGL = 0x9242;
1286
1287 @DomName('WebGLRenderingContext.CULL_FACE')
1288 @DocsEditable()
1289 static const int CULL_FACE = 0x0B44;
1290
1291 @DomName('WebGLRenderingContext.CULL_FACE_MODE')
1292 @DocsEditable()
1293 static const int CULL_FACE_MODE = 0x0B45;
1294
1295 @DomName('WebGLRenderingContext.CURRENT_PROGRAM')
1296 @DocsEditable()
1297 static const int CURRENT_PROGRAM = 0x8B8D;
1298
1299 @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB')
1300 @DocsEditable()
1301 static const int CURRENT_VERTEX_ATTRIB = 0x8626;
1302
1303 @DomName('WebGLRenderingContext.CW')
1304 @DocsEditable()
1305 static const int CW = 0x0900;
1306
1307 @DomName('WebGLRenderingContext.DECR')
1308 @DocsEditable()
1309 static const int DECR = 0x1E03;
1310
1311 @DomName('WebGLRenderingContext.DECR_WRAP')
1312 @DocsEditable()
1313 static const int DECR_WRAP = 0x8508;
1314
1315 @DomName('WebGLRenderingContext.DELETE_STATUS')
1316 @DocsEditable()
1317 static const int DELETE_STATUS = 0x8B80;
1318
1319 @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT')
1320 @DocsEditable()
1321 static const int DEPTH_ATTACHMENT = 0x8D00;
1322
1323 @DomName('WebGLRenderingContext.DEPTH_BITS')
1324 @DocsEditable()
1325 static const int DEPTH_BITS = 0x0D56;
1326
1327 @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT')
1328 @DocsEditable()
1329 static const int DEPTH_BUFFER_BIT = 0x00000100;
1330
1331 @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE')
1332 @DocsEditable()
1333 static const int DEPTH_CLEAR_VALUE = 0x0B73;
1334
1335 @DomName('WebGLRenderingContext.DEPTH_COMPONENT')
1336 @DocsEditable()
1337 static const int DEPTH_COMPONENT = 0x1902;
1338
1339 @DomName('WebGLRenderingContext.DEPTH_COMPONENT16')
1340 @DocsEditable()
1341 static const int DEPTH_COMPONENT16 = 0x81A5;
1342
1343 @DomName('WebGLRenderingContext.DEPTH_FUNC')
1344 @DocsEditable()
1345 static const int DEPTH_FUNC = 0x0B74;
1346
1347 @DomName('WebGLRenderingContext.DEPTH_RANGE')
1348 @DocsEditable()
1349 static const int DEPTH_RANGE = 0x0B70;
1350
1351 @DomName('WebGLRenderingContext.DEPTH_STENCIL')
1352 @DocsEditable()
1353 static const int DEPTH_STENCIL = 0x84F9;
1354
1355 @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT')
1356 @DocsEditable()
1357 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A;
1358
1359 @DomName('WebGLRenderingContext.DEPTH_TEST')
1360 @DocsEditable()
1361 static const int DEPTH_TEST = 0x0B71;
1362
1363 @DomName('WebGLRenderingContext.DEPTH_WRITEMASK')
1364 @DocsEditable()
1365 static const int DEPTH_WRITEMASK = 0x0B72;
1366
1367 @DomName('WebGLRenderingContext.DITHER')
1368 @DocsEditable()
1369 static const int DITHER = 0x0BD0;
1370
1371 @DomName('WebGLRenderingContext.DONT_CARE')
1372 @DocsEditable()
1373 static const int DONT_CARE = 0x1100;
1374
1375 @DomName('WebGLRenderingContext.DST_ALPHA')
1376 @DocsEditable()
1377 static const int DST_ALPHA = 0x0304;
1378
1379 @DomName('WebGLRenderingContext.DST_COLOR')
1380 @DocsEditable()
1381 static const int DST_COLOR = 0x0306;
1382
1383 @DomName('WebGLRenderingContext.DYNAMIC_DRAW')
1384 @DocsEditable()
1385 static const int DYNAMIC_DRAW = 0x88E8;
1386
1387 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER')
1388 @DocsEditable()
1389 static const int ELEMENT_ARRAY_BUFFER = 0x8893;
1390
1391 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING')
1392 @DocsEditable()
1393 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
1394
1395 @DomName('WebGLRenderingContext.EQUAL')
1396 @DocsEditable()
1397 static const int EQUAL = 0x0202;
1398
1399 @DomName('WebGLRenderingContext.FASTEST')
1400 @DocsEditable()
1401 static const int FASTEST = 0x1101;
1402
1403 @DomName('WebGLRenderingContext.FLOAT')
1404 @DocsEditable()
1405 static const int FLOAT = 0x1406;
1406
1407 @DomName('WebGLRenderingContext.FLOAT_MAT2')
1408 @DocsEditable()
1409 static const int FLOAT_MAT2 = 0x8B5A;
1410
1411 @DomName('WebGLRenderingContext.FLOAT_MAT3')
1412 @DocsEditable()
1413 static const int FLOAT_MAT3 = 0x8B5B;
1414
1415 @DomName('WebGLRenderingContext.FLOAT_MAT4')
1416 @DocsEditable()
1417 static const int FLOAT_MAT4 = 0x8B5C;
1418
1419 @DomName('WebGLRenderingContext.FLOAT_VEC2')
1420 @DocsEditable()
1421 static const int FLOAT_VEC2 = 0x8B50;
1422
1423 @DomName('WebGLRenderingContext.FLOAT_VEC3')
1424 @DocsEditable()
1425 static const int FLOAT_VEC3 = 0x8B51;
1426
1427 @DomName('WebGLRenderingContext.FLOAT_VEC4')
1428 @DocsEditable()
1429 static const int FLOAT_VEC4 = 0x8B52;
1430
1431 @DomName('WebGLRenderingContext.FRAGMENT_SHADER')
1432 @DocsEditable()
1433 static const int FRAGMENT_SHADER = 0x8B30;
1434
1435 @DomName('WebGLRenderingContext.FRAMEBUFFER')
1436 @DocsEditable()
1437 static const int FRAMEBUFFER = 0x8D40;
1438
1439 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME')
1440 @DocsEditable()
1441 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
1442
1443 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE')
1444 @DocsEditable()
1445 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
1446
1447 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE')
1448 @DocsEditable()
1449 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
1450
1451 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL')
1452 @DocsEditable()
1453 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
1454
1455 @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING')
1456 @DocsEditable()
1457 static const int FRAMEBUFFER_BINDING = 0x8CA6;
1458
1459 @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE')
1460 @DocsEditable()
1461 static const int FRAMEBUFFER_COMPLETE = 0x8CD5;
1462
1463 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT')
1464 @DocsEditable()
1465 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
1466
1467 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS')
1468 @DocsEditable()
1469 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
1470
1471 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT')
1472 @DocsEditable()
1473 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
1474
1475 @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED')
1476 @DocsEditable()
1477 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
1478
1479 @DomName('WebGLRenderingContext.FRONT')
1480 @DocsEditable()
1481 static const int FRONT = 0x0404;
1482
1483 @DomName('WebGLRenderingContext.FRONT_AND_BACK')
1484 @DocsEditable()
1485 static const int FRONT_AND_BACK = 0x0408;
1486
1487 @DomName('WebGLRenderingContext.FRONT_FACE')
1488 @DocsEditable()
1489 static const int FRONT_FACE = 0x0B46;
1490
1491 @DomName('WebGLRenderingContext.FUNC_ADD')
1492 @DocsEditable()
1493 static const int FUNC_ADD = 0x8006;
1494
1495 @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT')
1496 @DocsEditable()
1497 static const int FUNC_REVERSE_SUBTRACT = 0x800B;
1498
1499 @DomName('WebGLRenderingContext.FUNC_SUBTRACT')
1500 @DocsEditable()
1501 static const int FUNC_SUBTRACT = 0x800A;
1502
1503 @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT')
1504 @DocsEditable()
1505 static const int GENERATE_MIPMAP_HINT = 0x8192;
1506
1507 @DomName('WebGLRenderingContext.GEQUAL')
1508 @DocsEditable()
1509 static const int GEQUAL = 0x0206;
1510
1511 @DomName('WebGLRenderingContext.GREATER')
1512 @DocsEditable()
1513 static const int GREATER = 0x0204;
1514
1515 @DomName('WebGLRenderingContext.GREEN_BITS')
1516 @DocsEditable()
1517 static const int GREEN_BITS = 0x0D53;
1518
1519 @DomName('WebGLRenderingContext.HIGH_FLOAT')
1520 @DocsEditable()
1521 static const int HIGH_FLOAT = 0x8DF2;
1522
1523 @DomName('WebGLRenderingContext.HIGH_INT')
1524 @DocsEditable()
1525 static const int HIGH_INT = 0x8DF5;
1526
1527 @DomName('WebGLRenderingContext.INCR')
1528 @DocsEditable()
1529 static const int INCR = 0x1E02;
1530
1531 @DomName('WebGLRenderingContext.INCR_WRAP')
1532 @DocsEditable()
1533 static const int INCR_WRAP = 0x8507;
1534
1535 @DomName('WebGLRenderingContext.INT')
1536 @DocsEditable()
1537 static const int INT = 0x1404;
1538
1539 @DomName('WebGLRenderingContext.INT_VEC2')
1540 @DocsEditable()
1541 static const int INT_VEC2 = 0x8B53;
1542
1543 @DomName('WebGLRenderingContext.INT_VEC3')
1544 @DocsEditable()
1545 static const int INT_VEC3 = 0x8B54;
1546
1547 @DomName('WebGLRenderingContext.INT_VEC4')
1548 @DocsEditable()
1549 static const int INT_VEC4 = 0x8B55;
1550
1551 @DomName('WebGLRenderingContext.INVALID_ENUM')
1552 @DocsEditable()
1553 static const int INVALID_ENUM = 0x0500;
1554
1555 @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION')
1556 @DocsEditable()
1557 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
1558
1559 @DomName('WebGLRenderingContext.INVALID_OPERATION')
1560 @DocsEditable()
1561 static const int INVALID_OPERATION = 0x0502;
1562
1563 @DomName('WebGLRenderingContext.INVALID_VALUE')
1564 @DocsEditable()
1565 static const int INVALID_VALUE = 0x0501;
1566
1567 @DomName('WebGLRenderingContext.INVERT')
1568 @DocsEditable()
1569 static const int INVERT = 0x150A;
1570
1571 @DomName('WebGLRenderingContext.KEEP')
1572 @DocsEditable()
1573 static const int KEEP = 0x1E00;
1574
1575 @DomName('WebGLRenderingContext.LEQUAL')
1576 @DocsEditable()
1577 static const int LEQUAL = 0x0203;
1578
1579 @DomName('WebGLRenderingContext.LESS')
1580 @DocsEditable()
1581 static const int LESS = 0x0201;
1582
1583 @DomName('WebGLRenderingContext.LINEAR')
1584 @DocsEditable()
1585 static const int LINEAR = 0x2601;
1586
1587 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR')
1588 @DocsEditable()
1589 static const int LINEAR_MIPMAP_LINEAR = 0x2703;
1590
1591 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST')
1592 @DocsEditable()
1593 static const int LINEAR_MIPMAP_NEAREST = 0x2701;
1594
1595 @DomName('WebGLRenderingContext.LINES')
1596 @DocsEditable()
1597 static const int LINES = 0x0001;
1598
1599 @DomName('WebGLRenderingContext.LINE_LOOP')
1600 @DocsEditable()
1601 static const int LINE_LOOP = 0x0002;
1602
1603 @DomName('WebGLRenderingContext.LINE_STRIP')
1604 @DocsEditable()
1605 static const int LINE_STRIP = 0x0003;
1606
1607 @DomName('WebGLRenderingContext.LINE_WIDTH')
1608 @DocsEditable()
1609 static const int LINE_WIDTH = 0x0B21;
1610
1611 @DomName('WebGLRenderingContext.LINK_STATUS')
1612 @DocsEditable()
1613 static const int LINK_STATUS = 0x8B82;
1614
1615 @DomName('WebGLRenderingContext.LOW_FLOAT')
1616 @DocsEditable()
1617 static const int LOW_FLOAT = 0x8DF0;
1618
1619 @DomName('WebGLRenderingContext.LOW_INT')
1620 @DocsEditable()
1621 static const int LOW_INT = 0x8DF3;
1622
1623 @DomName('WebGLRenderingContext.LUMINANCE')
1624 @DocsEditable()
1625 static const int LUMINANCE = 0x1909;
1626
1627 @DomName('WebGLRenderingContext.LUMINANCE_ALPHA')
1628 @DocsEditable()
1629 static const int LUMINANCE_ALPHA = 0x190A;
1630
1631 @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS')
1632 @DocsEditable()
1633 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
1634
1635 @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE')
1636 @DocsEditable()
1637 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
1638
1639 @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS')
1640 @DocsEditable()
1641 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
1642
1643 @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE')
1644 @DocsEditable()
1645 static const int MAX_RENDERBUFFER_SIZE = 0x84E8;
1646
1647 @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS')
1648 @DocsEditable()
1649 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
1650
1651 @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE')
1652 @DocsEditable()
1653 static const int MAX_TEXTURE_SIZE = 0x0D33;
1654
1655 @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS')
1656 @DocsEditable()
1657 static const int MAX_VARYING_VECTORS = 0x8DFC;
1658
1659 @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS')
1660 @DocsEditable()
1661 static const int MAX_VERTEX_ATTRIBS = 0x8869;
1662
1663 @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS')
1664 @DocsEditable()
1665 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
1666
1667 @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS')
1668 @DocsEditable()
1669 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
1670
1671 @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS')
1672 @DocsEditable()
1673 static const int MAX_VIEWPORT_DIMS = 0x0D3A;
1674
1675 @DomName('WebGLRenderingContext.MEDIUM_FLOAT')
1676 @DocsEditable()
1677 static const int MEDIUM_FLOAT = 0x8DF1;
1678
1679 @DomName('WebGLRenderingContext.MEDIUM_INT')
1680 @DocsEditable()
1681 static const int MEDIUM_INT = 0x8DF4;
1682
1683 @DomName('WebGLRenderingContext.MIRRORED_REPEAT')
1684 @DocsEditable()
1685 static const int MIRRORED_REPEAT = 0x8370;
1686
1687 @DomName('WebGLRenderingContext.NEAREST')
1688 @DocsEditable()
1689 static const int NEAREST = 0x2600;
1690
1691 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR')
1692 @DocsEditable()
1693 static const int NEAREST_MIPMAP_LINEAR = 0x2702;
1694
1695 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST')
1696 @DocsEditable()
1697 static const int NEAREST_MIPMAP_NEAREST = 0x2700;
1698
1699 @DomName('WebGLRenderingContext.NEVER')
1700 @DocsEditable()
1701 static const int NEVER = 0x0200;
1702
1703 @DomName('WebGLRenderingContext.NICEST')
1704 @DocsEditable()
1705 static const int NICEST = 0x1102;
1706
1707 @DomName('WebGLRenderingContext.NONE')
1708 @DocsEditable()
1709 static const int NONE = 0;
1710
1711 @DomName('WebGLRenderingContext.NOTEQUAL')
1712 @DocsEditable()
1713 static const int NOTEQUAL = 0x0205;
1714
1715 @DomName('WebGLRenderingContext.NO_ERROR')
1716 @DocsEditable()
1717 static const int NO_ERROR = 0;
1718
1719 @DomName('WebGLRenderingContext.ONE')
1720 @DocsEditable()
1721 static const int ONE = 1;
1722
1723 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA')
1724 @DocsEditable()
1725 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
1726
1727 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR')
1728 @DocsEditable()
1729 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002;
1730
1731 @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA')
1732 @DocsEditable()
1733 static const int ONE_MINUS_DST_ALPHA = 0x0305;
1734
1735 @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR')
1736 @DocsEditable()
1737 static const int ONE_MINUS_DST_COLOR = 0x0307;
1738
1739 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA')
1740 @DocsEditable()
1741 static const int ONE_MINUS_SRC_ALPHA = 0x0303;
1742
1743 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR')
1744 @DocsEditable()
1745 static const int ONE_MINUS_SRC_COLOR = 0x0301;
1746
1747 @DomName('WebGLRenderingContext.OUT_OF_MEMORY')
1748 @DocsEditable()
1749 static const int OUT_OF_MEMORY = 0x0505;
1750
1751 @DomName('WebGLRenderingContext.PACK_ALIGNMENT')
1752 @DocsEditable()
1753 static const int PACK_ALIGNMENT = 0x0D05;
1754
1755 @DomName('WebGLRenderingContext.POINTS')
1756 @DocsEditable()
1757 static const int POINTS = 0x0000;
1758
1759 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR')
1760 @DocsEditable()
1761 static const int POLYGON_OFFSET_FACTOR = 0x8038;
1762
1763 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL')
1764 @DocsEditable()
1765 static const int POLYGON_OFFSET_FILL = 0x8037;
1766
1767 @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS')
1768 @DocsEditable()
1769 static const int POLYGON_OFFSET_UNITS = 0x2A00;
1770
1771 @DomName('WebGLRenderingContext.RED_BITS')
1772 @DocsEditable()
1773 static const int RED_BITS = 0x0D52;
1774
1775 @DomName('WebGLRenderingContext.RENDERBUFFER')
1776 @DocsEditable()
1777 static const int RENDERBUFFER = 0x8D41;
1778
1779 @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE')
1780 @DocsEditable()
1781 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
1782
1783 @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING')
1784 @DocsEditable()
1785 static const int RENDERBUFFER_BINDING = 0x8CA7;
1786
1787 @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE')
1788 @DocsEditable()
1789 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52;
1790
1791 @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE')
1792 @DocsEditable()
1793 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
1794
1795 @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE')
1796 @DocsEditable()
1797 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51;
1798
1799 @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT')
1800 @DocsEditable()
1801 static const int RENDERBUFFER_HEIGHT = 0x8D43;
1802
1803 @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT')
1804 @DocsEditable()
1805 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
1806
1807 @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE')
1808 @DocsEditable()
1809 static const int RENDERBUFFER_RED_SIZE = 0x8D50;
1810
1811 @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE')
1812 @DocsEditable()
1813 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
1814
1815 @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH')
1816 @DocsEditable()
1817 static const int RENDERBUFFER_WIDTH = 0x8D42;
1818
1819 @DomName('WebGLRenderingContext.RENDERER')
1820 @DocsEditable()
1821 static const int RENDERER = 0x1F01;
1822
1823 @DomName('WebGLRenderingContext.REPEAT')
1824 @DocsEditable()
1825 static const int REPEAT = 0x2901;
1826
1827 @DomName('WebGLRenderingContext.REPLACE')
1828 @DocsEditable()
1829 static const int REPLACE = 0x1E01;
1830
1831 @DomName('WebGLRenderingContext.RGB')
1832 @DocsEditable()
1833 static const int RGB = 0x1907;
1834
1835 @DomName('WebGLRenderingContext.RGB565')
1836 @DocsEditable()
1837 static const int RGB565 = 0x8D62;
1838
1839 @DomName('WebGLRenderingContext.RGB5_A1')
1840 @DocsEditable()
1841 static const int RGB5_A1 = 0x8057;
1842
1843 @DomName('WebGLRenderingContext.RGBA')
1844 @DocsEditable()
1845 static const int RGBA = 0x1908;
1846
1847 @DomName('WebGLRenderingContext.RGBA4')
1848 @DocsEditable()
1849 static const int RGBA4 = 0x8056;
1850
1851 @DomName('WebGLRenderingContext.SAMPLER_2D')
1852 @DocsEditable()
1853 static const int SAMPLER_2D = 0x8B5E;
1854
1855 @DomName('WebGLRenderingContext.SAMPLER_CUBE')
1856 @DocsEditable()
1857 static const int SAMPLER_CUBE = 0x8B60;
1858
1859 @DomName('WebGLRenderingContext.SAMPLES')
1860 @DocsEditable()
1861 static const int SAMPLES = 0x80A9;
1862
1863 @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE')
1864 @DocsEditable()
1865 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
1866
1867 @DomName('WebGLRenderingContext.SAMPLE_BUFFERS')
1868 @DocsEditable()
1869 static const int SAMPLE_BUFFERS = 0x80A8;
1870
1871 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE')
1872 @DocsEditable()
1873 static const int SAMPLE_COVERAGE = 0x80A0;
1874
1875 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT')
1876 @DocsEditable()
1877 static const int SAMPLE_COVERAGE_INVERT = 0x80AB;
1878
1879 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE')
1880 @DocsEditable()
1881 static const int SAMPLE_COVERAGE_VALUE = 0x80AA;
1882
1883 @DomName('WebGLRenderingContext.SCISSOR_BOX')
1884 @DocsEditable()
1885 static const int SCISSOR_BOX = 0x0C10;
1886
1887 @DomName('WebGLRenderingContext.SCISSOR_TEST')
1888 @DocsEditable()
1889 static const int SCISSOR_TEST = 0x0C11;
1890
1891 @DomName('WebGLRenderingContext.SHADER_TYPE')
1892 @DocsEditable()
1893 static const int SHADER_TYPE = 0x8B4F;
1894
1895 @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION')
1896 @DocsEditable()
1897 static const int SHADING_LANGUAGE_VERSION = 0x8B8C;
1898
1899 @DomName('WebGLRenderingContext.SHORT')
1900 @DocsEditable()
1901 static const int SHORT = 0x1402;
1902
1903 @DomName('WebGLRenderingContext.SRC_ALPHA')
1904 @DocsEditable()
1905 static const int SRC_ALPHA = 0x0302;
1906
1907 @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE')
1908 @DocsEditable()
1909 static const int SRC_ALPHA_SATURATE = 0x0308;
1910
1911 @DomName('WebGLRenderingContext.SRC_COLOR')
1912 @DocsEditable()
1913 static const int SRC_COLOR = 0x0300;
1914
1915 @DomName('WebGLRenderingContext.STATIC_DRAW')
1916 @DocsEditable()
1917 static const int STATIC_DRAW = 0x88E4;
1918
1919 @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT')
1920 @DocsEditable()
1921 static const int STENCIL_ATTACHMENT = 0x8D20;
1922
1923 @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL')
1924 @DocsEditable()
1925 static const int STENCIL_BACK_FAIL = 0x8801;
1926
1927 @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC')
1928 @DocsEditable()
1929 static const int STENCIL_BACK_FUNC = 0x8800;
1930
1931 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL')
1932 @DocsEditable()
1933 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
1934
1935 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS')
1936 @DocsEditable()
1937 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
1938
1939 @DomName('WebGLRenderingContext.STENCIL_BACK_REF')
1940 @DocsEditable()
1941 static const int STENCIL_BACK_REF = 0x8CA3;
1942
1943 @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK')
1944 @DocsEditable()
1945 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4;
1946
1947 @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK')
1948 @DocsEditable()
1949 static const int STENCIL_BACK_WRITEMASK = 0x8CA5;
1950
1951 @DomName('WebGLRenderingContext.STENCIL_BITS')
1952 @DocsEditable()
1953 static const int STENCIL_BITS = 0x0D57;
1954
1955 @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT')
1956 @DocsEditable()
1957 static const int STENCIL_BUFFER_BIT = 0x00000400;
1958
1959 @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE')
1960 @DocsEditable()
1961 static const int STENCIL_CLEAR_VALUE = 0x0B91;
1962
1963 @DomName('WebGLRenderingContext.STENCIL_FAIL')
1964 @DocsEditable()
1965 static const int STENCIL_FAIL = 0x0B94;
1966
1967 @DomName('WebGLRenderingContext.STENCIL_FUNC')
1968 @DocsEditable()
1969 static const int STENCIL_FUNC = 0x0B92;
1970
1971 @DomName('WebGLRenderingContext.STENCIL_INDEX')
1972 @DocsEditable()
1973 static const int STENCIL_INDEX = 0x1901;
1974
1975 @DomName('WebGLRenderingContext.STENCIL_INDEX8')
1976 @DocsEditable()
1977 static const int STENCIL_INDEX8 = 0x8D48;
1978
1979 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL')
1980 @DocsEditable()
1981 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
1982
1983 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS')
1984 @DocsEditable()
1985 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96;
1986
1987 @DomName('WebGLRenderingContext.STENCIL_REF')
1988 @DocsEditable()
1989 static const int STENCIL_REF = 0x0B97;
1990
1991 @DomName('WebGLRenderingContext.STENCIL_TEST')
1992 @DocsEditable()
1993 static const int STENCIL_TEST = 0x0B90;
1994
1995 @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK')
1996 @DocsEditable()
1997 static const int STENCIL_VALUE_MASK = 0x0B93;
1998
1999 @DomName('WebGLRenderingContext.STENCIL_WRITEMASK')
2000 @DocsEditable()
2001 static const int STENCIL_WRITEMASK = 0x0B98;
2002
2003 @DomName('WebGLRenderingContext.STREAM_DRAW')
2004 @DocsEditable()
2005 static const int STREAM_DRAW = 0x88E0;
2006
2007 @DomName('WebGLRenderingContext.SUBPIXEL_BITS')
2008 @DocsEditable()
2009 static const int SUBPIXEL_BITS = 0x0D50;
2010
2011 @DomName('WebGLRenderingContext.TEXTURE')
2012 @DocsEditable()
2013 static const int TEXTURE = 0x1702;
2014
2015 @DomName('WebGLRenderingContext.TEXTURE0')
2016 @DocsEditable()
2017 static const int TEXTURE0 = 0x84C0;
2018
2019 @DomName('WebGLRenderingContext.TEXTURE1')
2020 @DocsEditable()
2021 static const int TEXTURE1 = 0x84C1;
2022
2023 @DomName('WebGLRenderingContext.TEXTURE10')
2024 @DocsEditable()
2025 static const int TEXTURE10 = 0x84CA;
2026
2027 @DomName('WebGLRenderingContext.TEXTURE11')
2028 @DocsEditable()
2029 static const int TEXTURE11 = 0x84CB;
2030
2031 @DomName('WebGLRenderingContext.TEXTURE12')
2032 @DocsEditable()
2033 static const int TEXTURE12 = 0x84CC;
2034
2035 @DomName('WebGLRenderingContext.TEXTURE13')
2036 @DocsEditable()
2037 static const int TEXTURE13 = 0x84CD;
2038
2039 @DomName('WebGLRenderingContext.TEXTURE14')
2040 @DocsEditable()
2041 static const int TEXTURE14 = 0x84CE;
2042
2043 @DomName('WebGLRenderingContext.TEXTURE15')
2044 @DocsEditable()
2045 static const int TEXTURE15 = 0x84CF;
2046
2047 @DomName('WebGLRenderingContext.TEXTURE16')
2048 @DocsEditable()
2049 static const int TEXTURE16 = 0x84D0;
2050
2051 @DomName('WebGLRenderingContext.TEXTURE17')
2052 @DocsEditable()
2053 static const int TEXTURE17 = 0x84D1;
2054
2055 @DomName('WebGLRenderingContext.TEXTURE18')
2056 @DocsEditable()
2057 static const int TEXTURE18 = 0x84D2;
2058
2059 @DomName('WebGLRenderingContext.TEXTURE19')
2060 @DocsEditable()
2061 static const int TEXTURE19 = 0x84D3;
2062
2063 @DomName('WebGLRenderingContext.TEXTURE2')
2064 @DocsEditable()
2065 static const int TEXTURE2 = 0x84C2;
2066
2067 @DomName('WebGLRenderingContext.TEXTURE20')
2068 @DocsEditable()
2069 static const int TEXTURE20 = 0x84D4;
2070
2071 @DomName('WebGLRenderingContext.TEXTURE21')
2072 @DocsEditable()
2073 static const int TEXTURE21 = 0x84D5;
2074
2075 @DomName('WebGLRenderingContext.TEXTURE22')
2076 @DocsEditable()
2077 static const int TEXTURE22 = 0x84D6;
2078
2079 @DomName('WebGLRenderingContext.TEXTURE23')
2080 @DocsEditable()
2081 static const int TEXTURE23 = 0x84D7;
2082
2083 @DomName('WebGLRenderingContext.TEXTURE24')
2084 @DocsEditable()
2085 static const int TEXTURE24 = 0x84D8;
2086
2087 @DomName('WebGLRenderingContext.TEXTURE25')
2088 @DocsEditable()
2089 static const int TEXTURE25 = 0x84D9;
2090
2091 @DomName('WebGLRenderingContext.TEXTURE26')
2092 @DocsEditable()
2093 static const int TEXTURE26 = 0x84DA;
2094
2095 @DomName('WebGLRenderingContext.TEXTURE27')
2096 @DocsEditable()
2097 static const int TEXTURE27 = 0x84DB;
2098
2099 @DomName('WebGLRenderingContext.TEXTURE28')
2100 @DocsEditable()
2101 static const int TEXTURE28 = 0x84DC;
2102
2103 @DomName('WebGLRenderingContext.TEXTURE29')
2104 @DocsEditable()
2105 static const int TEXTURE29 = 0x84DD;
2106
2107 @DomName('WebGLRenderingContext.TEXTURE3')
2108 @DocsEditable()
2109 static const int TEXTURE3 = 0x84C3;
2110
2111 @DomName('WebGLRenderingContext.TEXTURE30')
2112 @DocsEditable()
2113 static const int TEXTURE30 = 0x84DE;
2114
2115 @DomName('WebGLRenderingContext.TEXTURE31')
2116 @DocsEditable()
2117 static const int TEXTURE31 = 0x84DF;
2118
2119 @DomName('WebGLRenderingContext.TEXTURE4')
2120 @DocsEditable()
2121 static const int TEXTURE4 = 0x84C4;
2122
2123 @DomName('WebGLRenderingContext.TEXTURE5')
2124 @DocsEditable()
2125 static const int TEXTURE5 = 0x84C5;
2126
2127 @DomName('WebGLRenderingContext.TEXTURE6')
2128 @DocsEditable()
2129 static const int TEXTURE6 = 0x84C6;
2130
2131 @DomName('WebGLRenderingContext.TEXTURE7')
2132 @DocsEditable()
2133 static const int TEXTURE7 = 0x84C7;
2134
2135 @DomName('WebGLRenderingContext.TEXTURE8')
2136 @DocsEditable()
2137 static const int TEXTURE8 = 0x84C8;
2138
2139 @DomName('WebGLRenderingContext.TEXTURE9')
2140 @DocsEditable()
2141 static const int TEXTURE9 = 0x84C9;
2142
2143 @DomName('WebGLRenderingContext.TEXTURE_2D')
2144 @DocsEditable()
2145 static const int TEXTURE_2D = 0x0DE1;
2146
2147 @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D')
2148 @DocsEditable()
2149 static const int TEXTURE_BINDING_2D = 0x8069;
2150
2151 @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP')
2152 @DocsEditable()
2153 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514;
2154
2155 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP')
2156 @DocsEditable()
2157 static const int TEXTURE_CUBE_MAP = 0x8513;
2158
2159 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X')
2160 @DocsEditable()
2161 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
2162
2163 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y')
2164 @DocsEditable()
2165 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
2166
2167 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z')
2168 @DocsEditable()
2169 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
2170
2171 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X')
2172 @DocsEditable()
2173 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
2174
2175 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y')
2176 @DocsEditable()
2177 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
2178
2179 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z')
2180 @DocsEditable()
2181 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
2182
2183 @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER')
2184 @DocsEditable()
2185 static const int TEXTURE_MAG_FILTER = 0x2800;
2186
2187 @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER')
2188 @DocsEditable()
2189 static const int TEXTURE_MIN_FILTER = 0x2801;
2190
2191 @DomName('WebGLRenderingContext.TEXTURE_WRAP_S')
2192 @DocsEditable()
2193 static const int TEXTURE_WRAP_S = 0x2802;
2194
2195 @DomName('WebGLRenderingContext.TEXTURE_WRAP_T')
2196 @DocsEditable()
2197 static const int TEXTURE_WRAP_T = 0x2803;
2198
2199 @DomName('WebGLRenderingContext.TRIANGLES')
2200 @DocsEditable()
2201 static const int TRIANGLES = 0x0004;
2202
2203 @DomName('WebGLRenderingContext.TRIANGLE_FAN')
2204 @DocsEditable()
2205 static const int TRIANGLE_FAN = 0x0006;
2206
2207 @DomName('WebGLRenderingContext.TRIANGLE_STRIP')
2208 @DocsEditable()
2209 static const int TRIANGLE_STRIP = 0x0005;
2210
2211 @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT')
2212 @DocsEditable()
2213 static const int UNPACK_ALIGNMENT = 0x0CF5;
2214
2215 @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL')
2216 @DocsEditable()
2217 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
2218
2219 @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL')
2220 @DocsEditable()
2221 static const int UNPACK_FLIP_Y_WEBGL = 0x9240;
2222
2223 @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL')
2224 @DocsEditable()
2225 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
2226
2227 @DomName('WebGLRenderingContext.UNSIGNED_BYTE')
2228 @DocsEditable()
2229 static const int UNSIGNED_BYTE = 0x1401;
2230
2231 @DomName('WebGLRenderingContext.UNSIGNED_INT')
2232 @DocsEditable()
2233 static const int UNSIGNED_INT = 0x1405;
2234
2235 @DomName('WebGLRenderingContext.UNSIGNED_SHORT')
2236 @DocsEditable()
2237 static const int UNSIGNED_SHORT = 0x1403;
2238
2239 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4')
2240 @DocsEditable()
2241 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
2242
2243 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1')
2244 @DocsEditable()
2245 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
2246
2247 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5')
2248 @DocsEditable()
2249 static const int UNSIGNED_SHORT_5_6_5 = 0x8363;
2250
2251 @DomName('WebGLRenderingContext.VALIDATE_STATUS')
2252 @DocsEditable()
2253 static const int VALIDATE_STATUS = 0x8B83;
2254
2255 @DomName('WebGLRenderingContext.VENDOR')
2256 @DocsEditable()
2257 static const int VENDOR = 0x1F00;
2258
2259 @DomName('WebGLRenderingContext.VERSION')
2260 @DocsEditable()
2261 static const int VERSION = 0x1F02;
2262
2263 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING')
2264 @DocsEditable()
2265 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
2266
2267 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED')
2268 @DocsEditable()
2269 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
2270
2271 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED')
2272 @DocsEditable()
2273 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
2274
2275 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER')
2276 @DocsEditable()
2277 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
2278
2279 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE')
2280 @DocsEditable()
2281 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
2282
2283 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE')
2284 @DocsEditable()
2285 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
2286
2287 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE')
2288 @DocsEditable()
2289 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
2290
2291 @DomName('WebGLRenderingContext.VERTEX_SHADER')
2292 @DocsEditable()
2293 static const int VERTEX_SHADER = 0x8B31;
2294
2295 @DomName('WebGLRenderingContext.VIEWPORT')
2296 @DocsEditable()
2297 static const int VIEWPORT = 0x0BA2;
2298
2299 @DomName('WebGLRenderingContext.ZERO')
2300 @DocsEditable()
2301 static const int ZERO = 0;
2302 1187
2303 @DomName('WebGLRenderingContext.drawingBufferHeight') 1188 @DomName('WebGLRenderingContext.drawingBufferHeight')
2304 @DocsEditable() 1189 @DocsEditable()
2305 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.drawingBuffer Height_Getter(this); 1190 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContext.drawingBuffer Height_Getter(this);
2306 1191
2307 @DomName('WebGLRenderingContext.drawingBufferWidth') 1192 @DomName('WebGLRenderingContext.drawingBufferWidth')
2308 @DocsEditable() 1193 @DocsEditable()
2309 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.drawingBufferW idth_Getter(this); 1194 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContext.drawingBufferW idth_Getter(this);
2310 1195
2311 @DomName('WebGLRenderingContext.activeTexture') 1196 @DomName('WebGLRenderingContext.activeTexture')
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
2354 1239
2355 @DomName('WebGLRenderingContext.blendFuncSeparate') 1240 @DomName('WebGLRenderingContext.blendFuncSeparate')
2356 @DocsEditable() 1241 @DocsEditable()
2357 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContext.blendFuncSeparate_Callback_ul_ul_ul_ul(this, s rcRGB, dstRGB, srcAlpha, dstAlpha); 1242 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContext.blendFuncSeparate_Callback_ul_ul_ul_ul(this, s rcRGB, dstRGB, srcAlpha, dstAlpha);
2358 1243
2359 @DomName('WebGLRenderingContext.bufferByteData') 1244 @DomName('WebGLRenderingContext.bufferByteData')
2360 @DocsEditable() 1245 @DocsEditable()
2361 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb GLRenderingContext.bufferData_Callback_ul_ArrayBuffer_ul(this, target, data, usa ge); 1246 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb GLRenderingContext.bufferData_Callback_ul_ArrayBuffer_ul(this, target, data, usa ge);
2362 1247
2363 void bufferData(int target, data_OR_size, int usage) { 1248 void bufferData(int target, data_OR_size, int usage) {
2364 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR _size == null) && (target is int || target == null)) { 1249 if ((usage is int) && (data_OR_size is int) && (target is int)) {
1250 _blink.BlinkWebGLRenderingContext.bufferData_Callback_ul_ll_ul(this, targe t, data_OR_size, usage);
1251 return;
1252 }
1253 if ((usage is int) && (data_OR_size is TypedData) && (target is int)) {
2365 _blink.BlinkWebGLRenderingContext.bufferData_Callback_ul_ArrayBufferView_u l(this, target, data_OR_size, usage); 1254 _blink.BlinkWebGLRenderingContext.bufferData_Callback_ul_ArrayBufferView_u l(this, target, data_OR_size, usage);
2366 return; 1255 return;
2367 } 1256 }
2368 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O R_size == null) && (target is int || target == null)) { 1257 if ((usage is int) && (data_OR_size is ByteBuffer || data_OR_size == null) & & (target is int)) {
2369 _blink.BlinkWebGLRenderingContext.bufferData_Callback_ul_ArrayBuffer_ul(th is, target, data_OR_size, usage); 1258 _blink.BlinkWebGLRenderingContext.bufferData_Callback_ul_ArrayBuffer_ul(th is, target, data_OR_size, usage);
2370 return; 1259 return;
2371 } 1260 }
2372 if ((usage is int || usage == null) && (data_OR_size is int || data_OR_size == null) && (target is int || target == null)) {
2373 _blink.BlinkWebGLRenderingContext.bufferData_Callback_ul_ll_ul(this, targe t, data_OR_size, usage);
2374 return;
2375 }
2376 throw new ArgumentError("Incorrect number or type of arguments"); 1261 throw new ArgumentError("Incorrect number or type of arguments");
2377 } 1262 }
2378 1263
2379 @DomName('WebGLRenderingContext.bufferDataTyped') 1264 @DomName('WebGLRenderingContext.bufferDataTyped')
2380 @DocsEditable() 1265 @DocsEditable()
2381 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb GLRenderingContext.bufferData_Callback_ul_ArrayBufferView_ul(this, target, data, usage); 1266 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb GLRenderingContext.bufferData_Callback_ul_ArrayBufferView_ul(this, target, data, usage);
2382 1267
2383 @DomName('WebGLRenderingContext.bufferSubByteData') 1268 @DomName('WebGLRenderingContext.bufferSubByteData')
2384 @DocsEditable() 1269 @DocsEditable()
2385 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin kWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBuffer(this, target, of fset, data); 1270 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin kWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBuffer(this, target, of fset, data);
2386 1271
2387 void bufferSubData(int target, int offset, data) { 1272 void bufferSubData(int target, int offset, data) {
2388 if ((data is TypedData || data == null) && (offset is int || offset == null) && (target is int || target == null)) { 1273 if ((data is TypedData) && (offset is int) && (target is int)) {
2389 _blink.BlinkWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBuffer View(this, target, offset, data); 1274 _blink.BlinkWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBuffer View(this, target, offset, data);
2390 return; 1275 return;
2391 } 1276 }
2392 if ((data is ByteBuffer || data == null) && (offset is int || offset == null ) && (target is int || target == null)) { 1277 if ((data is ByteBuffer || data == null) && (offset is int) && (target is in t)) {
2393 _blink.BlinkWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBuffer (this, target, offset, data); 1278 _blink.BlinkWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBuffer (this, target, offset, data);
2394 return; 1279 return;
2395 } 1280 }
2396 throw new ArgumentError("Incorrect number or type of arguments"); 1281 throw new ArgumentError("Incorrect number or type of arguments");
2397 } 1282 }
2398 1283
2399 @DomName('WebGLRenderingContext.bufferSubDataTyped') 1284 @DomName('WebGLRenderingContext.bufferSubDataTyped')
2400 @DocsEditable() 1285 @DocsEditable()
2401 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin kWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBufferView(this, target , offset, data); 1286 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin kWebGLRenderingContext.bufferSubData_Callback_ul_ll_ArrayBufferView(this, target , offset, data);
2402 1287
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
2742 1627
2743 @DomName('WebGLRenderingContext.stencilOp') 1628 @DomName('WebGLRenderingContext.stencilOp')
2744 @DocsEditable() 1629 @DocsEditable()
2745 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo ntext.stencilOp_Callback_ul_ul_ul(this, fail, zfail, zpass); 1630 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo ntext.stencilOp_Callback_ul_ul_ul(this, fail, zfail, zpass);
2746 1631
2747 @DomName('WebGLRenderingContext.stencilOpSeparate') 1632 @DomName('WebGLRenderingContext.stencilOpSeparate')
2748 @DocsEditable() 1633 @DocsEditable()
2749 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGLRenderingContext.stencilOpSeparate_Callback_ul_ul_ul_ul(this, face, fail, zfail, zpass); 1634 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGLRenderingContext.stencilOpSeparate_Callback_ul_ul_ul_ul(this, face, fail, zfail, zpass);
2750 1635
2751 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]) { 1636 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]) {
2752 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR _video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format _OR_width == null) && (internalformat is int || internalformat == null) && (leve l is int || level == null) && (target is int || target == null)) { 1637 if ((pixels is TypedData || pixels == null) && (type is int) && (format is i nt) && (border_OR_canvas_OR_image_OR_pixels_OR_video is int) && (height_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (level is int) && (target is int)) {
2753 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_long_long _long_ul_ul_ArrayBufferView(this, target, level, internalformat, format_OR_width , height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pi xels); 1638 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_long_long _long_ul_ul_ArrayBufferView(this, target, level, internalformat, format_OR_width , height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pi xels);
2754 return; 1639 return;
2755 } 1640 }
2756 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte rnalformat is int || internalformat == null) && (level is int || level == null) && (target is int || target == null) && format == null && type == null && pixels == null) { 1641 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int) && (forma t_OR_width is int) && (internalformat is int) && (level is int) && (target is in t) && format == null && type == null && pixels == null) {
2757 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_Ima geData(this, target, level, internalformat, format_OR_width, height_OR_type, bor der_OR_canvas_OR_image_OR_pixels_OR_video); 1642 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_Ima geData(this, target, level, internalformat, format_OR_width, height_OR_type, bor der_OR_canvas_OR_image_OR_pixels_OR_video);
2758 return; 1643 return;
2759 } 1644 }
2760 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i nternalformat is int || internalformat == null) && (level is int || level == nul l) && (target is int || target == null) && format == null && type == null && pix els == null) { 1645 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && (heigh t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev el is int) && (target is int) && format == null && type == null && pixels == nul l) {
2761 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_HTM LImageElement(this, target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 1646 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_HTM LImageElement(this, target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2762 return; 1647 return;
2763 } 1648 }
2764 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border _OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && ( internalformat is int || internalformat == null) && (level is int || level == nu ll) && (target is int || target == null) && format == null && type == null && pi xels == null) { 1649 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && (heig ht_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (le vel is int) && (target is int) && format == null && type == null && pixels == nu ll) {
2765 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_HTM LCanvasElement(this, target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video); 1650 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_HTM LCanvasElement(this, target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video);
2766 return; 1651 return;
2767 } 1652 }
2768 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i nternalformat is int || internalformat == null) && (level is int || level == nul l) && (target is int || target == null) && format == null && type == null && pix els == null) { 1653 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && (heigh t_OR_type is int) && (format_OR_width is int) && (internalformat is int) && (lev el is int) && (target is int) && format == null && type == null && pixels == nul l) {
2769 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_HTM LVideoElement(this, target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 1654 _blink.BlinkWebGLRenderingContext.texImage2D_Callback_ul_long_ul_ul_ul_HTM LVideoElement(this, target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2770 return; 1655 return;
2771 } 1656 }
2772 throw new ArgumentError("Incorrect number or type of arguments"); 1657 throw new ArgumentError("Incorrect number or type of arguments");
2773 } 1658 }
2774 1659
2775 @DomName('WebGLRenderingContext.texImage2DCanvas') 1660 @DomName('WebGLRenderingContext.texImage2DCanvas')
2776 @DocsEditable() 1661 @DocsEditable()
2777 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.texImage2D_C allback_ul_long_ul_ul_ul_HTMLCanvasElement(this, target, level, internalformat, format, type, canvas); 1662 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.texImage2D_C allback_ul_long_ul_ul_ul_HTMLCanvasElement(this, target, level, internalformat, format, type, canvas);
2778 1663
(...skipping 11 matching lines...) Expand all
2790 1675
2791 @DomName('WebGLRenderingContext.texParameterf') 1676 @DomName('WebGLRenderingContext.texParameterf')
2792 @DocsEditable() 1677 @DocsEditable()
2793 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende ringContext.texParameterf_Callback_ul_ul_float(this, target, pname, param); 1678 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende ringContext.texParameterf_Callback_ul_ul_float(this, target, pname, param);
2794 1679
2795 @DomName('WebGLRenderingContext.texParameteri') 1680 @DomName('WebGLRenderingContext.texParameteri')
2796 @DocsEditable() 1681 @DocsEditable()
2797 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende ringContext.texParameteri_Callback_ul_ul_long(this, target, pname, param); 1682 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende ringContext.texParameteri_Callback_ul_ul_long(this, target, pname, param);
2798 1683
2799 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]) { 1684 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]) {
2800 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_ image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null)) { 1685 if ((pixels is TypedData || pixels == null) && (type is int) && (canvas_OR_f ormat_OR_image_OR_pixels_OR_video is int) && (height_OR_type is int) && (format_ OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (t arget is int)) {
2801 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _long_long_ul_ul_ArrayBufferView(this, target, level, xoffset, yoffset, format_O R_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pix els); 1686 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _long_long_ul_ul_ArrayBufferView(this, target, level, xoffset, yoffset, format_O R_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pix els);
2802 return; 1687 return;
2803 } 1688 }
2804 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null) && type == null && pixels == null) { 1689 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int) && (forma t_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
2805 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _ul_ul_ImageData(this, target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 1690 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _ul_ul_ImageData(this, target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2806 return; 1691 return;
2807 } 1692 }
2808 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev el is int || level == null) && (target is int || target == null) && type == null && pixels == null) { 1693 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && (heigh t_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
2809 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _ul_ul_HTMLImageElement(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 1694 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _ul_ul_HTMLImageElement(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2810 return; 1695 return;
2811 } 1696 }
2812 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas _OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && ( yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (le vel is int || level == null) && (target is int || target == null) && type == nul l && pixels == null) { 1697 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && (heig ht_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset i s int) && (level is int) && (target is int) && type == null && pixels == null) {
2813 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _ul_ul_HTMLCanvasElement(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 1698 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _ul_ul_HTMLCanvasElement(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2814 return; 1699 return;
2815 } 1700 }
2816 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev el is int || level == null) && (target is int || target == null) && type == null && pixels == null) { 1701 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && (heigh t_OR_type is int) && (format_OR_width is int) && (yoffset is int) && (xoffset is int) && (level is int) && (target is int) && type == null && pixels == null) {
2817 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _ul_ul_HTMLVideoElement(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 1702 _blink.BlinkWebGLRenderingContext.texSubImage2D_Callback_ul_long_long_long _ul_ul_HTMLVideoElement(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2818 return; 1703 return;
2819 } 1704 }
2820 throw new ArgumentError("Incorrect number or type of arguments"); 1705 throw new ArgumentError("Incorrect number or type of arguments");
2821 } 1706 }
2822 1707
2823 @DomName('WebGLRenderingContext.texSubImage2DCanvas') 1708 @DomName('WebGLRenderingContext.texSubImage2DCanvas')
2824 @DocsEditable() 1709 @DocsEditable()
2825 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.tex SubImage2D_Callback_ul_long_long_long_ul_ul_HTMLCanvasElement(this, target, leve l, xoffset, yoffset, format, type, canvas); 1710 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContext.tex SubImage2D_Callback_ul_long_long_long_ul_ul_HTMLCanvasElement(this, target, leve l, xoffset, yoffset, format, type, canvas);
2826 1711
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
3016 */ 1901 */
3017 void texSubImage2DTyped(int targetTexture, int levelOfDetail, 1902 void texSubImage2DTyped(int targetTexture, int levelOfDetail,
3018 int xOffset, int yOffset, int width, int height, int format, 1903 int xOffset, int yOffset, int width, int height, int format,
3019 int type, TypedData data) { 1904 int type, TypedData data) {
3020 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset, 1905 texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
3021 width, height, format, type, data); 1906 width, height, format, type, data);
3022 } 1907 }
3023 } 1908 }
3024 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3025 // for details. All rights reserved. Use of this source code is governed by a 1910 // for details. All rights reserved. Use of this source code is governed by a
1911 // BSD-style license that can be found in the LICENSE file.
1912
1913 // WARNING: Do not edit - generated code.
1914
1915
1916 @DocsEditable()
1917 @DomName('WebGLRenderingContextBase')
1918 @Experimental() // untriaged
1919 abstract class RenderingContextBase extends NativeFieldWrapperClass2 {
1920 // To suppress missing implicit constructor warnings.
1921 factory RenderingContextBase._() { throw new UnsupportedError("Not supported") ; }
1922
1923 @DomName('WebGLRenderingContextBase.ACTIVE_ATTRIBUTES')
1924 @DocsEditable()
1925 @Experimental() // untriaged
1926 static const int ACTIVE_ATTRIBUTES = 0x8B89;
1927
1928 @DomName('WebGLRenderingContextBase.ACTIVE_TEXTURE')
1929 @DocsEditable()
1930 @Experimental() // untriaged
1931 static const int ACTIVE_TEXTURE = 0x84E0;
1932
1933 @DomName('WebGLRenderingContextBase.ACTIVE_UNIFORMS')
1934 @DocsEditable()
1935 @Experimental() // untriaged
1936 static const int ACTIVE_UNIFORMS = 0x8B86;
1937
1938 @DomName('WebGLRenderingContextBase.ALIASED_LINE_WIDTH_RANGE')
1939 @DocsEditable()
1940 @Experimental() // untriaged
1941 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E;
1942
1943 @DomName('WebGLRenderingContextBase.ALIASED_POINT_SIZE_RANGE')
1944 @DocsEditable()
1945 @Experimental() // untriaged
1946 static const int ALIASED_POINT_SIZE_RANGE = 0x846D;
1947
1948 @DomName('WebGLRenderingContextBase.ALPHA')
1949 @DocsEditable()
1950 @Experimental() // untriaged
1951 static const int ALPHA = 0x1906;
1952
1953 @DomName('WebGLRenderingContextBase.ALPHA_BITS')
1954 @DocsEditable()
1955 @Experimental() // untriaged
1956 static const int ALPHA_BITS = 0x0D55;
1957
1958 @DomName('WebGLRenderingContextBase.ALWAYS')
1959 @DocsEditable()
1960 @Experimental() // untriaged
1961 static const int ALWAYS = 0x0207;
1962
1963 @DomName('WebGLRenderingContextBase.ARRAY_BUFFER')
1964 @DocsEditable()
1965 @Experimental() // untriaged
1966 static const int ARRAY_BUFFER = 0x8892;
1967
1968 @DomName('WebGLRenderingContextBase.ARRAY_BUFFER_BINDING')
1969 @DocsEditable()
1970 @Experimental() // untriaged
1971 static const int ARRAY_BUFFER_BINDING = 0x8894;
1972
1973 @DomName('WebGLRenderingContextBase.ATTACHED_SHADERS')
1974 @DocsEditable()
1975 @Experimental() // untriaged
1976 static const int ATTACHED_SHADERS = 0x8B85;
1977
1978 @DomName('WebGLRenderingContextBase.BACK')
1979 @DocsEditable()
1980 @Experimental() // untriaged
1981 static const int BACK = 0x0405;
1982
1983 @DomName('WebGLRenderingContextBase.BLEND')
1984 @DocsEditable()
1985 @Experimental() // untriaged
1986 static const int BLEND = 0x0BE2;
1987
1988 @DomName('WebGLRenderingContextBase.BLEND_COLOR')
1989 @DocsEditable()
1990 @Experimental() // untriaged
1991 static const int BLEND_COLOR = 0x8005;
1992
1993 @DomName('WebGLRenderingContextBase.BLEND_DST_ALPHA')
1994 @DocsEditable()
1995 @Experimental() // untriaged
1996 static const int BLEND_DST_ALPHA = 0x80CA;
1997
1998 @DomName('WebGLRenderingContextBase.BLEND_DST_RGB')
1999 @DocsEditable()
2000 @Experimental() // untriaged
2001 static const int BLEND_DST_RGB = 0x80C8;
2002
2003 @DomName('WebGLRenderingContextBase.BLEND_EQUATION')
2004 @DocsEditable()
2005 @Experimental() // untriaged
2006 static const int BLEND_EQUATION = 0x8009;
2007
2008 @DomName('WebGLRenderingContextBase.BLEND_EQUATION_ALPHA')
2009 @DocsEditable()
2010 @Experimental() // untriaged
2011 static const int BLEND_EQUATION_ALPHA = 0x883D;
2012
2013 @DomName('WebGLRenderingContextBase.BLEND_EQUATION_RGB')
2014 @DocsEditable()
2015 @Experimental() // untriaged
2016 static const int BLEND_EQUATION_RGB = 0x8009;
2017
2018 @DomName('WebGLRenderingContextBase.BLEND_SRC_ALPHA')
2019 @DocsEditable()
2020 @Experimental() // untriaged
2021 static const int BLEND_SRC_ALPHA = 0x80CB;
2022
2023 @DomName('WebGLRenderingContextBase.BLEND_SRC_RGB')
2024 @DocsEditable()
2025 @Experimental() // untriaged
2026 static const int BLEND_SRC_RGB = 0x80C9;
2027
2028 @DomName('WebGLRenderingContextBase.BLUE_BITS')
2029 @DocsEditable()
2030 @Experimental() // untriaged
2031 static const int BLUE_BITS = 0x0D54;
2032
2033 @DomName('WebGLRenderingContextBase.BOOL')
2034 @DocsEditable()
2035 @Experimental() // untriaged
2036 static const int BOOL = 0x8B56;
2037
2038 @DomName('WebGLRenderingContextBase.BOOL_VEC2')
2039 @DocsEditable()
2040 @Experimental() // untriaged
2041 static const int BOOL_VEC2 = 0x8B57;
2042
2043 @DomName('WebGLRenderingContextBase.BOOL_VEC3')
2044 @DocsEditable()
2045 @Experimental() // untriaged
2046 static const int BOOL_VEC3 = 0x8B58;
2047
2048 @DomName('WebGLRenderingContextBase.BOOL_VEC4')
2049 @DocsEditable()
2050 @Experimental() // untriaged
2051 static const int BOOL_VEC4 = 0x8B59;
2052
2053 @DomName('WebGLRenderingContextBase.BROWSER_DEFAULT_WEBGL')
2054 @DocsEditable()
2055 @Experimental() // untriaged
2056 static const int BROWSER_DEFAULT_WEBGL = 0x9244;
2057
2058 @DomName('WebGLRenderingContextBase.BUFFER_SIZE')
2059 @DocsEditable()
2060 @Experimental() // untriaged
2061 static const int BUFFER_SIZE = 0x8764;
2062
2063 @DomName('WebGLRenderingContextBase.BUFFER_USAGE')
2064 @DocsEditable()
2065 @Experimental() // untriaged
2066 static const int BUFFER_USAGE = 0x8765;
2067
2068 @DomName('WebGLRenderingContextBase.BYTE')
2069 @DocsEditable()
2070 @Experimental() // untriaged
2071 static const int BYTE = 0x1400;
2072
2073 @DomName('WebGLRenderingContextBase.CCW')
2074 @DocsEditable()
2075 @Experimental() // untriaged
2076 static const int CCW = 0x0901;
2077
2078 @DomName('WebGLRenderingContextBase.CLAMP_TO_EDGE')
2079 @DocsEditable()
2080 @Experimental() // untriaged
2081 static const int CLAMP_TO_EDGE = 0x812F;
2082
2083 @DomName('WebGLRenderingContextBase.COLOR_ATTACHMENT0')
2084 @DocsEditable()
2085 @Experimental() // untriaged
2086 static const int COLOR_ATTACHMENT0 = 0x8CE0;
2087
2088 @DomName('WebGLRenderingContextBase.COLOR_BUFFER_BIT')
2089 @DocsEditable()
2090 @Experimental() // untriaged
2091 static const int COLOR_BUFFER_BIT = 0x00004000;
2092
2093 @DomName('WebGLRenderingContextBase.COLOR_CLEAR_VALUE')
2094 @DocsEditable()
2095 @Experimental() // untriaged
2096 static const int COLOR_CLEAR_VALUE = 0x0C22;
2097
2098 @DomName('WebGLRenderingContextBase.COLOR_WRITEMASK')
2099 @DocsEditable()
2100 @Experimental() // untriaged
2101 static const int COLOR_WRITEMASK = 0x0C23;
2102
2103 @DomName('WebGLRenderingContextBase.COMPILE_STATUS')
2104 @DocsEditable()
2105 @Experimental() // untriaged
2106 static const int COMPILE_STATUS = 0x8B81;
2107
2108 @DomName('WebGLRenderingContextBase.COMPRESSED_TEXTURE_FORMATS')
2109 @DocsEditable()
2110 @Experimental() // untriaged
2111 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
2112
2113 @DomName('WebGLRenderingContextBase.CONSTANT_ALPHA')
2114 @DocsEditable()
2115 @Experimental() // untriaged
2116 static const int CONSTANT_ALPHA = 0x8003;
2117
2118 @DomName('WebGLRenderingContextBase.CONSTANT_COLOR')
2119 @DocsEditable()
2120 @Experimental() // untriaged
2121 static const int CONSTANT_COLOR = 0x8001;
2122
2123 @DomName('WebGLRenderingContextBase.CONTEXT_LOST_WEBGL')
2124 @DocsEditable()
2125 @Experimental() // untriaged
2126 static const int CONTEXT_LOST_WEBGL = 0x9242;
2127
2128 @DomName('WebGLRenderingContextBase.CULL_FACE')
2129 @DocsEditable()
2130 @Experimental() // untriaged
2131 static const int CULL_FACE = 0x0B44;
2132
2133 @DomName('WebGLRenderingContextBase.CULL_FACE_MODE')
2134 @DocsEditable()
2135 @Experimental() // untriaged
2136 static const int CULL_FACE_MODE = 0x0B45;
2137
2138 @DomName('WebGLRenderingContextBase.CURRENT_PROGRAM')
2139 @DocsEditable()
2140 @Experimental() // untriaged
2141 static const int CURRENT_PROGRAM = 0x8B8D;
2142
2143 @DomName('WebGLRenderingContextBase.CURRENT_VERTEX_ATTRIB')
2144 @DocsEditable()
2145 @Experimental() // untriaged
2146 static const int CURRENT_VERTEX_ATTRIB = 0x8626;
2147
2148 @DomName('WebGLRenderingContextBase.CW')
2149 @DocsEditable()
2150 @Experimental() // untriaged
2151 static const int CW = 0x0900;
2152
2153 @DomName('WebGLRenderingContextBase.DECR')
2154 @DocsEditable()
2155 @Experimental() // untriaged
2156 static const int DECR = 0x1E03;
2157
2158 @DomName('WebGLRenderingContextBase.DECR_WRAP')
2159 @DocsEditable()
2160 @Experimental() // untriaged
2161 static const int DECR_WRAP = 0x8508;
2162
2163 @DomName('WebGLRenderingContextBase.DELETE_STATUS')
2164 @DocsEditable()
2165 @Experimental() // untriaged
2166 static const int DELETE_STATUS = 0x8B80;
2167
2168 @DomName('WebGLRenderingContextBase.DEPTH_ATTACHMENT')
2169 @DocsEditable()
2170 @Experimental() // untriaged
2171 static const int DEPTH_ATTACHMENT = 0x8D00;
2172
2173 @DomName('WebGLRenderingContextBase.DEPTH_BITS')
2174 @DocsEditable()
2175 @Experimental() // untriaged
2176 static const int DEPTH_BITS = 0x0D56;
2177
2178 @DomName('WebGLRenderingContextBase.DEPTH_BUFFER_BIT')
2179 @DocsEditable()
2180 @Experimental() // untriaged
2181 static const int DEPTH_BUFFER_BIT = 0x00000100;
2182
2183 @DomName('WebGLRenderingContextBase.DEPTH_CLEAR_VALUE')
2184 @DocsEditable()
2185 @Experimental() // untriaged
2186 static const int DEPTH_CLEAR_VALUE = 0x0B73;
2187
2188 @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT')
2189 @DocsEditable()
2190 @Experimental() // untriaged
2191 static const int DEPTH_COMPONENT = 0x1902;
2192
2193 @DomName('WebGLRenderingContextBase.DEPTH_COMPONENT16')
2194 @DocsEditable()
2195 @Experimental() // untriaged
2196 static const int DEPTH_COMPONENT16 = 0x81A5;
2197
2198 @DomName('WebGLRenderingContextBase.DEPTH_FUNC')
2199 @DocsEditable()
2200 @Experimental() // untriaged
2201 static const int DEPTH_FUNC = 0x0B74;
2202
2203 @DomName('WebGLRenderingContextBase.DEPTH_RANGE')
2204 @DocsEditable()
2205 @Experimental() // untriaged
2206 static const int DEPTH_RANGE = 0x0B70;
2207
2208 @DomName('WebGLRenderingContextBase.DEPTH_STENCIL')
2209 @DocsEditable()
2210 @Experimental() // untriaged
2211 static const int DEPTH_STENCIL = 0x84F9;
2212
2213 @DomName('WebGLRenderingContextBase.DEPTH_STENCIL_ATTACHMENT')
2214 @DocsEditable()
2215 @Experimental() // untriaged
2216 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A;
2217
2218 @DomName('WebGLRenderingContextBase.DEPTH_TEST')
2219 @DocsEditable()
2220 @Experimental() // untriaged
2221 static const int DEPTH_TEST = 0x0B71;
2222
2223 @DomName('WebGLRenderingContextBase.DEPTH_WRITEMASK')
2224 @DocsEditable()
2225 @Experimental() // untriaged
2226 static const int DEPTH_WRITEMASK = 0x0B72;
2227
2228 @DomName('WebGLRenderingContextBase.DITHER')
2229 @DocsEditable()
2230 @Experimental() // untriaged
2231 static const int DITHER = 0x0BD0;
2232
2233 @DomName('WebGLRenderingContextBase.DONT_CARE')
2234 @DocsEditable()
2235 @Experimental() // untriaged
2236 static const int DONT_CARE = 0x1100;
2237
2238 @DomName('WebGLRenderingContextBase.DST_ALPHA')
2239 @DocsEditable()
2240 @Experimental() // untriaged
2241 static const int DST_ALPHA = 0x0304;
2242
2243 @DomName('WebGLRenderingContextBase.DST_COLOR')
2244 @DocsEditable()
2245 @Experimental() // untriaged
2246 static const int DST_COLOR = 0x0306;
2247
2248 @DomName('WebGLRenderingContextBase.DYNAMIC_DRAW')
2249 @DocsEditable()
2250 @Experimental() // untriaged
2251 static const int DYNAMIC_DRAW = 0x88E8;
2252
2253 @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER')
2254 @DocsEditable()
2255 @Experimental() // untriaged
2256 static const int ELEMENT_ARRAY_BUFFER = 0x8893;
2257
2258 @DomName('WebGLRenderingContextBase.ELEMENT_ARRAY_BUFFER_BINDING')
2259 @DocsEditable()
2260 @Experimental() // untriaged
2261 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
2262
2263 @DomName('WebGLRenderingContextBase.EQUAL')
2264 @DocsEditable()
2265 @Experimental() // untriaged
2266 static const int EQUAL = 0x0202;
2267
2268 @DomName('WebGLRenderingContextBase.FASTEST')
2269 @DocsEditable()
2270 @Experimental() // untriaged
2271 static const int FASTEST = 0x1101;
2272
2273 @DomName('WebGLRenderingContextBase.FLOAT')
2274 @DocsEditable()
2275 @Experimental() // untriaged
2276 static const int FLOAT = 0x1406;
2277
2278 @DomName('WebGLRenderingContextBase.FLOAT_MAT2')
2279 @DocsEditable()
2280 @Experimental() // untriaged
2281 static const int FLOAT_MAT2 = 0x8B5A;
2282
2283 @DomName('WebGLRenderingContextBase.FLOAT_MAT3')
2284 @DocsEditable()
2285 @Experimental() // untriaged
2286 static const int FLOAT_MAT3 = 0x8B5B;
2287
2288 @DomName('WebGLRenderingContextBase.FLOAT_MAT4')
2289 @DocsEditable()
2290 @Experimental() // untriaged
2291 static const int FLOAT_MAT4 = 0x8B5C;
2292
2293 @DomName('WebGLRenderingContextBase.FLOAT_VEC2')
2294 @DocsEditable()
2295 @Experimental() // untriaged
2296 static const int FLOAT_VEC2 = 0x8B50;
2297
2298 @DomName('WebGLRenderingContextBase.FLOAT_VEC3')
2299 @DocsEditable()
2300 @Experimental() // untriaged
2301 static const int FLOAT_VEC3 = 0x8B51;
2302
2303 @DomName('WebGLRenderingContextBase.FLOAT_VEC4')
2304 @DocsEditable()
2305 @Experimental() // untriaged
2306 static const int FLOAT_VEC4 = 0x8B52;
2307
2308 @DomName('WebGLRenderingContextBase.FRAGMENT_SHADER')
2309 @DocsEditable()
2310 @Experimental() // untriaged
2311 static const int FRAGMENT_SHADER = 0x8B30;
2312
2313 @DomName('WebGLRenderingContextBase.FRAMEBUFFER')
2314 @DocsEditable()
2315 @Experimental() // untriaged
2316 static const int FRAMEBUFFER = 0x8D40;
2317
2318 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME')
2319 @DocsEditable()
2320 @Experimental() // untriaged
2321 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
2322
2323 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE')
2324 @DocsEditable()
2325 @Experimental() // untriaged
2326 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
2327
2328 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FA CE')
2329 @DocsEditable()
2330 @Experimental() // untriaged
2331 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
2332
2333 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL')
2334 @DocsEditable()
2335 @Experimental() // untriaged
2336 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
2337
2338 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_BINDING')
2339 @DocsEditable()
2340 @Experimental() // untriaged
2341 static const int FRAMEBUFFER_BINDING = 0x8CA6;
2342
2343 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_COMPLETE')
2344 @DocsEditable()
2345 @Experimental() // untriaged
2346 static const int FRAMEBUFFER_COMPLETE = 0x8CD5;
2347
2348 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_ATTACHMENT')
2349 @DocsEditable()
2350 @Experimental() // untriaged
2351 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
2352
2353 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_DIMENSIONS')
2354 @DocsEditable()
2355 @Experimental() // untriaged
2356 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
2357
2358 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT' )
2359 @DocsEditable()
2360 @Experimental() // untriaged
2361 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
2362
2363 @DomName('WebGLRenderingContextBase.FRAMEBUFFER_UNSUPPORTED')
2364 @DocsEditable()
2365 @Experimental() // untriaged
2366 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
2367
2368 @DomName('WebGLRenderingContextBase.FRONT')
2369 @DocsEditable()
2370 @Experimental() // untriaged
2371 static const int FRONT = 0x0404;
2372
2373 @DomName('WebGLRenderingContextBase.FRONT_AND_BACK')
2374 @DocsEditable()
2375 @Experimental() // untriaged
2376 static const int FRONT_AND_BACK = 0x0408;
2377
2378 @DomName('WebGLRenderingContextBase.FRONT_FACE')
2379 @DocsEditable()
2380 @Experimental() // untriaged
2381 static const int FRONT_FACE = 0x0B46;
2382
2383 @DomName('WebGLRenderingContextBase.FUNC_ADD')
2384 @DocsEditable()
2385 @Experimental() // untriaged
2386 static const int FUNC_ADD = 0x8006;
2387
2388 @DomName('WebGLRenderingContextBase.FUNC_REVERSE_SUBTRACT')
2389 @DocsEditable()
2390 @Experimental() // untriaged
2391 static const int FUNC_REVERSE_SUBTRACT = 0x800B;
2392
2393 @DomName('WebGLRenderingContextBase.FUNC_SUBTRACT')
2394 @DocsEditable()
2395 @Experimental() // untriaged
2396 static const int FUNC_SUBTRACT = 0x800A;
2397
2398 @DomName('WebGLRenderingContextBase.GENERATE_MIPMAP_HINT')
2399 @DocsEditable()
2400 @Experimental() // untriaged
2401 static const int GENERATE_MIPMAP_HINT = 0x8192;
2402
2403 @DomName('WebGLRenderingContextBase.GEQUAL')
2404 @DocsEditable()
2405 @Experimental() // untriaged
2406 static const int GEQUAL = 0x0206;
2407
2408 @DomName('WebGLRenderingContextBase.GREATER')
2409 @DocsEditable()
2410 @Experimental() // untriaged
2411 static const int GREATER = 0x0204;
2412
2413 @DomName('WebGLRenderingContextBase.GREEN_BITS')
2414 @DocsEditable()
2415 @Experimental() // untriaged
2416 static const int GREEN_BITS = 0x0D53;
2417
2418 @DomName('WebGLRenderingContextBase.HIGH_FLOAT')
2419 @DocsEditable()
2420 @Experimental() // untriaged
2421 static const int HIGH_FLOAT = 0x8DF2;
2422
2423 @DomName('WebGLRenderingContextBase.HIGH_INT')
2424 @DocsEditable()
2425 @Experimental() // untriaged
2426 static const int HIGH_INT = 0x8DF5;
2427
2428 @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_FORMAT')
2429 @DocsEditable()
2430 @Experimental() // untriaged
2431 static const int IMPLEMENTATION_COLOR_READ_FORMAT = 0x8B9B;
2432
2433 @DomName('WebGLRenderingContextBase.IMPLEMENTATION_COLOR_READ_TYPE')
2434 @DocsEditable()
2435 @Experimental() // untriaged
2436 static const int IMPLEMENTATION_COLOR_READ_TYPE = 0x8B9A;
2437
2438 @DomName('WebGLRenderingContextBase.INCR')
2439 @DocsEditable()
2440 @Experimental() // untriaged
2441 static const int INCR = 0x1E02;
2442
2443 @DomName('WebGLRenderingContextBase.INCR_WRAP')
2444 @DocsEditable()
2445 @Experimental() // untriaged
2446 static const int INCR_WRAP = 0x8507;
2447
2448 @DomName('WebGLRenderingContextBase.INT')
2449 @DocsEditable()
2450 @Experimental() // untriaged
2451 static const int INT = 0x1404;
2452
2453 @DomName('WebGLRenderingContextBase.INT_VEC2')
2454 @DocsEditable()
2455 @Experimental() // untriaged
2456 static const int INT_VEC2 = 0x8B53;
2457
2458 @DomName('WebGLRenderingContextBase.INT_VEC3')
2459 @DocsEditable()
2460 @Experimental() // untriaged
2461 static const int INT_VEC3 = 0x8B54;
2462
2463 @DomName('WebGLRenderingContextBase.INT_VEC4')
2464 @DocsEditable()
2465 @Experimental() // untriaged
2466 static const int INT_VEC4 = 0x8B55;
2467
2468 @DomName('WebGLRenderingContextBase.INVALID_ENUM')
2469 @DocsEditable()
2470 @Experimental() // untriaged
2471 static const int INVALID_ENUM = 0x0500;
2472
2473 @DomName('WebGLRenderingContextBase.INVALID_FRAMEBUFFER_OPERATION')
2474 @DocsEditable()
2475 @Experimental() // untriaged
2476 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
2477
2478 @DomName('WebGLRenderingContextBase.INVALID_OPERATION')
2479 @DocsEditable()
2480 @Experimental() // untriaged
2481 static const int INVALID_OPERATION = 0x0502;
2482
2483 @DomName('WebGLRenderingContextBase.INVALID_VALUE')
2484 @DocsEditable()
2485 @Experimental() // untriaged
2486 static const int INVALID_VALUE = 0x0501;
2487
2488 @DomName('WebGLRenderingContextBase.INVERT')
2489 @DocsEditable()
2490 @Experimental() // untriaged
2491 static const int INVERT = 0x150A;
2492
2493 @DomName('WebGLRenderingContextBase.KEEP')
2494 @DocsEditable()
2495 @Experimental() // untriaged
2496 static const int KEEP = 0x1E00;
2497
2498 @DomName('WebGLRenderingContextBase.LEQUAL')
2499 @DocsEditable()
2500 @Experimental() // untriaged
2501 static const int LEQUAL = 0x0203;
2502
2503 @DomName('WebGLRenderingContextBase.LESS')
2504 @DocsEditable()
2505 @Experimental() // untriaged
2506 static const int LESS = 0x0201;
2507
2508 @DomName('WebGLRenderingContextBase.LINEAR')
2509 @DocsEditable()
2510 @Experimental() // untriaged
2511 static const int LINEAR = 0x2601;
2512
2513 @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_LINEAR')
2514 @DocsEditable()
2515 @Experimental() // untriaged
2516 static const int LINEAR_MIPMAP_LINEAR = 0x2703;
2517
2518 @DomName('WebGLRenderingContextBase.LINEAR_MIPMAP_NEAREST')
2519 @DocsEditable()
2520 @Experimental() // untriaged
2521 static const int LINEAR_MIPMAP_NEAREST = 0x2701;
2522
2523 @DomName('WebGLRenderingContextBase.LINES')
2524 @DocsEditable()
2525 @Experimental() // untriaged
2526 static const int LINES = 0x0001;
2527
2528 @DomName('WebGLRenderingContextBase.LINE_LOOP')
2529 @DocsEditable()
2530 @Experimental() // untriaged
2531 static const int LINE_LOOP = 0x0002;
2532
2533 @DomName('WebGLRenderingContextBase.LINE_STRIP')
2534 @DocsEditable()
2535 @Experimental() // untriaged
2536 static const int LINE_STRIP = 0x0003;
2537
2538 @DomName('WebGLRenderingContextBase.LINE_WIDTH')
2539 @DocsEditable()
2540 @Experimental() // untriaged
2541 static const int LINE_WIDTH = 0x0B21;
2542
2543 @DomName('WebGLRenderingContextBase.LINK_STATUS')
2544 @DocsEditable()
2545 @Experimental() // untriaged
2546 static const int LINK_STATUS = 0x8B82;
2547
2548 @DomName('WebGLRenderingContextBase.LOW_FLOAT')
2549 @DocsEditable()
2550 @Experimental() // untriaged
2551 static const int LOW_FLOAT = 0x8DF0;
2552
2553 @DomName('WebGLRenderingContextBase.LOW_INT')
2554 @DocsEditable()
2555 @Experimental() // untriaged
2556 static const int LOW_INT = 0x8DF3;
2557
2558 @DomName('WebGLRenderingContextBase.LUMINANCE')
2559 @DocsEditable()
2560 @Experimental() // untriaged
2561 static const int LUMINANCE = 0x1909;
2562
2563 @DomName('WebGLRenderingContextBase.LUMINANCE_ALPHA')
2564 @DocsEditable()
2565 @Experimental() // untriaged
2566 static const int LUMINANCE_ALPHA = 0x190A;
2567
2568 @DomName('WebGLRenderingContextBase.MAX_COMBINED_TEXTURE_IMAGE_UNITS')
2569 @DocsEditable()
2570 @Experimental() // untriaged
2571 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
2572
2573 @DomName('WebGLRenderingContextBase.MAX_CUBE_MAP_TEXTURE_SIZE')
2574 @DocsEditable()
2575 @Experimental() // untriaged
2576 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
2577
2578 @DomName('WebGLRenderingContextBase.MAX_FRAGMENT_UNIFORM_VECTORS')
2579 @DocsEditable()
2580 @Experimental() // untriaged
2581 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
2582
2583 @DomName('WebGLRenderingContextBase.MAX_RENDERBUFFER_SIZE')
2584 @DocsEditable()
2585 @Experimental() // untriaged
2586 static const int MAX_RENDERBUFFER_SIZE = 0x84E8;
2587
2588 @DomName('WebGLRenderingContextBase.MAX_TEXTURE_IMAGE_UNITS')
2589 @DocsEditable()
2590 @Experimental() // untriaged
2591 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
2592
2593 @DomName('WebGLRenderingContextBase.MAX_TEXTURE_SIZE')
2594 @DocsEditable()
2595 @Experimental() // untriaged
2596 static const int MAX_TEXTURE_SIZE = 0x0D33;
2597
2598 @DomName('WebGLRenderingContextBase.MAX_VARYING_VECTORS')
2599 @DocsEditable()
2600 @Experimental() // untriaged
2601 static const int MAX_VARYING_VECTORS = 0x8DFC;
2602
2603 @DomName('WebGLRenderingContextBase.MAX_VERTEX_ATTRIBS')
2604 @DocsEditable()
2605 @Experimental() // untriaged
2606 static const int MAX_VERTEX_ATTRIBS = 0x8869;
2607
2608 @DomName('WebGLRenderingContextBase.MAX_VERTEX_TEXTURE_IMAGE_UNITS')
2609 @DocsEditable()
2610 @Experimental() // untriaged
2611 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
2612
2613 @DomName('WebGLRenderingContextBase.MAX_VERTEX_UNIFORM_VECTORS')
2614 @DocsEditable()
2615 @Experimental() // untriaged
2616 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
2617
2618 @DomName('WebGLRenderingContextBase.MAX_VIEWPORT_DIMS')
2619 @DocsEditable()
2620 @Experimental() // untriaged
2621 static const int MAX_VIEWPORT_DIMS = 0x0D3A;
2622
2623 @DomName('WebGLRenderingContextBase.MEDIUM_FLOAT')
2624 @DocsEditable()
2625 @Experimental() // untriaged
2626 static const int MEDIUM_FLOAT = 0x8DF1;
2627
2628 @DomName('WebGLRenderingContextBase.MEDIUM_INT')
2629 @DocsEditable()
2630 @Experimental() // untriaged
2631 static const int MEDIUM_INT = 0x8DF4;
2632
2633 @DomName('WebGLRenderingContextBase.MIRRORED_REPEAT')
2634 @DocsEditable()
2635 @Experimental() // untriaged
2636 static const int MIRRORED_REPEAT = 0x8370;
2637
2638 @DomName('WebGLRenderingContextBase.NEAREST')
2639 @DocsEditable()
2640 @Experimental() // untriaged
2641 static const int NEAREST = 0x2600;
2642
2643 @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_LINEAR')
2644 @DocsEditable()
2645 @Experimental() // untriaged
2646 static const int NEAREST_MIPMAP_LINEAR = 0x2702;
2647
2648 @DomName('WebGLRenderingContextBase.NEAREST_MIPMAP_NEAREST')
2649 @DocsEditable()
2650 @Experimental() // untriaged
2651 static const int NEAREST_MIPMAP_NEAREST = 0x2700;
2652
2653 @DomName('WebGLRenderingContextBase.NEVER')
2654 @DocsEditable()
2655 @Experimental() // untriaged
2656 static const int NEVER = 0x0200;
2657
2658 @DomName('WebGLRenderingContextBase.NICEST')
2659 @DocsEditable()
2660 @Experimental() // untriaged
2661 static const int NICEST = 0x1102;
2662
2663 @DomName('WebGLRenderingContextBase.NONE')
2664 @DocsEditable()
2665 @Experimental() // untriaged
2666 static const int NONE = 0;
2667
2668 @DomName('WebGLRenderingContextBase.NOTEQUAL')
2669 @DocsEditable()
2670 @Experimental() // untriaged
2671 static const int NOTEQUAL = 0x0205;
2672
2673 @DomName('WebGLRenderingContextBase.NO_ERROR')
2674 @DocsEditable()
2675 @Experimental() // untriaged
2676 static const int NO_ERROR = 0;
2677
2678 @DomName('WebGLRenderingContextBase.ONE')
2679 @DocsEditable()
2680 @Experimental() // untriaged
2681 static const int ONE = 1;
2682
2683 @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_ALPHA')
2684 @DocsEditable()
2685 @Experimental() // untriaged
2686 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
2687
2688 @DomName('WebGLRenderingContextBase.ONE_MINUS_CONSTANT_COLOR')
2689 @DocsEditable()
2690 @Experimental() // untriaged
2691 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002;
2692
2693 @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_ALPHA')
2694 @DocsEditable()
2695 @Experimental() // untriaged
2696 static const int ONE_MINUS_DST_ALPHA = 0x0305;
2697
2698 @DomName('WebGLRenderingContextBase.ONE_MINUS_DST_COLOR')
2699 @DocsEditable()
2700 @Experimental() // untriaged
2701 static const int ONE_MINUS_DST_COLOR = 0x0307;
2702
2703 @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_ALPHA')
2704 @DocsEditable()
2705 @Experimental() // untriaged
2706 static const int ONE_MINUS_SRC_ALPHA = 0x0303;
2707
2708 @DomName('WebGLRenderingContextBase.ONE_MINUS_SRC_COLOR')
2709 @DocsEditable()
2710 @Experimental() // untriaged
2711 static const int ONE_MINUS_SRC_COLOR = 0x0301;
2712
2713 @DomName('WebGLRenderingContextBase.OUT_OF_MEMORY')
2714 @DocsEditable()
2715 @Experimental() // untriaged
2716 static const int OUT_OF_MEMORY = 0x0505;
2717
2718 @DomName('WebGLRenderingContextBase.PACK_ALIGNMENT')
2719 @DocsEditable()
2720 @Experimental() // untriaged
2721 static const int PACK_ALIGNMENT = 0x0D05;
2722
2723 @DomName('WebGLRenderingContextBase.POINTS')
2724 @DocsEditable()
2725 @Experimental() // untriaged
2726 static const int POINTS = 0x0000;
2727
2728 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FACTOR')
2729 @DocsEditable()
2730 @Experimental() // untriaged
2731 static const int POLYGON_OFFSET_FACTOR = 0x8038;
2732
2733 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_FILL')
2734 @DocsEditable()
2735 @Experimental() // untriaged
2736 static const int POLYGON_OFFSET_FILL = 0x8037;
2737
2738 @DomName('WebGLRenderingContextBase.POLYGON_OFFSET_UNITS')
2739 @DocsEditable()
2740 @Experimental() // untriaged
2741 static const int POLYGON_OFFSET_UNITS = 0x2A00;
2742
2743 @DomName('WebGLRenderingContextBase.RED_BITS')
2744 @DocsEditable()
2745 @Experimental() // untriaged
2746 static const int RED_BITS = 0x0D52;
2747
2748 @DomName('WebGLRenderingContextBase.RENDERBUFFER')
2749 @DocsEditable()
2750 @Experimental() // untriaged
2751 static const int RENDERBUFFER = 0x8D41;
2752
2753 @DomName('WebGLRenderingContextBase.RENDERBUFFER_ALPHA_SIZE')
2754 @DocsEditable()
2755 @Experimental() // untriaged
2756 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
2757
2758 @DomName('WebGLRenderingContextBase.RENDERBUFFER_BINDING')
2759 @DocsEditable()
2760 @Experimental() // untriaged
2761 static const int RENDERBUFFER_BINDING = 0x8CA7;
2762
2763 @DomName('WebGLRenderingContextBase.RENDERBUFFER_BLUE_SIZE')
2764 @DocsEditable()
2765 @Experimental() // untriaged
2766 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52;
2767
2768 @DomName('WebGLRenderingContextBase.RENDERBUFFER_DEPTH_SIZE')
2769 @DocsEditable()
2770 @Experimental() // untriaged
2771 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
2772
2773 @DomName('WebGLRenderingContextBase.RENDERBUFFER_GREEN_SIZE')
2774 @DocsEditable()
2775 @Experimental() // untriaged
2776 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51;
2777
2778 @DomName('WebGLRenderingContextBase.RENDERBUFFER_HEIGHT')
2779 @DocsEditable()
2780 @Experimental() // untriaged
2781 static const int RENDERBUFFER_HEIGHT = 0x8D43;
2782
2783 @DomName('WebGLRenderingContextBase.RENDERBUFFER_INTERNAL_FORMAT')
2784 @DocsEditable()
2785 @Experimental() // untriaged
2786 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
2787
2788 @DomName('WebGLRenderingContextBase.RENDERBUFFER_RED_SIZE')
2789 @DocsEditable()
2790 @Experimental() // untriaged
2791 static const int RENDERBUFFER_RED_SIZE = 0x8D50;
2792
2793 @DomName('WebGLRenderingContextBase.RENDERBUFFER_STENCIL_SIZE')
2794 @DocsEditable()
2795 @Experimental() // untriaged
2796 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
2797
2798 @DomName('WebGLRenderingContextBase.RENDERBUFFER_WIDTH')
2799 @DocsEditable()
2800 @Experimental() // untriaged
2801 static const int RENDERBUFFER_WIDTH = 0x8D42;
2802
2803 @DomName('WebGLRenderingContextBase.RENDERER')
2804 @DocsEditable()
2805 @Experimental() // untriaged
2806 static const int RENDERER = 0x1F01;
2807
2808 @DomName('WebGLRenderingContextBase.REPEAT')
2809 @DocsEditable()
2810 @Experimental() // untriaged
2811 static const int REPEAT = 0x2901;
2812
2813 @DomName('WebGLRenderingContextBase.REPLACE')
2814 @DocsEditable()
2815 @Experimental() // untriaged
2816 static const int REPLACE = 0x1E01;
2817
2818 @DomName('WebGLRenderingContextBase.RGB')
2819 @DocsEditable()
2820 @Experimental() // untriaged
2821 static const int RGB = 0x1907;
2822
2823 @DomName('WebGLRenderingContextBase.RGB565')
2824 @DocsEditable()
2825 @Experimental() // untriaged
2826 static const int RGB565 = 0x8D62;
2827
2828 @DomName('WebGLRenderingContextBase.RGB5_A1')
2829 @DocsEditable()
2830 @Experimental() // untriaged
2831 static const int RGB5_A1 = 0x8057;
2832
2833 @DomName('WebGLRenderingContextBase.RGBA')
2834 @DocsEditable()
2835 @Experimental() // untriaged
2836 static const int RGBA = 0x1908;
2837
2838 @DomName('WebGLRenderingContextBase.RGBA4')
2839 @DocsEditable()
2840 @Experimental() // untriaged
2841 static const int RGBA4 = 0x8056;
2842
2843 @DomName('WebGLRenderingContextBase.SAMPLER_2D')
2844 @DocsEditable()
2845 @Experimental() // untriaged
2846 static const int SAMPLER_2D = 0x8B5E;
2847
2848 @DomName('WebGLRenderingContextBase.SAMPLER_CUBE')
2849 @DocsEditable()
2850 @Experimental() // untriaged
2851 static const int SAMPLER_CUBE = 0x8B60;
2852
2853 @DomName('WebGLRenderingContextBase.SAMPLES')
2854 @DocsEditable()
2855 @Experimental() // untriaged
2856 static const int SAMPLES = 0x80A9;
2857
2858 @DomName('WebGLRenderingContextBase.SAMPLE_ALPHA_TO_COVERAGE')
2859 @DocsEditable()
2860 @Experimental() // untriaged
2861 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
2862
2863 @DomName('WebGLRenderingContextBase.SAMPLE_BUFFERS')
2864 @DocsEditable()
2865 @Experimental() // untriaged
2866 static const int SAMPLE_BUFFERS = 0x80A8;
2867
2868 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE')
2869 @DocsEditable()
2870 @Experimental() // untriaged
2871 static const int SAMPLE_COVERAGE = 0x80A0;
2872
2873 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_INVERT')
2874 @DocsEditable()
2875 @Experimental() // untriaged
2876 static const int SAMPLE_COVERAGE_INVERT = 0x80AB;
2877
2878 @DomName('WebGLRenderingContextBase.SAMPLE_COVERAGE_VALUE')
2879 @DocsEditable()
2880 @Experimental() // untriaged
2881 static const int SAMPLE_COVERAGE_VALUE = 0x80AA;
2882
2883 @DomName('WebGLRenderingContextBase.SCISSOR_BOX')
2884 @DocsEditable()
2885 @Experimental() // untriaged
2886 static const int SCISSOR_BOX = 0x0C10;
2887
2888 @DomName('WebGLRenderingContextBase.SCISSOR_TEST')
2889 @DocsEditable()
2890 @Experimental() // untriaged
2891 static const int SCISSOR_TEST = 0x0C11;
2892
2893 @DomName('WebGLRenderingContextBase.SHADER_TYPE')
2894 @DocsEditable()
2895 @Experimental() // untriaged
2896 static const int SHADER_TYPE = 0x8B4F;
2897
2898 @DomName('WebGLRenderingContextBase.SHADING_LANGUAGE_VERSION')
2899 @DocsEditable()
2900 @Experimental() // untriaged
2901 static const int SHADING_LANGUAGE_VERSION = 0x8B8C;
2902
2903 @DomName('WebGLRenderingContextBase.SHORT')
2904 @DocsEditable()
2905 @Experimental() // untriaged
2906 static const int SHORT = 0x1402;
2907
2908 @DomName('WebGLRenderingContextBase.SRC_ALPHA')
2909 @DocsEditable()
2910 @Experimental() // untriaged
2911 static const int SRC_ALPHA = 0x0302;
2912
2913 @DomName('WebGLRenderingContextBase.SRC_ALPHA_SATURATE')
2914 @DocsEditable()
2915 @Experimental() // untriaged
2916 static const int SRC_ALPHA_SATURATE = 0x0308;
2917
2918 @DomName('WebGLRenderingContextBase.SRC_COLOR')
2919 @DocsEditable()
2920 @Experimental() // untriaged
2921 static const int SRC_COLOR = 0x0300;
2922
2923 @DomName('WebGLRenderingContextBase.STATIC_DRAW')
2924 @DocsEditable()
2925 @Experimental() // untriaged
2926 static const int STATIC_DRAW = 0x88E4;
2927
2928 @DomName('WebGLRenderingContextBase.STENCIL_ATTACHMENT')
2929 @DocsEditable()
2930 @Experimental() // untriaged
2931 static const int STENCIL_ATTACHMENT = 0x8D20;
2932
2933 @DomName('WebGLRenderingContextBase.STENCIL_BACK_FAIL')
2934 @DocsEditable()
2935 @Experimental() // untriaged
2936 static const int STENCIL_BACK_FAIL = 0x8801;
2937
2938 @DomName('WebGLRenderingContextBase.STENCIL_BACK_FUNC')
2939 @DocsEditable()
2940 @Experimental() // untriaged
2941 static const int STENCIL_BACK_FUNC = 0x8800;
2942
2943 @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_FAIL')
2944 @DocsEditable()
2945 @Experimental() // untriaged
2946 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
2947
2948 @DomName('WebGLRenderingContextBase.STENCIL_BACK_PASS_DEPTH_PASS')
2949 @DocsEditable()
2950 @Experimental() // untriaged
2951 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
2952
2953 @DomName('WebGLRenderingContextBase.STENCIL_BACK_REF')
2954 @DocsEditable()
2955 @Experimental() // untriaged
2956 static const int STENCIL_BACK_REF = 0x8CA3;
2957
2958 @DomName('WebGLRenderingContextBase.STENCIL_BACK_VALUE_MASK')
2959 @DocsEditable()
2960 @Experimental() // untriaged
2961 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4;
2962
2963 @DomName('WebGLRenderingContextBase.STENCIL_BACK_WRITEMASK')
2964 @DocsEditable()
2965 @Experimental() // untriaged
2966 static const int STENCIL_BACK_WRITEMASK = 0x8CA5;
2967
2968 @DomName('WebGLRenderingContextBase.STENCIL_BITS')
2969 @DocsEditable()
2970 @Experimental() // untriaged
2971 static const int STENCIL_BITS = 0x0D57;
2972
2973 @DomName('WebGLRenderingContextBase.STENCIL_BUFFER_BIT')
2974 @DocsEditable()
2975 @Experimental() // untriaged
2976 static const int STENCIL_BUFFER_BIT = 0x00000400;
2977
2978 @DomName('WebGLRenderingContextBase.STENCIL_CLEAR_VALUE')
2979 @DocsEditable()
2980 @Experimental() // untriaged
2981 static const int STENCIL_CLEAR_VALUE = 0x0B91;
2982
2983 @DomName('WebGLRenderingContextBase.STENCIL_FAIL')
2984 @DocsEditable()
2985 @Experimental() // untriaged
2986 static const int STENCIL_FAIL = 0x0B94;
2987
2988 @DomName('WebGLRenderingContextBase.STENCIL_FUNC')
2989 @DocsEditable()
2990 @Experimental() // untriaged
2991 static const int STENCIL_FUNC = 0x0B92;
2992
2993 @DomName('WebGLRenderingContextBase.STENCIL_INDEX')
2994 @DocsEditable()
2995 @Experimental() // untriaged
2996 static const int STENCIL_INDEX = 0x1901;
2997
2998 @DomName('WebGLRenderingContextBase.STENCIL_INDEX8')
2999 @DocsEditable()
3000 @Experimental() // untriaged
3001 static const int STENCIL_INDEX8 = 0x8D48;
3002
3003 @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_FAIL')
3004 @DocsEditable()
3005 @Experimental() // untriaged
3006 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
3007
3008 @DomName('WebGLRenderingContextBase.STENCIL_PASS_DEPTH_PASS')
3009 @DocsEditable()
3010 @Experimental() // untriaged
3011 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96;
3012
3013 @DomName('WebGLRenderingContextBase.STENCIL_REF')
3014 @DocsEditable()
3015 @Experimental() // untriaged
3016 static const int STENCIL_REF = 0x0B97;
3017
3018 @DomName('WebGLRenderingContextBase.STENCIL_TEST')
3019 @DocsEditable()
3020 @Experimental() // untriaged
3021 static const int STENCIL_TEST = 0x0B90;
3022
3023 @DomName('WebGLRenderingContextBase.STENCIL_VALUE_MASK')
3024 @DocsEditable()
3025 @Experimental() // untriaged
3026 static const int STENCIL_VALUE_MASK = 0x0B93;
3027
3028 @DomName('WebGLRenderingContextBase.STENCIL_WRITEMASK')
3029 @DocsEditable()
3030 @Experimental() // untriaged
3031 static const int STENCIL_WRITEMASK = 0x0B98;
3032
3033 @DomName('WebGLRenderingContextBase.STREAM_DRAW')
3034 @DocsEditable()
3035 @Experimental() // untriaged
3036 static const int STREAM_DRAW = 0x88E0;
3037
3038 @DomName('WebGLRenderingContextBase.SUBPIXEL_BITS')
3039 @DocsEditable()
3040 @Experimental() // untriaged
3041 static const int SUBPIXEL_BITS = 0x0D50;
3042
3043 @DomName('WebGLRenderingContextBase.TEXTURE')
3044 @DocsEditable()
3045 @Experimental() // untriaged
3046 static const int TEXTURE = 0x1702;
3047
3048 @DomName('WebGLRenderingContextBase.TEXTURE0')
3049 @DocsEditable()
3050 @Experimental() // untriaged
3051 static const int TEXTURE0 = 0x84C0;
3052
3053 @DomName('WebGLRenderingContextBase.TEXTURE1')
3054 @DocsEditable()
3055 @Experimental() // untriaged
3056 static const int TEXTURE1 = 0x84C1;
3057
3058 @DomName('WebGLRenderingContextBase.TEXTURE10')
3059 @DocsEditable()
3060 @Experimental() // untriaged
3061 static const int TEXTURE10 = 0x84CA;
3062
3063 @DomName('WebGLRenderingContextBase.TEXTURE11')
3064 @DocsEditable()
3065 @Experimental() // untriaged
3066 static const int TEXTURE11 = 0x84CB;
3067
3068 @DomName('WebGLRenderingContextBase.TEXTURE12')
3069 @DocsEditable()
3070 @Experimental() // untriaged
3071 static const int TEXTURE12 = 0x84CC;
3072
3073 @DomName('WebGLRenderingContextBase.TEXTURE13')
3074 @DocsEditable()
3075 @Experimental() // untriaged
3076 static const int TEXTURE13 = 0x84CD;
3077
3078 @DomName('WebGLRenderingContextBase.TEXTURE14')
3079 @DocsEditable()
3080 @Experimental() // untriaged
3081 static const int TEXTURE14 = 0x84CE;
3082
3083 @DomName('WebGLRenderingContextBase.TEXTURE15')
3084 @DocsEditable()
3085 @Experimental() // untriaged
3086 static const int TEXTURE15 = 0x84CF;
3087
3088 @DomName('WebGLRenderingContextBase.TEXTURE16')
3089 @DocsEditable()
3090 @Experimental() // untriaged
3091 static const int TEXTURE16 = 0x84D0;
3092
3093 @DomName('WebGLRenderingContextBase.TEXTURE17')
3094 @DocsEditable()
3095 @Experimental() // untriaged
3096 static const int TEXTURE17 = 0x84D1;
3097
3098 @DomName('WebGLRenderingContextBase.TEXTURE18')
3099 @DocsEditable()
3100 @Experimental() // untriaged
3101 static const int TEXTURE18 = 0x84D2;
3102
3103 @DomName('WebGLRenderingContextBase.TEXTURE19')
3104 @DocsEditable()
3105 @Experimental() // untriaged
3106 static const int TEXTURE19 = 0x84D3;
3107
3108 @DomName('WebGLRenderingContextBase.TEXTURE2')
3109 @DocsEditable()
3110 @Experimental() // untriaged
3111 static const int TEXTURE2 = 0x84C2;
3112
3113 @DomName('WebGLRenderingContextBase.TEXTURE20')
3114 @DocsEditable()
3115 @Experimental() // untriaged
3116 static const int TEXTURE20 = 0x84D4;
3117
3118 @DomName('WebGLRenderingContextBase.TEXTURE21')
3119 @DocsEditable()
3120 @Experimental() // untriaged
3121 static const int TEXTURE21 = 0x84D5;
3122
3123 @DomName('WebGLRenderingContextBase.TEXTURE22')
3124 @DocsEditable()
3125 @Experimental() // untriaged
3126 static const int TEXTURE22 = 0x84D6;
3127
3128 @DomName('WebGLRenderingContextBase.TEXTURE23')
3129 @DocsEditable()
3130 @Experimental() // untriaged
3131 static const int TEXTURE23 = 0x84D7;
3132
3133 @DomName('WebGLRenderingContextBase.TEXTURE24')
3134 @DocsEditable()
3135 @Experimental() // untriaged
3136 static const int TEXTURE24 = 0x84D8;
3137
3138 @DomName('WebGLRenderingContextBase.TEXTURE25')
3139 @DocsEditable()
3140 @Experimental() // untriaged
3141 static const int TEXTURE25 = 0x84D9;
3142
3143 @DomName('WebGLRenderingContextBase.TEXTURE26')
3144 @DocsEditable()
3145 @Experimental() // untriaged
3146 static const int TEXTURE26 = 0x84DA;
3147
3148 @DomName('WebGLRenderingContextBase.TEXTURE27')
3149 @DocsEditable()
3150 @Experimental() // untriaged
3151 static const int TEXTURE27 = 0x84DB;
3152
3153 @DomName('WebGLRenderingContextBase.TEXTURE28')
3154 @DocsEditable()
3155 @Experimental() // untriaged
3156 static const int TEXTURE28 = 0x84DC;
3157
3158 @DomName('WebGLRenderingContextBase.TEXTURE29')
3159 @DocsEditable()
3160 @Experimental() // untriaged
3161 static const int TEXTURE29 = 0x84DD;
3162
3163 @DomName('WebGLRenderingContextBase.TEXTURE3')
3164 @DocsEditable()
3165 @Experimental() // untriaged
3166 static const int TEXTURE3 = 0x84C3;
3167
3168 @DomName('WebGLRenderingContextBase.TEXTURE30')
3169 @DocsEditable()
3170 @Experimental() // untriaged
3171 static const int TEXTURE30 = 0x84DE;
3172
3173 @DomName('WebGLRenderingContextBase.TEXTURE31')
3174 @DocsEditable()
3175 @Experimental() // untriaged
3176 static const int TEXTURE31 = 0x84DF;
3177
3178 @DomName('WebGLRenderingContextBase.TEXTURE4')
3179 @DocsEditable()
3180 @Experimental() // untriaged
3181 static const int TEXTURE4 = 0x84C4;
3182
3183 @DomName('WebGLRenderingContextBase.TEXTURE5')
3184 @DocsEditable()
3185 @Experimental() // untriaged
3186 static const int TEXTURE5 = 0x84C5;
3187
3188 @DomName('WebGLRenderingContextBase.TEXTURE6')
3189 @DocsEditable()
3190 @Experimental() // untriaged
3191 static const int TEXTURE6 = 0x84C6;
3192
3193 @DomName('WebGLRenderingContextBase.TEXTURE7')
3194 @DocsEditable()
3195 @Experimental() // untriaged
3196 static const int TEXTURE7 = 0x84C7;
3197
3198 @DomName('WebGLRenderingContextBase.TEXTURE8')
3199 @DocsEditable()
3200 @Experimental() // untriaged
3201 static const int TEXTURE8 = 0x84C8;
3202
3203 @DomName('WebGLRenderingContextBase.TEXTURE9')
3204 @DocsEditable()
3205 @Experimental() // untriaged
3206 static const int TEXTURE9 = 0x84C9;
3207
3208 @DomName('WebGLRenderingContextBase.TEXTURE_2D')
3209 @DocsEditable()
3210 @Experimental() // untriaged
3211 static const int TEXTURE_2D = 0x0DE1;
3212
3213 @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_2D')
3214 @DocsEditable()
3215 @Experimental() // untriaged
3216 static const int TEXTURE_BINDING_2D = 0x8069;
3217
3218 @DomName('WebGLRenderingContextBase.TEXTURE_BINDING_CUBE_MAP')
3219 @DocsEditable()
3220 @Experimental() // untriaged
3221 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514;
3222
3223 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP')
3224 @DocsEditable()
3225 @Experimental() // untriaged
3226 static const int TEXTURE_CUBE_MAP = 0x8513;
3227
3228 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_X')
3229 @DocsEditable()
3230 @Experimental() // untriaged
3231 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
3232
3233 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Y')
3234 @DocsEditable()
3235 @Experimental() // untriaged
3236 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
3237
3238 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_NEGATIVE_Z')
3239 @DocsEditable()
3240 @Experimental() // untriaged
3241 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
3242
3243 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_X')
3244 @DocsEditable()
3245 @Experimental() // untriaged
3246 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
3247
3248 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Y')
3249 @DocsEditable()
3250 @Experimental() // untriaged
3251 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
3252
3253 @DomName('WebGLRenderingContextBase.TEXTURE_CUBE_MAP_POSITIVE_Z')
3254 @DocsEditable()
3255 @Experimental() // untriaged
3256 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
3257
3258 @DomName('WebGLRenderingContextBase.TEXTURE_MAG_FILTER')
3259 @DocsEditable()
3260 @Experimental() // untriaged
3261 static const int TEXTURE_MAG_FILTER = 0x2800;
3262
3263 @DomName('WebGLRenderingContextBase.TEXTURE_MIN_FILTER')
3264 @DocsEditable()
3265 @Experimental() // untriaged
3266 static const int TEXTURE_MIN_FILTER = 0x2801;
3267
3268 @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_S')
3269 @DocsEditable()
3270 @Experimental() // untriaged
3271 static const int TEXTURE_WRAP_S = 0x2802;
3272
3273 @DomName('WebGLRenderingContextBase.TEXTURE_WRAP_T')
3274 @DocsEditable()
3275 @Experimental() // untriaged
3276 static const int TEXTURE_WRAP_T = 0x2803;
3277
3278 @DomName('WebGLRenderingContextBase.TRIANGLES')
3279 @DocsEditable()
3280 @Experimental() // untriaged
3281 static const int TRIANGLES = 0x0004;
3282
3283 @DomName('WebGLRenderingContextBase.TRIANGLE_FAN')
3284 @DocsEditable()
3285 @Experimental() // untriaged
3286 static const int TRIANGLE_FAN = 0x0006;
3287
3288 @DomName('WebGLRenderingContextBase.TRIANGLE_STRIP')
3289 @DocsEditable()
3290 @Experimental() // untriaged
3291 static const int TRIANGLE_STRIP = 0x0005;
3292
3293 @DomName('WebGLRenderingContextBase.UNPACK_ALIGNMENT')
3294 @DocsEditable()
3295 @Experimental() // untriaged
3296 static const int UNPACK_ALIGNMENT = 0x0CF5;
3297
3298 @DomName('WebGLRenderingContextBase.UNPACK_COLORSPACE_CONVERSION_WEBGL')
3299 @DocsEditable()
3300 @Experimental() // untriaged
3301 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
3302
3303 @DomName('WebGLRenderingContextBase.UNPACK_FLIP_Y_WEBGL')
3304 @DocsEditable()
3305 @Experimental() // untriaged
3306 static const int UNPACK_FLIP_Y_WEBGL = 0x9240;
3307
3308 @DomName('WebGLRenderingContextBase.UNPACK_PREMULTIPLY_ALPHA_WEBGL')
3309 @DocsEditable()
3310 @Experimental() // untriaged
3311 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
3312
3313 @DomName('WebGLRenderingContextBase.UNSIGNED_BYTE')
3314 @DocsEditable()
3315 @Experimental() // untriaged
3316 static const int UNSIGNED_BYTE = 0x1401;
3317
3318 @DomName('WebGLRenderingContextBase.UNSIGNED_INT')
3319 @DocsEditable()
3320 @Experimental() // untriaged
3321 static const int UNSIGNED_INT = 0x1405;
3322
3323 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT')
3324 @DocsEditable()
3325 @Experimental() // untriaged
3326 static const int UNSIGNED_SHORT = 0x1403;
3327
3328 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_4_4_4_4')
3329 @DocsEditable()
3330 @Experimental() // untriaged
3331 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
3332
3333 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_5_5_1')
3334 @DocsEditable()
3335 @Experimental() // untriaged
3336 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
3337
3338 @DomName('WebGLRenderingContextBase.UNSIGNED_SHORT_5_6_5')
3339 @DocsEditable()
3340 @Experimental() // untriaged
3341 static const int UNSIGNED_SHORT_5_6_5 = 0x8363;
3342
3343 @DomName('WebGLRenderingContextBase.VALIDATE_STATUS')
3344 @DocsEditable()
3345 @Experimental() // untriaged
3346 static const int VALIDATE_STATUS = 0x8B83;
3347
3348 @DomName('WebGLRenderingContextBase.VENDOR')
3349 @DocsEditable()
3350 @Experimental() // untriaged
3351 static const int VENDOR = 0x1F00;
3352
3353 @DomName('WebGLRenderingContextBase.VERSION')
3354 @DocsEditable()
3355 @Experimental() // untriaged
3356 static const int VERSION = 0x1F02;
3357
3358 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING')
3359 @DocsEditable()
3360 @Experimental() // untriaged
3361 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
3362
3363 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_ENABLED')
3364 @DocsEditable()
3365 @Experimental() // untriaged
3366 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
3367
3368 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_NORMALIZED')
3369 @DocsEditable()
3370 @Experimental() // untriaged
3371 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
3372
3373 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_POINTER')
3374 @DocsEditable()
3375 @Experimental() // untriaged
3376 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
3377
3378 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_SIZE')
3379 @DocsEditable()
3380 @Experimental() // untriaged
3381 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
3382
3383 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_STRIDE')
3384 @DocsEditable()
3385 @Experimental() // untriaged
3386 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
3387
3388 @DomName('WebGLRenderingContextBase.VERTEX_ATTRIB_ARRAY_TYPE')
3389 @DocsEditable()
3390 @Experimental() // untriaged
3391 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
3392
3393 @DomName('WebGLRenderingContextBase.VERTEX_SHADER')
3394 @DocsEditable()
3395 @Experimental() // untriaged
3396 static const int VERTEX_SHADER = 0x8B31;
3397
3398 @DomName('WebGLRenderingContextBase.VIEWPORT')
3399 @DocsEditable()
3400 @Experimental() // untriaged
3401 static const int VIEWPORT = 0x0BA2;
3402
3403 @DomName('WebGLRenderingContextBase.ZERO')
3404 @DocsEditable()
3405 @Experimental() // untriaged
3406 static const int ZERO = 0;
3407
3408 @DomName('WebGLRenderingContextBase.canvas')
3409 @DocsEditable()
3410 @Experimental() // untriaged
3411 CanvasElement get canvas => _blink.BlinkWebGLRenderingContextBase.canvas_Gette r(this);
3412
3413 @DomName('WebGLRenderingContextBase.drawingBufferHeight')
3414 @DocsEditable()
3415 @Experimental() // untriaged
3416 int get drawingBufferHeight => _blink.BlinkWebGLRenderingContextBase.drawingBu fferHeight_Getter(this);
3417
3418 @DomName('WebGLRenderingContextBase.drawingBufferWidth')
3419 @DocsEditable()
3420 @Experimental() // untriaged
3421 int get drawingBufferWidth => _blink.BlinkWebGLRenderingContextBase.drawingBuf ferWidth_Getter(this);
3422
3423 @DomName('WebGLRenderingContextBase.activeTexture')
3424 @DocsEditable()
3425 @Experimental() // untriaged
3426 void activeTexture(int texture) => _blink.BlinkWebGLRenderingContextBase.activ eTexture_Callback_ul(this, texture);
3427
3428 @DomName('WebGLRenderingContextBase.attachShader')
3429 @DocsEditable()
3430 @Experimental() // untriaged
3431 void attachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContextBase.attachShader_Callback_WebGLProgram_WebGLShader(this, program, shade r);
3432
3433 @DomName('WebGLRenderingContextBase.bindAttribLocation')
3434 @DocsEditable()
3435 @Experimental() // untriaged
3436 void bindAttribLocation(Program program, int index, String name) => _blink.Bli nkWebGLRenderingContextBase.bindAttribLocation_Callback_WebGLProgram_ul_DOMStrin g(this, program, index, name);
3437
3438 @DomName('WebGLRenderingContextBase.bindBuffer')
3439 @DocsEditable()
3440 @Experimental() // untriaged
3441 void bindBuffer(int target, Buffer buffer) => _blink.BlinkWebGLRenderingContex tBase.bindBuffer_Callback_ul_WebGLBuffer(this, target, buffer);
3442
3443 @DomName('WebGLRenderingContextBase.bindFramebuffer')
3444 @DocsEditable()
3445 @Experimental() // untriaged
3446 void bindFramebuffer(int target, Framebuffer framebuffer) => _blink.BlinkWebGL RenderingContextBase.bindFramebuffer_Callback_ul_WebGLFramebuffer(this, target, framebuffer);
3447
3448 @DomName('WebGLRenderingContextBase.bindRenderbuffer')
3449 @DocsEditable()
3450 @Experimental() // untriaged
3451 void bindRenderbuffer(int target, Renderbuffer renderbuffer) => _blink.BlinkWe bGLRenderingContextBase.bindRenderbuffer_Callback_ul_WebGLRenderbuffer(this, tar get, renderbuffer);
3452
3453 @DomName('WebGLRenderingContextBase.bindTexture')
3454 @DocsEditable()
3455 @Experimental() // untriaged
3456 void bindTexture(int target, Texture texture) => _blink.BlinkWebGLRenderingCon textBase.bindTexture_Callback_ul_WebGLTexture(this, target, texture);
3457
3458 @DomName('WebGLRenderingContextBase.blendColor')
3459 @DocsEditable()
3460 @Experimental() // untriaged
3461 void blendColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContextBase.blendColor_Callback_float_float_float_float(this, red, green , blue, alpha);
3462
3463 @DomName('WebGLRenderingContextBase.blendEquation')
3464 @DocsEditable()
3465 @Experimental() // untriaged
3466 void blendEquation(int mode) => _blink.BlinkWebGLRenderingContextBase.blendEqu ation_Callback_ul(this, mode);
3467
3468 @DomName('WebGLRenderingContextBase.blendEquationSeparate')
3469 @DocsEditable()
3470 @Experimental() // untriaged
3471 void blendEquationSeparate(int modeRGB, int modeAlpha) => _blink.BlinkWebGLRen deringContextBase.blendEquationSeparate_Callback_ul_ul(this, modeRGB, modeAlpha) ;
3472
3473 @DomName('WebGLRenderingContextBase.blendFunc')
3474 @DocsEditable()
3475 @Experimental() // untriaged
3476 void blendFunc(int sfactor, int dfactor) => _blink.BlinkWebGLRenderingContextB ase.blendFunc_Callback_ul_ul(this, sfactor, dfactor);
3477
3478 @DomName('WebGLRenderingContextBase.blendFuncSeparate')
3479 @DocsEditable()
3480 @Experimental() // untriaged
3481 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.BlinkWebGLRenderingContextBase.blendFuncSeparate_Callback_ul_ul_ul_ul(thi s, srcRGB, dstRGB, srcAlpha, dstAlpha);
3482
3483 @DomName('WebGLRenderingContextBase.bufferByteData')
3484 @DocsEditable()
3485 @Experimental() // untriaged
3486 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.BlinkWeb GLRenderingContextBase.bufferData_Callback_ul_ArrayBuffer_ul(this, target, data, usage);
3487
3488 void bufferData(int target, data_OR_size, int usage) {
3489 if ((usage is int || usage == null) && (data_OR_size is int || data_OR_size == null) && (target is int || target == null)) {
3490 _blink.BlinkWebGLRenderingContextBase.bufferData_Callback_ul_ll_ul(this, t arget, data_OR_size, usage);
3491 return;
3492 }
3493 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR _size == null) && (target is int || target == null)) {
3494 _blink.BlinkWebGLRenderingContextBase.bufferData_Callback_ul_ArrayBufferVi ew_ul(this, target, data_OR_size, usage);
3495 return;
3496 }
3497 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O R_size == null) && (target is int || target == null)) {
3498 _blink.BlinkWebGLRenderingContextBase.bufferData_Callback_ul_ArrayBuffer_u l(this, target, data_OR_size, usage);
3499 return;
3500 }
3501 throw new ArgumentError("Incorrect number or type of arguments");
3502 }
3503
3504 @DomName('WebGLRenderingContextBase.bufferDataTyped')
3505 @DocsEditable()
3506 @Experimental() // untriaged
3507 void bufferDataTyped(int target, TypedData data, int usage) => _blink.BlinkWeb GLRenderingContextBase.bufferData_Callback_ul_ArrayBufferView_ul(this, target, d ata, usage);
3508
3509 @DomName('WebGLRenderingContextBase.bufferSubByteData')
3510 @DocsEditable()
3511 @Experimental() // untriaged
3512 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Blin kWebGLRenderingContextBase.bufferSubData_Callback_ul_ll_ArrayBuffer(this, target , offset, data);
3513
3514 void bufferSubData(int target, int offset, data) {
3515 if ((data is TypedData || data == null) && (offset is int || offset == null) && (target is int || target == null)) {
3516 _blink.BlinkWebGLRenderingContextBase.bufferSubData_Callback_ul_ll_ArrayBu fferView(this, target, offset, data);
3517 return;
3518 }
3519 if ((data is ByteBuffer || data == null) && (offset is int || offset == null ) && (target is int || target == null)) {
3520 _blink.BlinkWebGLRenderingContextBase.bufferSubData_Callback_ul_ll_ArrayBu ffer(this, target, offset, data);
3521 return;
3522 }
3523 throw new ArgumentError("Incorrect number or type of arguments");
3524 }
3525
3526 @DomName('WebGLRenderingContextBase.bufferSubDataTyped')
3527 @DocsEditable()
3528 @Experimental() // untriaged
3529 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Blin kWebGLRenderingContextBase.bufferSubData_Callback_ul_ll_ArrayBufferView(this, ta rget, offset, data);
3530
3531 @DomName('WebGLRenderingContextBase.checkFramebufferStatus')
3532 @DocsEditable()
3533 @Experimental() // untriaged
3534 int checkFramebufferStatus(int target) => _blink.BlinkWebGLRenderingContextBas e.checkFramebufferStatus_Callback_ul(this, target);
3535
3536 @DomName('WebGLRenderingContextBase.clear')
3537 @DocsEditable()
3538 @Experimental() // untriaged
3539 void clear(int mask) => _blink.BlinkWebGLRenderingContextBase.clear_Callback_u l(this, mask);
3540
3541 @DomName('WebGLRenderingContextBase.clearColor')
3542 @DocsEditable()
3543 @Experimental() // untriaged
3544 void clearColor(num red, num green, num blue, num alpha) => _blink.BlinkWebGLR enderingContextBase.clearColor_Callback_float_float_float_float(this, red, green , blue, alpha);
3545
3546 @DomName('WebGLRenderingContextBase.clearDepth')
3547 @DocsEditable()
3548 @Experimental() // untriaged
3549 void clearDepth(num depth) => _blink.BlinkWebGLRenderingContextBase.clearDepth _Callback_float(this, depth);
3550
3551 @DomName('WebGLRenderingContextBase.clearStencil')
3552 @DocsEditable()
3553 @Experimental() // untriaged
3554 void clearStencil(int s) => _blink.BlinkWebGLRenderingContextBase.clearStencil _Callback_long(this, s);
3555
3556 @DomName('WebGLRenderingContextBase.colorMask')
3557 @DocsEditable()
3558 @Experimental() // untriaged
3559 void colorMask(bool red, bool green, bool blue, bool alpha) => _blink.BlinkWeb GLRenderingContextBase.colorMask_Callback_boolean_boolean_boolean_boolean(this, red, green, blue, alpha);
3560
3561 @DomName('WebGLRenderingContextBase.compileShader')
3562 @DocsEditable()
3563 @Experimental() // untriaged
3564 void compileShader(Shader shader) => _blink.BlinkWebGLRenderingContextBase.com pileShader_Callback_WebGLShader(this, shader);
3565
3566 @DomName('WebGLRenderingContextBase.compressedTexImage2D')
3567 @DocsEditable()
3568 @Experimental() // untriaged
3569 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) => _blink.BlinkWebGLRenderingContextBa se.compressedTexImage2D_Callback_ul_long_ul_long_long_long_ArrayBufferView(this, target, level, internalformat, width, height, border, data);
3570
3571 @DomName('WebGLRenderingContextBase.compressedTexSubImage2D')
3572 @DocsEditable()
3573 @Experimental() // untriaged
3574 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) => _blink.BlinkWebGLRendering ContextBase.compressedTexSubImage2D_Callback_ul_long_long_long_long_long_ul_Arra yBufferView(this, target, level, xoffset, yoffset, width, height, format, data);
3575
3576 @DomName('WebGLRenderingContextBase.copyTexImage2D')
3577 @DocsEditable()
3578 @Experimental() // untriaged
3579 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) => _blink.BlinkWebGLRenderingContextBase.copyT exImage2D_Callback_ul_long_ul_long_long_long_long_long(this, target, level, inte rnalformat, x, y, width, height, border);
3580
3581 @DomName('WebGLRenderingContextBase.copyTexSubImage2D')
3582 @DocsEditable()
3583 @Experimental() // untriaged
3584 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) => _blink.BlinkWebGLRenderingContextBase.copyTexS ubImage2D_Callback_ul_long_long_long_long_long_long_long(this, target, level, xo ffset, yoffset, x, y, width, height);
3585
3586 @DomName('WebGLRenderingContextBase.createBuffer')
3587 @DocsEditable()
3588 @Experimental() // untriaged
3589 Buffer createBuffer() => _blink.BlinkWebGLRenderingContextBase.createBuffer_Ca llback(this);
3590
3591 @DomName('WebGLRenderingContextBase.createFramebuffer')
3592 @DocsEditable()
3593 @Experimental() // untriaged
3594 Framebuffer createFramebuffer() => _blink.BlinkWebGLRenderingContextBase.creat eFramebuffer_Callback(this);
3595
3596 @DomName('WebGLRenderingContextBase.createProgram')
3597 @DocsEditable()
3598 @Experimental() // untriaged
3599 Program createProgram() => _blink.BlinkWebGLRenderingContextBase.createProgram _Callback(this);
3600
3601 @DomName('WebGLRenderingContextBase.createRenderbuffer')
3602 @DocsEditable()
3603 @Experimental() // untriaged
3604 Renderbuffer createRenderbuffer() => _blink.BlinkWebGLRenderingContextBase.cre ateRenderbuffer_Callback(this);
3605
3606 @DomName('WebGLRenderingContextBase.createShader')
3607 @DocsEditable()
3608 @Experimental() // untriaged
3609 Shader createShader(int type) => _blink.BlinkWebGLRenderingContextBase.createS hader_Callback_ul(this, type);
3610
3611 @DomName('WebGLRenderingContextBase.createTexture')
3612 @DocsEditable()
3613 @Experimental() // untriaged
3614 Texture createTexture() => _blink.BlinkWebGLRenderingContextBase.createTexture _Callback(this);
3615
3616 @DomName('WebGLRenderingContextBase.cullFace')
3617 @DocsEditable()
3618 @Experimental() // untriaged
3619 void cullFace(int mode) => _blink.BlinkWebGLRenderingContextBase.cullFace_Call back_ul(this, mode);
3620
3621 @DomName('WebGLRenderingContextBase.deleteBuffer')
3622 @DocsEditable()
3623 @Experimental() // untriaged
3624 void deleteBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContextBase.dele teBuffer_Callback_WebGLBuffer(this, buffer);
3625
3626 @DomName('WebGLRenderingContextBase.deleteFramebuffer')
3627 @DocsEditable()
3628 @Experimental() // untriaged
3629 void deleteFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingC ontextBase.deleteFramebuffer_Callback_WebGLFramebuffer(this, framebuffer);
3630
3631 @DomName('WebGLRenderingContextBase.deleteProgram')
3632 @DocsEditable()
3633 @Experimental() // untriaged
3634 void deleteProgram(Program program) => _blink.BlinkWebGLRenderingContextBase.d eleteProgram_Callback_WebGLProgram(this, program);
3635
3636 @DomName('WebGLRenderingContextBase.deleteRenderbuffer')
3637 @DocsEditable()
3638 @Experimental() // untriaged
3639 void deleteRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderi ngContextBase.deleteRenderbuffer_Callback_WebGLRenderbuffer(this, renderbuffer);
3640
3641 @DomName('WebGLRenderingContextBase.deleteShader')
3642 @DocsEditable()
3643 @Experimental() // untriaged
3644 void deleteShader(Shader shader) => _blink.BlinkWebGLRenderingContextBase.dele teShader_Callback_WebGLShader(this, shader);
3645
3646 @DomName('WebGLRenderingContextBase.deleteTexture')
3647 @DocsEditable()
3648 @Experimental() // untriaged
3649 void deleteTexture(Texture texture) => _blink.BlinkWebGLRenderingContextBase.d eleteTexture_Callback_WebGLTexture(this, texture);
3650
3651 @DomName('WebGLRenderingContextBase.depthFunc')
3652 @DocsEditable()
3653 @Experimental() // untriaged
3654 void depthFunc(int func) => _blink.BlinkWebGLRenderingContextBase.depthFunc_Ca llback_ul(this, func);
3655
3656 @DomName('WebGLRenderingContextBase.depthMask')
3657 @DocsEditable()
3658 @Experimental() // untriaged
3659 void depthMask(bool flag) => _blink.BlinkWebGLRenderingContextBase.depthMask_C allback_boolean(this, flag);
3660
3661 @DomName('WebGLRenderingContextBase.depthRange')
3662 @DocsEditable()
3663 @Experimental() // untriaged
3664 void depthRange(num zNear, num zFar) => _blink.BlinkWebGLRenderingContextBase. depthRange_Callback_float_float(this, zNear, zFar);
3665
3666 @DomName('WebGLRenderingContextBase.detachShader')
3667 @DocsEditable()
3668 @Experimental() // untriaged
3669 void detachShader(Program program, Shader shader) => _blink.BlinkWebGLRenderin gContextBase.detachShader_Callback_WebGLProgram_WebGLShader(this, program, shade r);
3670
3671 @DomName('WebGLRenderingContextBase.disable')
3672 @DocsEditable()
3673 @Experimental() // untriaged
3674 void disable(int cap) => _blink.BlinkWebGLRenderingContextBase.disable_Callbac k_ul(this, cap);
3675
3676 @DomName('WebGLRenderingContextBase.disableVertexAttribArray')
3677 @DocsEditable()
3678 @Experimental() // untriaged
3679 void disableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContextB ase.disableVertexAttribArray_Callback_ul(this, index);
3680
3681 @DomName('WebGLRenderingContextBase.drawArrays')
3682 @DocsEditable()
3683 @Experimental() // untriaged
3684 void drawArrays(int mode, int first, int count) => _blink.BlinkWebGLRenderingC ontextBase.drawArrays_Callback_ul_long_long(this, mode, first, count);
3685
3686 @DomName('WebGLRenderingContextBase.drawElements')
3687 @DocsEditable()
3688 @Experimental() // untriaged
3689 void drawElements(int mode, int count, int type, int offset) => _blink.BlinkWe bGLRenderingContextBase.drawElements_Callback_ul_long_ul_ll(this, mode, count, t ype, offset);
3690
3691 @DomName('WebGLRenderingContextBase.enable')
3692 @DocsEditable()
3693 @Experimental() // untriaged
3694 void enable(int cap) => _blink.BlinkWebGLRenderingContextBase.enable_Callback_ ul(this, cap);
3695
3696 @DomName('WebGLRenderingContextBase.enableVertexAttribArray')
3697 @DocsEditable()
3698 @Experimental() // untriaged
3699 void enableVertexAttribArray(int index) => _blink.BlinkWebGLRenderingContextBa se.enableVertexAttribArray_Callback_ul(this, index);
3700
3701 @DomName('WebGLRenderingContextBase.finish')
3702 @DocsEditable()
3703 @Experimental() // untriaged
3704 void finish() => _blink.BlinkWebGLRenderingContextBase.finish_Callback(this);
3705
3706 @DomName('WebGLRenderingContextBase.flush')
3707 @DocsEditable()
3708 @Experimental() // untriaged
3709 void flush() => _blink.BlinkWebGLRenderingContextBase.flush_Callback(this);
3710
3711 @DomName('WebGLRenderingContextBase.framebufferRenderbuffer')
3712 @DocsEditable()
3713 @Experimental() // untriaged
3714 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingContextBase.framebuff erRenderbuffer_Callback_ul_ul_ul_WebGLRenderbuffer(this, target, attachment, ren derbuffertarget, renderbuffer);
3715
3716 @DomName('WebGLRenderingContextBase.framebufferTexture2D')
3717 @DocsEditable()
3718 @Experimental() // untriaged
3719 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) => _blink.BlinkWebGLRenderingContextBase.framebufferTexture2D _Callback_ul_ul_ul_WebGLTexture_long(this, target, attachment, textarget, textur e, level);
3720
3721 @DomName('WebGLRenderingContextBase.frontFace')
3722 @DocsEditable()
3723 @Experimental() // untriaged
3724 void frontFace(int mode) => _blink.BlinkWebGLRenderingContextBase.frontFace_Ca llback_ul(this, mode);
3725
3726 @DomName('WebGLRenderingContextBase.generateMipmap')
3727 @DocsEditable()
3728 @Experimental() // untriaged
3729 void generateMipmap(int target) => _blink.BlinkWebGLRenderingContextBase.gener ateMipmap_Callback_ul(this, target);
3730
3731 @DomName('WebGLRenderingContextBase.getActiveAttrib')
3732 @DocsEditable()
3733 @Experimental() // untriaged
3734 ActiveInfo getActiveAttrib(Program program, int index) => _blink.BlinkWebGLRen deringContextBase.getActiveAttrib_Callback_WebGLProgram_ul(this, program, index) ;
3735
3736 @DomName('WebGLRenderingContextBase.getActiveUniform')
3737 @DocsEditable()
3738 @Experimental() // untriaged
3739 ActiveInfo getActiveUniform(Program program, int index) => _blink.BlinkWebGLRe nderingContextBase.getActiveUniform_Callback_WebGLProgram_ul(this, program, inde x);
3740
3741 @DomName('WebGLRenderingContextBase.getAttachedShaders')
3742 @DocsEditable()
3743 @Experimental() // untriaged
3744 void getAttachedShaders(Program program) => _blink.BlinkWebGLRenderingContextB ase.getAttachedShaders_Callback_WebGLProgram(this, program);
3745
3746 @DomName('WebGLRenderingContextBase.getAttribLocation')
3747 @DocsEditable()
3748 @Experimental() // untriaged
3749 int getAttribLocation(Program program, String name) => _blink.BlinkWebGLRender ingContextBase.getAttribLocation_Callback_WebGLProgram_DOMString(this, program, name);
3750
3751 @DomName('WebGLRenderingContextBase.getBufferParameter')
3752 @DocsEditable()
3753 @Experimental() // untriaged
3754 Object getBufferParameter(int target, int pname) => _blink.BlinkWebGLRendering ContextBase.getBufferParameter_Callback_ul_ul(this, target, pname);
3755
3756 @DomName('WebGLRenderingContextBase.getContextAttributes')
3757 @DocsEditable()
3758 @Experimental() // untriaged
3759 ContextAttributes getContextAttributes() => _blink.BlinkWebGLRenderingContextB ase.getContextAttributes_Callback(this);
3760
3761 @DomName('WebGLRenderingContextBase.getError')
3762 @DocsEditable()
3763 @Experimental() // untriaged
3764 int getError() => _blink.BlinkWebGLRenderingContextBase.getError_Callback(this );
3765
3766 @DomName('WebGLRenderingContextBase.getExtension')
3767 @DocsEditable()
3768 @Experimental() // untriaged
3769 Object getExtension(String name) => _blink.BlinkWebGLRenderingContextBase.getE xtension_Callback_DOMString(this, name);
3770
3771 @DomName('WebGLRenderingContextBase.getFramebufferAttachmentParameter')
3772 @DocsEditable()
3773 @Experimental() // untriaged
3774 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) => _blink.BlinkWebGLRenderingContextBase.getFramebufferAttachmentParameter_Cal lback_ul_ul_ul(this, target, attachment, pname);
3775
3776 @DomName('WebGLRenderingContextBase.getParameter')
3777 @DocsEditable()
3778 @Experimental() // untriaged
3779 Object getParameter(int pname) => _blink.BlinkWebGLRenderingContextBase.getPar ameter_Callback_ul(this, pname);
3780
3781 @DomName('WebGLRenderingContextBase.getProgramInfoLog')
3782 @DocsEditable()
3783 @Experimental() // untriaged
3784 String getProgramInfoLog(Program program) => _blink.BlinkWebGLRenderingContext Base.getProgramInfoLog_Callback_WebGLProgram(this, program);
3785
3786 @DomName('WebGLRenderingContextBase.getProgramParameter')
3787 @DocsEditable()
3788 @Experimental() // untriaged
3789 Object getProgramParameter(Program program, int pname) => _blink.BlinkWebGLRen deringContextBase.getProgramParameter_Callback_WebGLProgram_ul(this, program, pn ame);
3790
3791 @DomName('WebGLRenderingContextBase.getRenderbufferParameter')
3792 @DocsEditable()
3793 @Experimental() // untriaged
3794 Object getRenderbufferParameter(int target, int pname) => _blink.BlinkWebGLRen deringContextBase.getRenderbufferParameter_Callback_ul_ul(this, target, pname);
3795
3796 @DomName('WebGLRenderingContextBase.getShaderInfoLog')
3797 @DocsEditable()
3798 @Experimental() // untriaged
3799 String getShaderInfoLog(Shader shader) => _blink.BlinkWebGLRenderingContextBas e.getShaderInfoLog_Callback_WebGLShader(this, shader);
3800
3801 @DomName('WebGLRenderingContextBase.getShaderParameter')
3802 @DocsEditable()
3803 @Experimental() // untriaged
3804 Object getShaderParameter(Shader shader, int pname) => _blink.BlinkWebGLRender ingContextBase.getShaderParameter_Callback_WebGLShader_ul(this, shader, pname);
3805
3806 @DomName('WebGLRenderingContextBase.getShaderPrecisionFormat')
3807 @DocsEditable()
3808 @Experimental() // untriaged
3809 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) => _blink.BlinkWebGLRenderingContextBase.getShaderPrecisionFormat_Callback_u l_ul(this, shadertype, precisiontype);
3810
3811 @DomName('WebGLRenderingContextBase.getShaderSource')
3812 @DocsEditable()
3813 @Experimental() // untriaged
3814 String getShaderSource(Shader shader) => _blink.BlinkWebGLRenderingContextBase .getShaderSource_Callback_WebGLShader(this, shader);
3815
3816 @DomName('WebGLRenderingContextBase.getSupportedExtensions')
3817 @DocsEditable()
3818 @Experimental() // untriaged
3819 List<String> getSupportedExtensions() => _blink.BlinkWebGLRenderingContextBase .getSupportedExtensions_Callback(this);
3820
3821 @DomName('WebGLRenderingContextBase.getTexParameter')
3822 @DocsEditable()
3823 @Experimental() // untriaged
3824 Object getTexParameter(int target, int pname) => _blink.BlinkWebGLRenderingCon textBase.getTexParameter_Callback_ul_ul(this, target, pname);
3825
3826 @DomName('WebGLRenderingContextBase.getUniform')
3827 @DocsEditable()
3828 @Experimental() // untriaged
3829 Object getUniform(Program program, UniformLocation location) => _blink.BlinkWe bGLRenderingContextBase.getUniform_Callback_WebGLProgram_WebGLUniformLocation(th is, program, location);
3830
3831 @DomName('WebGLRenderingContextBase.getUniformLocation')
3832 @DocsEditable()
3833 @Experimental() // untriaged
3834 UniformLocation getUniformLocation(Program program, String name) => _blink.Bli nkWebGLRenderingContextBase.getUniformLocation_Callback_WebGLProgram_DOMString(t his, program, name);
3835
3836 @DomName('WebGLRenderingContextBase.getVertexAttrib')
3837 @DocsEditable()
3838 @Experimental() // untriaged
3839 Object getVertexAttrib(int index, int pname) => _blink.BlinkWebGLRenderingCont extBase.getVertexAttrib_Callback_ul_ul(this, index, pname);
3840
3841 @DomName('WebGLRenderingContextBase.getVertexAttribOffset')
3842 @DocsEditable()
3843 @Experimental() // untriaged
3844 int getVertexAttribOffset(int index, int pname) => _blink.BlinkWebGLRenderingC ontextBase.getVertexAttribOffset_Callback_ul_ul(this, index, pname);
3845
3846 @DomName('WebGLRenderingContextBase.hint')
3847 @DocsEditable()
3848 @Experimental() // untriaged
3849 void hint(int target, int mode) => _blink.BlinkWebGLRenderingContextBase.hint_ Callback_ul_ul(this, target, mode);
3850
3851 @DomName('WebGLRenderingContextBase.isBuffer')
3852 @DocsEditable()
3853 @Experimental() // untriaged
3854 bool isBuffer(Buffer buffer) => _blink.BlinkWebGLRenderingContextBase.isBuffer _Callback_WebGLBuffer(this, buffer);
3855
3856 @DomName('WebGLRenderingContextBase.isContextLost')
3857 @DocsEditable()
3858 @Experimental() // untriaged
3859 bool isContextLost() => _blink.BlinkWebGLRenderingContextBase.isContextLost_Ca llback(this);
3860
3861 @DomName('WebGLRenderingContextBase.isEnabled')
3862 @DocsEditable()
3863 @Experimental() // untriaged
3864 bool isEnabled(int cap) => _blink.BlinkWebGLRenderingContextBase.isEnabled_Cal lback_ul(this, cap);
3865
3866 @DomName('WebGLRenderingContextBase.isFramebuffer')
3867 @DocsEditable()
3868 @Experimental() // untriaged
3869 bool isFramebuffer(Framebuffer framebuffer) => _blink.BlinkWebGLRenderingConte xtBase.isFramebuffer_Callback_WebGLFramebuffer(this, framebuffer);
3870
3871 @DomName('WebGLRenderingContextBase.isProgram')
3872 @DocsEditable()
3873 @Experimental() // untriaged
3874 bool isProgram(Program program) => _blink.BlinkWebGLRenderingContextBase.isPro gram_Callback_WebGLProgram(this, program);
3875
3876 @DomName('WebGLRenderingContextBase.isRenderbuffer')
3877 @DocsEditable()
3878 @Experimental() // untriaged
3879 bool isRenderbuffer(Renderbuffer renderbuffer) => _blink.BlinkWebGLRenderingCo ntextBase.isRenderbuffer_Callback_WebGLRenderbuffer(this, renderbuffer);
3880
3881 @DomName('WebGLRenderingContextBase.isShader')
3882 @DocsEditable()
3883 @Experimental() // untriaged
3884 bool isShader(Shader shader) => _blink.BlinkWebGLRenderingContextBase.isShader _Callback_WebGLShader(this, shader);
3885
3886 @DomName('WebGLRenderingContextBase.isTexture')
3887 @DocsEditable()
3888 @Experimental() // untriaged
3889 bool isTexture(Texture texture) => _blink.BlinkWebGLRenderingContextBase.isTex ture_Callback_WebGLTexture(this, texture);
3890
3891 @DomName('WebGLRenderingContextBase.lineWidth')
3892 @DocsEditable()
3893 @Experimental() // untriaged
3894 void lineWidth(num width) => _blink.BlinkWebGLRenderingContextBase.lineWidth_C allback_float(this, width);
3895
3896 @DomName('WebGLRenderingContextBase.linkProgram')
3897 @DocsEditable()
3898 @Experimental() // untriaged
3899 void linkProgram(Program program) => _blink.BlinkWebGLRenderingContextBase.lin kProgram_Callback_WebGLProgram(this, program);
3900
3901 @DomName('WebGLRenderingContextBase.pixelStorei')
3902 @DocsEditable()
3903 @Experimental() // untriaged
3904 void pixelStorei(int pname, int param) => _blink.BlinkWebGLRenderingContextBas e.pixelStorei_Callback_ul_long(this, pname, param);
3905
3906 @DomName('WebGLRenderingContextBase.polygonOffset')
3907 @DocsEditable()
3908 @Experimental() // untriaged
3909 void polygonOffset(num factor, num units) => _blink.BlinkWebGLRenderingContext Base.polygonOffset_Callback_float_float(this, factor, units);
3910
3911 @DomName('WebGLRenderingContextBase.readPixels')
3912 @DocsEditable()
3913 @Experimental() // untriaged
3914 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) => _blink.BlinkWebGLRenderingContextBase.readPixels_Callback_long _long_long_long_ul_ul_ArrayBufferView(this, x, y, width, height, format, type, p ixels);
3915
3916 @DomName('WebGLRenderingContextBase.renderbufferStorage')
3917 @DocsEditable()
3918 @Experimental() // untriaged
3919 void renderbufferStorage(int target, int internalformat, int width, int height ) => _blink.BlinkWebGLRenderingContextBase.renderbufferStorage_Callback_ul_ul_lo ng_long(this, target, internalformat, width, height);
3920
3921 @DomName('WebGLRenderingContextBase.sampleCoverage')
3922 @DocsEditable()
3923 @Experimental() // untriaged
3924 void sampleCoverage(num value, bool invert) => _blink.BlinkWebGLRenderingConte xtBase.sampleCoverage_Callback_float_boolean(this, value, invert);
3925
3926 @DomName('WebGLRenderingContextBase.scissor')
3927 @DocsEditable()
3928 @Experimental() // untriaged
3929 void scissor(int x, int y, int width, int height) => _blink.BlinkWebGLRenderin gContextBase.scissor_Callback_long_long_long_long(this, x, y, width, height);
3930
3931 @DomName('WebGLRenderingContextBase.shaderSource')
3932 @DocsEditable()
3933 @Experimental() // untriaged
3934 void shaderSource(Shader shader, String string) => _blink.BlinkWebGLRenderingC ontextBase.shaderSource_Callback_WebGLShader_DOMString(this, shader, string);
3935
3936 @DomName('WebGLRenderingContextBase.stencilFunc')
3937 @DocsEditable()
3938 @Experimental() // untriaged
3939 void stencilFunc(int func, int ref, int mask) => _blink.BlinkWebGLRenderingCon textBase.stencilFunc_Callback_ul_long_ul(this, func, ref, mask);
3940
3941 @DomName('WebGLRenderingContextBase.stencilFuncSeparate')
3942 @DocsEditable()
3943 @Experimental() // untriaged
3944 void stencilFuncSeparate(int face, int func, int ref, int mask) => _blink.Blin kWebGLRenderingContextBase.stencilFuncSeparate_Callback_ul_ul_long_ul(this, face , func, ref, mask);
3945
3946 @DomName('WebGLRenderingContextBase.stencilMask')
3947 @DocsEditable()
3948 @Experimental() // untriaged
3949 void stencilMask(int mask) => _blink.BlinkWebGLRenderingContextBase.stencilMas k_Callback_ul(this, mask);
3950
3951 @DomName('WebGLRenderingContextBase.stencilMaskSeparate')
3952 @DocsEditable()
3953 @Experimental() // untriaged
3954 void stencilMaskSeparate(int face, int mask) => _blink.BlinkWebGLRenderingCont extBase.stencilMaskSeparate_Callback_ul_ul(this, face, mask);
3955
3956 @DomName('WebGLRenderingContextBase.stencilOp')
3957 @DocsEditable()
3958 @Experimental() // untriaged
3959 void stencilOp(int fail, int zfail, int zpass) => _blink.BlinkWebGLRenderingCo ntextBase.stencilOp_Callback_ul_ul_ul(this, fail, zfail, zpass);
3960
3961 @DomName('WebGLRenderingContextBase.stencilOpSeparate')
3962 @DocsEditable()
3963 @Experimental() // untriaged
3964 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Bli nkWebGLRenderingContextBase.stencilOpSeparate_Callback_ul_ul_ul_ul(this, face, f ail, zfail, zpass);
3965
3966 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]) {
3967 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR _video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format _OR_width == null) && (internalformat is int || internalformat == null) && (leve l is int || level == null) && (target is int || target == null)) {
3968 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_long_ long_long_ul_ul_ArrayBufferView(this, target, level, internalformat, format_OR_w idth, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type , pixels);
3969 return;
3970 }
3971 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte rnalformat is int || internalformat == null) && (level is int || level == null) && (target is int || target == null) && format == null && type == null && pixels == null) {
3972 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_ul_ul _ImageData(this, target, level, internalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
3973 return;
3974 }
3975 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i nternalformat is int || internalformat == null) && (level is int || level == nul l) && (target is int || target == null) && format == null && type == null && pix els == null) {
3976 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_ul_ul _HTMLImageElement(this, target, level, internalformat, format_OR_width, height_O R_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
3977 return;
3978 }
3979 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border _OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && ( internalformat is int || internalformat == null) && (level is int || level == nu ll) && (target is int || target == null) && format == null && type == null && pi xels == null) {
3980 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_ul_ul _HTMLCanvasElement(this, target, level, internalformat, format_OR_width, height_ OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
3981 return;
3982 }
3983 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i nternalformat is int || internalformat == null) && (level is int || level == nul l) && (target is int || target == null) && format == null && type == null && pix els == null) {
3984 _blink.BlinkWebGLRenderingContextBase.texImage2D_Callback_ul_long_ul_ul_ul _HTMLVideoElement(this, target, level, internalformat, format_OR_width, height_O R_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
3985 return;
3986 }
3987 throw new ArgumentError("Incorrect number or type of arguments");
3988 }
3989
3990 @DomName('WebGLRenderingContextBase.texImage2DCanvas')
3991 @DocsEditable()
3992 @Experimental() // untriaged
3993 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContextBase.texImage 2D_Callback_ul_long_ul_ul_ul_HTMLCanvasElement(this, target, level, internalform at, format, type, canvas);
3994
3995 @DomName('WebGLRenderingContextBase.texImage2DImage')
3996 @DocsEditable()
3997 @Experimental() // untriaged
3998 void texImage2DImage(int target, int level, int internalformat, int format, in t type, ImageElement image) => _blink.BlinkWebGLRenderingContextBase.texImage2D_ Callback_ul_long_ul_ul_ul_HTMLImageElement(this, target, level, internalformat, format, type, image);
3999
4000 @DomName('WebGLRenderingContextBase.texImage2DImageData')
4001 @DocsEditable()
4002 @Experimental() // untriaged
4003 void texImage2DImageData(int target, int level, int internalformat, int format , int type, ImageData pixels) => _blink.BlinkWebGLRenderingContextBase.texImage2 D_Callback_ul_long_ul_ul_ul_ImageData(this, target, level, internalformat, forma t, type, pixels);
4004
4005 @DomName('WebGLRenderingContextBase.texImage2DVideo')
4006 @DocsEditable()
4007 @Experimental() // untriaged
4008 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) => _blink.BlinkWebGLRenderingContextBase.texImage2D_ Callback_ul_long_ul_ul_ul_HTMLVideoElement(this, target, level, internalformat, format, type, video);
4009
4010 @DomName('WebGLRenderingContextBase.texParameterf')
4011 @DocsEditable()
4012 @Experimental() // untriaged
4013 void texParameterf(int target, int pname, num param) => _blink.BlinkWebGLRende ringContextBase.texParameterf_Callback_ul_ul_float(this, target, pname, param);
4014
4015 @DomName('WebGLRenderingContextBase.texParameteri')
4016 @DocsEditable()
4017 @Experimental() // untriaged
4018 void texParameteri(int target, int pname, int param) => _blink.BlinkWebGLRende ringContextBase.texParameteri_Callback_ul_ul_long(this, target, pname, param);
4019
4020 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]) {
4021 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_ image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null)) {
4022 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_ long_long_long_ul_ul_ArrayBufferView(this, target, level, xoffset, yoffset, form at_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
4023 return;
4024 }
4025 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
4026 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_ long_ul_ul_ImageData(this, target, level, xoffset, yoffset, format_OR_width, hei ght_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
4027 return;
4028 }
4029 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev el is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
4030 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_ long_ul_ul_HTMLImageElement(this, target, level, xoffset, yoffset, format_OR_wid th, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
4031 return;
4032 }
4033 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas _OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && ( yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (le vel is int || level == null) && (target is int || target == null) && type == nul l && pixels == null) {
4034 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_ long_ul_ul_HTMLCanvasElement(this, target, level, xoffset, yoffset, format_OR_wi dth, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
4035 return;
4036 }
4037 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev el is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
4038 _blink.BlinkWebGLRenderingContextBase.texSubImage2D_Callback_ul_long_long_ long_ul_ul_HTMLVideoElement(this, target, level, xoffset, yoffset, format_OR_wid th, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
4039 return;
4040 }
4041 throw new ArgumentError("Incorrect number or type of arguments");
4042 }
4043
4044 @DomName('WebGLRenderingContextBase.texSubImage2DCanvas')
4045 @DocsEditable()
4046 @Experimental() // untriaged
4047 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.BlinkWebGLRenderingContextBase .texSubImage2D_Callback_ul_long_long_long_ul_ul_HTMLCanvasElement(this, target, level, xoffset, yoffset, format, type, canvas);
4048
4049 @DomName('WebGLRenderingContextBase.texSubImage2DImage')
4050 @DocsEditable()
4051 @Experimental() // untriaged
4052 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f ormat, int type, ImageElement image) => _blink.BlinkWebGLRenderingContextBase.te xSubImage2D_Callback_ul_long_long_long_ul_ul_HTMLImageElement(this, target, leve l, xoffset, yoffset, format, type, image);
4053
4054 @DomName('WebGLRenderingContextBase.texSubImage2DImageData')
4055 @DocsEditable()
4056 @Experimental() // untriaged
4057 void texSubImage2DImageData(int target, int level, int xoffset, int yoffset, i nt format, int type, ImageData pixels) => _blink.BlinkWebGLRenderingContextBase. texSubImage2D_Callback_ul_long_long_long_ul_ul_ImageData(this, target, level, xo ffset, yoffset, format, type, pixels);
4058
4059 @DomName('WebGLRenderingContextBase.texSubImage2DVideo')
4060 @DocsEditable()
4061 @Experimental() // untriaged
4062 void texSubImage2DVideo(int target, int level, int xoffset, int yoffset, int f ormat, int type, VideoElement video) => _blink.BlinkWebGLRenderingContextBase.te xSubImage2D_Callback_ul_long_long_long_ul_ul_HTMLVideoElement(this, target, leve l, xoffset, yoffset, format, type, video);
4063
4064 @DomName('WebGLRenderingContextBase.uniform1f')
4065 @DocsEditable()
4066 @Experimental() // untriaged
4067 void uniform1f(UniformLocation location, num x) => _blink.BlinkWebGLRenderingC ontextBase.uniform1f_Callback_WebGLUniformLocation_float(this, location, x);
4068
4069 @DomName('WebGLRenderingContextBase.uniform1fv')
4070 @DocsEditable()
4071 @Experimental() // untriaged
4072 void uniform1fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContextBase.uniform1fv_Callback_WebGLUniformLocation_Float32Array(this, location, v);
4073
4074 @DomName('WebGLRenderingContextBase.uniform1i')
4075 @DocsEditable()
4076 @Experimental() // untriaged
4077 void uniform1i(UniformLocation location, int x) => _blink.BlinkWebGLRenderingC ontextBase.uniform1i_Callback_WebGLUniformLocation_long(this, location, x);
4078
4079 @DomName('WebGLRenderingContextBase.uniform1iv')
4080 @DocsEditable()
4081 @Experimental() // untriaged
4082 void uniform1iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContextBase.uniform1iv_Callback_WebGLUniformLocation_Int32Array(this, loca tion, v);
4083
4084 @DomName('WebGLRenderingContextBase.uniform2f')
4085 @DocsEditable()
4086 @Experimental() // untriaged
4087 void uniform2f(UniformLocation location, num x, num y) => _blink.BlinkWebGLRen deringContextBase.uniform2f_Callback_WebGLUniformLocation_float_float(this, loca tion, x, y);
4088
4089 @DomName('WebGLRenderingContextBase.uniform2fv')
4090 @DocsEditable()
4091 @Experimental() // untriaged
4092 void uniform2fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContextBase.uniform2fv_Callback_WebGLUniformLocation_Float32Array(this, location, v);
4093
4094 @DomName('WebGLRenderingContextBase.uniform2i')
4095 @DocsEditable()
4096 @Experimental() // untriaged
4097 void uniform2i(UniformLocation location, int x, int y) => _blink.BlinkWebGLRen deringContextBase.uniform2i_Callback_WebGLUniformLocation_long_long(this, locati on, x, y);
4098
4099 @DomName('WebGLRenderingContextBase.uniform2iv')
4100 @DocsEditable()
4101 @Experimental() // untriaged
4102 void uniform2iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContextBase.uniform2iv_Callback_WebGLUniformLocation_Int32Array(this, loca tion, v);
4103
4104 @DomName('WebGLRenderingContextBase.uniform3f')
4105 @DocsEditable()
4106 @Experimental() // untriaged
4107 void uniform3f(UniformLocation location, num x, num y, num z) => _blink.BlinkW ebGLRenderingContextBase.uniform3f_Callback_WebGLUniformLocation_float_float_flo at(this, location, x, y, z);
4108
4109 @DomName('WebGLRenderingContextBase.uniform3fv')
4110 @DocsEditable()
4111 @Experimental() // untriaged
4112 void uniform3fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContextBase.uniform3fv_Callback_WebGLUniformLocation_Float32Array(this, location, v);
4113
4114 @DomName('WebGLRenderingContextBase.uniform3i')
4115 @DocsEditable()
4116 @Experimental() // untriaged
4117 void uniform3i(UniformLocation location, int x, int y, int z) => _blink.BlinkW ebGLRenderingContextBase.uniform3i_Callback_WebGLUniformLocation_long_long_long( this, location, x, y, z);
4118
4119 @DomName('WebGLRenderingContextBase.uniform3iv')
4120 @DocsEditable()
4121 @Experimental() // untriaged
4122 void uniform3iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContextBase.uniform3iv_Callback_WebGLUniformLocation_Int32Array(this, loca tion, v);
4123
4124 @DomName('WebGLRenderingContextBase.uniform4f')
4125 @DocsEditable()
4126 @Experimental() // untriaged
4127 void uniform4f(UniformLocation location, num x, num y, num z, num w) => _blink .BlinkWebGLRenderingContextBase.uniform4f_Callback_WebGLUniformLocation_float_fl oat_float_float(this, location, x, y, z, w);
4128
4129 @DomName('WebGLRenderingContextBase.uniform4fv')
4130 @DocsEditable()
4131 @Experimental() // untriaged
4132 void uniform4fv(UniformLocation location, Float32List v) => _blink.BlinkWebGLR enderingContextBase.uniform4fv_Callback_WebGLUniformLocation_Float32Array(this, location, v);
4133
4134 @DomName('WebGLRenderingContextBase.uniform4i')
4135 @DocsEditable()
4136 @Experimental() // untriaged
4137 void uniform4i(UniformLocation location, int x, int y, int z, int w) => _blink .BlinkWebGLRenderingContextBase.uniform4i_Callback_WebGLUniformLocation_long_lon g_long_long(this, location, x, y, z, w);
4138
4139 @DomName('WebGLRenderingContextBase.uniform4iv')
4140 @DocsEditable()
4141 @Experimental() // untriaged
4142 void uniform4iv(UniformLocation location, Int32List v) => _blink.BlinkWebGLRen deringContextBase.uniform4iv_Callback_WebGLUniformLocation_Int32Array(this, loca tion, v);
4143
4144 @DomName('WebGLRenderingContextBase.uniformMatrix2fv')
4145 @DocsEditable()
4146 @Experimental() // untriaged
4147 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContextBase.uniformMatrix2fv_Callback_WebGLUni formLocation_boolean_Float32Array(this, location, transpose, array);
4148
4149 @DomName('WebGLRenderingContextBase.uniformMatrix3fv')
4150 @DocsEditable()
4151 @Experimental() // untriaged
4152 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContextBase.uniformMatrix3fv_Callback_WebGLUni formLocation_boolean_Float32Array(this, location, transpose, array);
4153
4154 @DomName('WebGLRenderingContextBase.uniformMatrix4fv')
4155 @DocsEditable()
4156 @Experimental() // untriaged
4157 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) => _blink.BlinkWebGLRenderingContextBase.uniformMatrix4fv_Callback_WebGLUni formLocation_boolean_Float32Array(this, location, transpose, array);
4158
4159 @DomName('WebGLRenderingContextBase.useProgram')
4160 @DocsEditable()
4161 @Experimental() // untriaged
4162 void useProgram(Program program) => _blink.BlinkWebGLRenderingContextBase.useP rogram_Callback_WebGLProgram(this, program);
4163
4164 @DomName('WebGLRenderingContextBase.validateProgram')
4165 @DocsEditable()
4166 @Experimental() // untriaged
4167 void validateProgram(Program program) => _blink.BlinkWebGLRenderingContextBase .validateProgram_Callback_WebGLProgram(this, program);
4168
4169 @DomName('WebGLRenderingContextBase.vertexAttrib1f')
4170 @DocsEditable()
4171 @Experimental() // untriaged
4172 void vertexAttrib1f(int indx, num x) => _blink.BlinkWebGLRenderingContextBase. vertexAttrib1f_Callback_ul_float(this, indx, x);
4173
4174 @DomName('WebGLRenderingContextBase.vertexAttrib1fv')
4175 @DocsEditable()
4176 @Experimental() // untriaged
4177 void vertexAttrib1fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContextBase.vertexAttrib1fv_Callback_ul_Float32Array(this, indx, values);
4178
4179 @DomName('WebGLRenderingContextBase.vertexAttrib2f')
4180 @DocsEditable()
4181 @Experimental() // untriaged
4182 void vertexAttrib2f(int indx, num x, num y) => _blink.BlinkWebGLRenderingConte xtBase.vertexAttrib2f_Callback_ul_float_float(this, indx, x, y);
4183
4184 @DomName('WebGLRenderingContextBase.vertexAttrib2fv')
4185 @DocsEditable()
4186 @Experimental() // untriaged
4187 void vertexAttrib2fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContextBase.vertexAttrib2fv_Callback_ul_Float32Array(this, indx, values);
4188
4189 @DomName('WebGLRenderingContextBase.vertexAttrib3f')
4190 @DocsEditable()
4191 @Experimental() // untriaged
4192 void vertexAttrib3f(int indx, num x, num y, num z) => _blink.BlinkWebGLRenderi ngContextBase.vertexAttrib3f_Callback_ul_float_float_float(this, indx, x, y, z);
4193
4194 @DomName('WebGLRenderingContextBase.vertexAttrib3fv')
4195 @DocsEditable()
4196 @Experimental() // untriaged
4197 void vertexAttrib3fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContextBase.vertexAttrib3fv_Callback_ul_Float32Array(this, indx, values);
4198
4199 @DomName('WebGLRenderingContextBase.vertexAttrib4f')
4200 @DocsEditable()
4201 @Experimental() // untriaged
4202 void vertexAttrib4f(int indx, num x, num y, num z, num w) => _blink.BlinkWebGL RenderingContextBase.vertexAttrib4f_Callback_ul_float_float_float_float(this, in dx, x, y, z, w);
4203
4204 @DomName('WebGLRenderingContextBase.vertexAttrib4fv')
4205 @DocsEditable()
4206 @Experimental() // untriaged
4207 void vertexAttrib4fv(int indx, Float32List values) => _blink.BlinkWebGLRenderi ngContextBase.vertexAttrib4fv_Callback_ul_Float32Array(this, indx, values);
4208
4209 @DomName('WebGLRenderingContextBase.vertexAttribPointer')
4210 @DocsEditable()
4211 @Experimental() // untriaged
4212 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) => _blink.BlinkWebGLRenderingContextBase.vertexAttribPointer_C allback_ul_long_ul_boolean_long_ll(this, indx, size, type, normalized, stride, o ffset);
4213
4214 @DomName('WebGLRenderingContextBase.viewport')
4215 @DocsEditable()
4216 @Experimental() // untriaged
4217 void viewport(int x, int y, int width, int height) => _blink.BlinkWebGLRenderi ngContextBase.viewport_Callback_long_long_long_long(this, x, y, width, height);
4218
4219 }
4220 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4221 // for details. All rights reserved. Use of this source code is governed by a
3026 // BSD-style license that can be found in the LICENSE file. 4222 // BSD-style license that can be found in the LICENSE file.
3027 4223
3028 // WARNING: Do not edit - generated code. 4224 // WARNING: Do not edit - generated code.
3029 4225
3030 4226
3031 @DocsEditable() 4227 @DocsEditable()
3032 @DomName('WebGLShader') 4228 @DomName('WebGLShader')
3033 class Shader extends NativeFieldWrapperClass2 { 4229 class Shader extends NativeFieldWrapperClass2 {
3034 // To suppress missing implicit constructor warnings. 4230 // To suppress missing implicit constructor warnings.
3035 factory Shader._() { throw new UnsupportedError("Not supported"); } 4231 factory Shader._() { throw new UnsupportedError("Not supported"); }
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
3098 4294
3099 @DocsEditable() 4295 @DocsEditable()
3100 @DomName('WebGLVertexArrayObjectOES') 4296 @DomName('WebGLVertexArrayObjectOES')
3101 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 4297 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3102 @Experimental() // experimental 4298 @Experimental() // experimental
3103 class VertexArrayObject extends NativeFieldWrapperClass2 { 4299 class VertexArrayObject extends NativeFieldWrapperClass2 {
3104 // To suppress missing implicit constructor warnings. 4300 // To suppress missing implicit constructor warnings.
3105 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } 4301 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
3106 4302
3107 } 4303 }
OLDNEW
« no previous file with comments | « sdk/lib/web_gl/dart2js/web_gl_dart2js.dart ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698