| OLD | NEW |
| (Empty) |
| 1 /** | |
| 2 * 3D programming in the browser. | |
| 3 */ | |
| 4 library dart.dom.web_gl; | |
| 5 | |
| 6 import 'dart:collection'; | |
| 7 import 'dart:_internal'; | |
| 8 import 'dart:html'; | |
| 9 import 'dart:html_common'; | |
| 10 import 'dart:_native_typed_data'; | |
| 11 import 'dart:typed_data'; | |
| 12 import 'dart:_js_helper' show Creates, JSName, Native, Returns, convertDartClosu
reToJS; | |
| 13 import 'dart:_foreign_helper' show JS; | |
| 14 import 'dart:_interceptors' show Interceptor, JSExtendableArray; | |
| 15 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | |
| 16 // for details. All rights reserved. Use of this source code is governed by a | |
| 17 // BSD-style license that can be found in the LICENSE file. | |
| 18 | |
| 19 | |
| 20 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; | |
| 21 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; | |
| 22 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; | |
| 23 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; | |
| 24 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; | |
| 25 const int ALPHA = RenderingContext.ALPHA; | |
| 26 const int ALPHA_BITS = RenderingContext.ALPHA_BITS; | |
| 27 const int ALWAYS = RenderingContext.ALWAYS; | |
| 28 const int ARRAY_BUFFER = RenderingContext.ARRAY_BUFFER; | |
| 29 const int ARRAY_BUFFER_BINDING = RenderingContext.ARRAY_BUFFER_BINDING; | |
| 30 const int ATTACHED_SHADERS = RenderingContext.ATTACHED_SHADERS; | |
| 31 const int BACK = RenderingContext.BACK; | |
| 32 const int BLEND = RenderingContext.BLEND; | |
| 33 const int BLEND_COLOR = RenderingContext.BLEND_COLOR; | |
| 34 const int BLEND_DST_ALPHA = RenderingContext.BLEND_DST_ALPHA; | |
| 35 const int BLEND_DST_RGB = RenderingContext.BLEND_DST_RGB; | |
| 36 const int BLEND_EQUATION = RenderingContext.BLEND_EQUATION; | |
| 37 const int BLEND_EQUATION_ALPHA = RenderingContext.BLEND_EQUATION_ALPHA; | |
| 38 const int BLEND_EQUATION_RGB = RenderingContext.BLEND_EQUATION_RGB; | |
| 39 const int BLEND_SRC_ALPHA = RenderingContext.BLEND_SRC_ALPHA; | |
| 40 const int BLEND_SRC_RGB = RenderingContext.BLEND_SRC_RGB; | |
| 41 const int BLUE_BITS = RenderingContext.BLUE_BITS; | |
| 42 const int BOOL = RenderingContext.BOOL; | |
| 43 const int BOOL_VEC2 = RenderingContext.BOOL_VEC2; | |
| 44 const int BOOL_VEC3 = RenderingContext.BOOL_VEC3; | |
| 45 const int BOOL_VEC4 = RenderingContext.BOOL_VEC4; | |
| 46 const int BROWSER_DEFAULT_WEBGL = RenderingContext.BROWSER_DEFAULT_WEBGL; | |
| 47 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; | |
| 48 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; | |
| 49 const int BYTE = RenderingContext.BYTE; | |
| 50 const int CCW = RenderingContext.CCW; | |
| 51 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; | |
| 52 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; | |
| 53 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; | |
| 54 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; | |
| 55 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; | |
| 56 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; | |
| 57 const int COMPRESSED_TEXTURE_FORMATS = RenderingContext.COMPRESSED_TEXTURE_FORMA
TS; | |
| 58 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; | |
| 59 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; | |
| 60 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; | |
| 61 const int CULL_FACE = RenderingContext.CULL_FACE; | |
| 62 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; | |
| 63 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; | |
| 64 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; | |
| 65 const int CW = RenderingContext.CW; | |
| 66 const int DECR = RenderingContext.DECR; | |
| 67 const int DECR_WRAP = RenderingContext.DECR_WRAP; | |
| 68 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; | |
| 69 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; | |
| 70 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; | |
| 71 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; | |
| 72 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; | |
| 73 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; | |
| 74 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; | |
| 75 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; | |
| 76 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; | |
| 77 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; | |
| 78 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; | |
| 79 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; | |
| 80 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; | |
| 81 const int DITHER = RenderingContext.DITHER; | |
| 82 const int DONT_CARE = RenderingContext.DONT_CARE; | |
| 83 const int DST_ALPHA = RenderingContext.DST_ALPHA; | |
| 84 const int DST_COLOR = RenderingContext.DST_COLOR; | |
| 85 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; | |
| 86 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; | |
| 87 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContext.ELEMENT_ARRAY_BUFFER_B
INDING; | |
| 88 const int EQUAL = RenderingContext.EQUAL; | |
| 89 const int FASTEST = RenderingContext.FASTEST; | |
| 90 const int FLOAT = RenderingContext.FLOAT; | |
| 91 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; | |
| 92 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; | |
| 93 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; | |
| 94 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; | |
| 95 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; | |
| 96 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; | |
| 97 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; | |
| 98 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; | |
| 99 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_NAME; | |
| 100 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_TYPE; | |
| 101 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContext.FRAMEB
UFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; | |
| 102 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContext.FRAMEBUFFER_AT
TACHMENT_TEXTURE_LEVEL; | |
| 103 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; | |
| 104 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; | |
| 105 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOM
PLETE_ATTACHMENT; | |
| 106 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContext.FRAMEBUFFER_INCOM
PLETE_DIMENSIONS; | |
| 107 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContext.FRAMEBUFF
ER_INCOMPLETE_MISSING_ATTACHMENT; | |
| 108 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; | |
| 109 const int FRONT = RenderingContext.FRONT; | |
| 110 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; | |
| 111 const int FRONT_FACE = RenderingContext.FRONT_FACE; | |
| 112 const int FUNC_ADD = RenderingContext.FUNC_ADD; | |
| 113 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; | |
| 114 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; | |
| 115 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; | |
| 116 const int GEQUAL = RenderingContext.GEQUAL; | |
| 117 const int GREATER = RenderingContext.GREATER; | |
| 118 const int GREEN_BITS = RenderingContext.GREEN_BITS; | |
| 119 const int HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; | |
| 120 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; | |
| 121 const int HIGH_INT = RenderingContext.HIGH_INT; | |
| 122 const int INCR = RenderingContext.INCR; | |
| 123 const int INCR_WRAP = RenderingContext.INCR_WRAP; | |
| 124 const int INT = RenderingContext.INT; | |
| 125 const int INT_VEC2 = RenderingContext.INT_VEC2; | |
| 126 const int INT_VEC3 = RenderingContext.INT_VEC3; | |
| 127 const int INT_VEC4 = RenderingContext.INT_VEC4; | |
| 128 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; | |
| 129 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O
PERATION; | |
| 130 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; | |
| 131 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; | |
| 132 const int INVERT = RenderingContext.INVERT; | |
| 133 const int KEEP = RenderingContext.KEEP; | |
| 134 const int LEQUAL = RenderingContext.LEQUAL; | |
| 135 const int LESS = RenderingContext.LESS; | |
| 136 const int LINEAR = RenderingContext.LINEAR; | |
| 137 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; | |
| 138 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; | |
| 139 const int LINES = RenderingContext.LINES; | |
| 140 const int LINE_LOOP = RenderingContext.LINE_LOOP; | |
| 141 const int LINE_STRIP = RenderingContext.LINE_STRIP; | |
| 142 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; | |
| 143 const int LINK_STATUS = RenderingContext.LINK_STATUS; | |
| 144 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; | |
| 145 const int LOW_INT = RenderingContext.LOW_INT; | |
| 146 const int LUMINANCE = RenderingContext.LUMINANCE; | |
| 147 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; | |
| 148 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_COMBINED_TEXTU
RE_IMAGE_UNITS; | |
| 149 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE
; | |
| 150 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContext.MAX_FRAGMENT_UNIFORM_V
ECTORS; | |
| 151 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; | |
| 152 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; | |
| 153 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; | |
| 154 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; | |
| 155 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; | |
| 156 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_VERTEX_TEXTURE_I
MAGE_UNITS; | |
| 157 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContext.MAX_VERTEX_UNIFORM_VECTO
RS; | |
| 158 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; | |
| 159 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; | |
| 160 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; | |
| 161 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; | |
| 162 const int NEAREST = RenderingContext.NEAREST; | |
| 163 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; | |
| 164 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; | |
| 165 const int NEVER = RenderingContext.NEVER; | |
| 166 const int NICEST = RenderingContext.NICEST; | |
| 167 const int NONE = RenderingContext.NONE; | |
| 168 const int NOTEQUAL = RenderingContext.NOTEQUAL; | |
| 169 const int NO_ERROR = RenderingContext.NO_ERROR; | |
| 170 const int ONE = RenderingContext.ONE; | |
| 171 const int ONE_MINUS_CONSTANT_ALPHA = RenderingContext.ONE_MINUS_CONSTANT_ALPHA; | |
| 172 const int ONE_MINUS_CONSTANT_COLOR = RenderingContext.ONE_MINUS_CONSTANT_COLOR; | |
| 173 const int ONE_MINUS_DST_ALPHA = RenderingContext.ONE_MINUS_DST_ALPHA; | |
| 174 const int ONE_MINUS_DST_COLOR = RenderingContext.ONE_MINUS_DST_COLOR; | |
| 175 const int ONE_MINUS_SRC_ALPHA = RenderingContext.ONE_MINUS_SRC_ALPHA; | |
| 176 const int ONE_MINUS_SRC_COLOR = RenderingContext.ONE_MINUS_SRC_COLOR; | |
| 177 const int OUT_OF_MEMORY = RenderingContext.OUT_OF_MEMORY; | |
| 178 const int PACK_ALIGNMENT = RenderingContext.PACK_ALIGNMENT; | |
| 179 const int POINTS = RenderingContext.POINTS; | |
| 180 const int POLYGON_OFFSET_FACTOR = RenderingContext.POLYGON_OFFSET_FACTOR; | |
| 181 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; | |
| 182 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; | |
| 183 const int RED_BITS = RenderingContext.RED_BITS; | |
| 184 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; | |
| 185 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; | |
| 186 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; | |
| 187 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; | |
| 188 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; | |
| 189 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; | |
| 190 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; | |
| 191 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContext.RENDERBUFFER_INTERNAL_
FORMAT; | |
| 192 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; | |
| 193 const int RENDERBUFFER_STENCIL_SIZE = RenderingContext.RENDERBUFFER_STENCIL_SIZE
; | |
| 194 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; | |
| 195 const int RENDERER = RenderingContext.RENDERER; | |
| 196 const int REPEAT = RenderingContext.REPEAT; | |
| 197 const int REPLACE = RenderingContext.REPLACE; | |
| 198 const int RGB = RenderingContext.RGB; | |
| 199 const int RGB565 = RenderingContext.RGB565; | |
| 200 const int RGB5_A1 = RenderingContext.RGB5_A1; | |
| 201 const int RGBA = RenderingContext.RGBA; | |
| 202 const int RGBA4 = RenderingContext.RGBA4; | |
| 203 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; | |
| 204 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; | |
| 205 const int SAMPLES = RenderingContext.SAMPLES; | |
| 206 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; | |
| 207 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; | |
| 208 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; | |
| 209 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; | |
| 210 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; | |
| 211 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; | |
| 212 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; | |
| 213 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; | |
| 214 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; | |
| 215 const int SHORT = RenderingContext.SHORT; | |
| 216 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; | |
| 217 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; | |
| 218 const int SRC_COLOR = RenderingContext.SRC_COLOR; | |
| 219 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; | |
| 220 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; | |
| 221 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; | |
| 222 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; | |
| 223 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContext.STENCIL_BACK_PASS_DEPT
H_FAIL; | |
| 224 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContext.STENCIL_BACK_PASS_DEPT
H_PASS; | |
| 225 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; | |
| 226 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; | |
| 227 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; | |
| 228 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; | |
| 229 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; | |
| 230 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; | |
| 231 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; | |
| 232 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; | |
| 233 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; | |
| 234 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; | |
| 235 const int STENCIL_PASS_DEPTH_FAIL = RenderingContext.STENCIL_PASS_DEPTH_FAIL; | |
| 236 const int STENCIL_PASS_DEPTH_PASS = RenderingContext.STENCIL_PASS_DEPTH_PASS; | |
| 237 const int STENCIL_REF = RenderingContext.STENCIL_REF; | |
| 238 const int STENCIL_TEST = RenderingContext.STENCIL_TEST; | |
| 239 const int STENCIL_VALUE_MASK = RenderingContext.STENCIL_VALUE_MASK; | |
| 240 const int STENCIL_WRITEMASK = RenderingContext.STENCIL_WRITEMASK; | |
| 241 const int STREAM_DRAW = RenderingContext.STREAM_DRAW; | |
| 242 const int SUBPIXEL_BITS = RenderingContext.SUBPIXEL_BITS; | |
| 243 const int TEXTURE = RenderingContext.TEXTURE; | |
| 244 const int TEXTURE0 = RenderingContext.TEXTURE0; | |
| 245 const int TEXTURE1 = RenderingContext.TEXTURE1; | |
| 246 const int TEXTURE10 = RenderingContext.TEXTURE10; | |
| 247 const int TEXTURE11 = RenderingContext.TEXTURE11; | |
| 248 const int TEXTURE12 = RenderingContext.TEXTURE12; | |
| 249 const int TEXTURE13 = RenderingContext.TEXTURE13; | |
| 250 const int TEXTURE14 = RenderingContext.TEXTURE14; | |
| 251 const int TEXTURE15 = RenderingContext.TEXTURE15; | |
| 252 const int TEXTURE16 = RenderingContext.TEXTURE16; | |
| 253 const int TEXTURE17 = RenderingContext.TEXTURE17; | |
| 254 const int TEXTURE18 = RenderingContext.TEXTURE18; | |
| 255 const int TEXTURE19 = RenderingContext.TEXTURE19; | |
| 256 const int TEXTURE2 = RenderingContext.TEXTURE2; | |
| 257 const int TEXTURE20 = RenderingContext.TEXTURE20; | |
| 258 const int TEXTURE21 = RenderingContext.TEXTURE21; | |
| 259 const int TEXTURE22 = RenderingContext.TEXTURE22; | |
| 260 const int TEXTURE23 = RenderingContext.TEXTURE23; | |
| 261 const int TEXTURE24 = RenderingContext.TEXTURE24; | |
| 262 const int TEXTURE25 = RenderingContext.TEXTURE25; | |
| 263 const int TEXTURE26 = RenderingContext.TEXTURE26; | |
| 264 const int TEXTURE27 = RenderingContext.TEXTURE27; | |
| 265 const int TEXTURE28 = RenderingContext.TEXTURE28; | |
| 266 const int TEXTURE29 = RenderingContext.TEXTURE29; | |
| 267 const int TEXTURE3 = RenderingContext.TEXTURE3; | |
| 268 const int TEXTURE30 = RenderingContext.TEXTURE30; | |
| 269 const int TEXTURE31 = RenderingContext.TEXTURE31; | |
| 270 const int TEXTURE4 = RenderingContext.TEXTURE4; | |
| 271 const int TEXTURE5 = RenderingContext.TEXTURE5; | |
| 272 const int TEXTURE6 = RenderingContext.TEXTURE6; | |
| 273 const int TEXTURE7 = RenderingContext.TEXTURE7; | |
| 274 const int TEXTURE8 = RenderingContext.TEXTURE8; | |
| 275 const int TEXTURE9 = RenderingContext.TEXTURE9; | |
| 276 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; | |
| 277 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; | |
| 278 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; | |
| 279 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; | |
| 280 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_X; | |
| 281 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Y; | |
| 282 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Z; | |
| 283 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_X; | |
| 284 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Y; | |
| 285 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Z; | |
| 286 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; | |
| 287 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; | |
| 288 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; | |
| 289 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; | |
| 290 const int TRIANGLES = RenderingContext.TRIANGLES; | |
| 291 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; | |
| 292 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; | |
| 293 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; | |
| 294 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPAC
E_CONVERSION_WEBGL; | |
| 295 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; | |
| 296 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContext.UNPACK_PREMULTIPLY_A
LPHA_WEBGL; | |
| 297 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; | |
| 298 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; | |
| 299 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; | |
| 300 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; | |
| 301 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; | |
| 302 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; | |
| 303 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; | |
| 304 const int VENDOR = RenderingContext.VENDOR; | |
| 305 const int VERSION = RenderingContext.VERSION; | |
| 306 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContext.VERTEX_ATTRIB_AR
RAY_BUFFER_BINDING; | |
| 307 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContext.VERTEX_ATTRIB_ARRAY_ENA
BLED; | |
| 308 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContext.VERTEX_ATTRIB_ARRAY_
NORMALIZED; | |
| 309 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContext.VERTEX_ATTRIB_ARRAY_POI
NTER; | |
| 310 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; | |
| 311 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRI
DE; | |
| 312 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; | |
| 313 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; | |
| 314 const int VIEWPORT = RenderingContext.VIEWPORT; | |
| 315 const int ZERO = RenderingContext.ZERO; | |
| 316 // DO NOT EDIT - unless you are editing documentation as per: | |
| 317 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | |
| 318 // Auto-generated dart:web_gl library. | |
| 319 | |
| 320 | |
| 321 | |
| 322 | |
| 323 | |
| 324 // FIXME: Can we make this private? | |
| 325 final web_glBlinkMap = { | |
| 326 | |
| 327 }; | |
| 328 | |
| 329 // FIXME: Can we make this private? | |
| 330 final web_glBlinkFunctionMap = { | |
| 331 | |
| 332 }; | |
| OLD | NEW |