| OLD | NEW |
| (Empty) | |
| 1 library dart.dom.web_gl; |
| 2 |
| 3 import 'dart:async'; |
| 4 import 'dart:collection'; |
| 5 import 'dart:html'; |
| 6 import 'dart:html_common'; |
| 7 import 'dart:nativewrappers'; |
| 8 import 'dart:typeddata' as _typeddata; |
| 9 // DO NOT EDIT |
| 10 // Auto-generated dart:web_gl library. |
| 11 |
| 12 |
| 13 |
| 14 |
| 15 |
| 16 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 17 // for details. All rights reserved. Use of this source code is governed by a |
| 18 // BSD-style license that can be found in the LICENSE file. |
| 19 |
| 20 |
| 21 const int ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; |
| 22 const int ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; |
| 23 const int ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; |
| 24 const int ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; |
| 25 const int ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; |
| 26 const int ALPHA = RenderingContext.ALPHA; |
| 27 const int ALPHA_BITS = RenderingContext.ALPHA_BITS; |
| 28 const int ALWAYS = RenderingContext.ALWAYS; |
| 29 const int ARRAY_BUFFER = RenderingContext.ARRAY_BUFFER; |
| 30 const int ARRAY_BUFFER_BINDING = RenderingContext.ARRAY_BUFFER_BINDING; |
| 31 const int ATTACHED_SHADERS = RenderingContext.ATTACHED_SHADERS; |
| 32 const int BACK = RenderingContext.BACK; |
| 33 const int BLEND = RenderingContext.BLEND; |
| 34 const int BLEND_COLOR = RenderingContext.BLEND_COLOR; |
| 35 const int BLEND_DST_ALPHA = RenderingContext.BLEND_DST_ALPHA; |
| 36 const int BLEND_DST_RGB = RenderingContext.BLEND_DST_RGB; |
| 37 const int BLEND_EQUATION = RenderingContext.BLEND_EQUATION; |
| 38 const int BLEND_EQUATION_ALPHA = RenderingContext.BLEND_EQUATION_ALPHA; |
| 39 const int BLEND_EQUATION_RGB = RenderingContext.BLEND_EQUATION_RGB; |
| 40 const int BLEND_SRC_ALPHA = RenderingContext.BLEND_SRC_ALPHA; |
| 41 const int BLEND_SRC_RGB = RenderingContext.BLEND_SRC_RGB; |
| 42 const int BLUE_BITS = RenderingContext.BLUE_BITS; |
| 43 const int BOOL = RenderingContext.BOOL; |
| 44 const int BOOL_VEC2 = RenderingContext.BOOL_VEC2; |
| 45 const int BOOL_VEC3 = RenderingContext.BOOL_VEC3; |
| 46 const int BOOL_VEC4 = RenderingContext.BOOL_VEC4; |
| 47 const int BROWSER_DEFAULT_WEBGL = RenderingContext.BROWSER_DEFAULT_WEBGL; |
| 48 const int BUFFER_SIZE = RenderingContext.BUFFER_SIZE; |
| 49 const int BUFFER_USAGE = RenderingContext.BUFFER_USAGE; |
| 50 const int BYTE = RenderingContext.BYTE; |
| 51 const int CCW = RenderingContext.CCW; |
| 52 const int CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; |
| 53 const int COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; |
| 54 const int COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; |
| 55 const int COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; |
| 56 const int COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; |
| 57 const int COMPILE_STATUS = RenderingContext.COMPILE_STATUS; |
| 58 const int COMPRESSED_TEXTURE_FORMATS = RenderingContext.COMPRESSED_TEXTURE_FORMA
TS; |
| 59 const int CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; |
| 60 const int CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; |
| 61 const int CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; |
| 62 const int CULL_FACE = RenderingContext.CULL_FACE; |
| 63 const int CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; |
| 64 const int CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; |
| 65 const int CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; |
| 66 const int CW = RenderingContext.CW; |
| 67 const int DECR = RenderingContext.DECR; |
| 68 const int DECR_WRAP = RenderingContext.DECR_WRAP; |
| 69 const int DELETE_STATUS = RenderingContext.DELETE_STATUS; |
| 70 const int DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; |
| 71 const int DEPTH_BITS = RenderingContext.DEPTH_BITS; |
| 72 const int DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; |
| 73 const int DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; |
| 74 const int DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; |
| 75 const int DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; |
| 76 const int DEPTH_FUNC = RenderingContext.DEPTH_FUNC; |
| 77 const int DEPTH_RANGE = RenderingContext.DEPTH_RANGE; |
| 78 const int DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; |
| 79 const int DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; |
| 80 const int DEPTH_TEST = RenderingContext.DEPTH_TEST; |
| 81 const int DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; |
| 82 const int DITHER = RenderingContext.DITHER; |
| 83 const int DONT_CARE = RenderingContext.DONT_CARE; |
| 84 const int DST_ALPHA = RenderingContext.DST_ALPHA; |
| 85 const int DST_COLOR = RenderingContext.DST_COLOR; |
| 86 const int DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; |
| 87 const int ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; |
| 88 const int ELEMENT_ARRAY_BUFFER_BINDING = RenderingContext.ELEMENT_ARRAY_BUFFER_B
INDING; |
| 89 const int EQUAL = RenderingContext.EQUAL; |
| 90 const int FASTEST = RenderingContext.FASTEST; |
| 91 const int FLOAT = RenderingContext.FLOAT; |
| 92 const int FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; |
| 93 const int FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; |
| 94 const int FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; |
| 95 const int FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; |
| 96 const int FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; |
| 97 const int FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; |
| 98 const int FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; |
| 99 const int FRAMEBUFFER = RenderingContext.FRAMEBUFFER; |
| 100 const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_NAME; |
| 101 const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_OBJECT_TYPE; |
| 102 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContext.FRAMEB
UFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; |
| 103 const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContext.FRAMEBUFFER_AT
TACHMENT_TEXTURE_LEVEL; |
| 104 const int FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; |
| 105 const int FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; |
| 106 const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOM
PLETE_ATTACHMENT; |
| 107 const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContext.FRAMEBUFFER_INCOM
PLETE_DIMENSIONS; |
| 108 const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContext.FRAMEBUFF
ER_INCOMPLETE_MISSING_ATTACHMENT; |
| 109 const int FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; |
| 110 const int FRONT = RenderingContext.FRONT; |
| 111 const int FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; |
| 112 const int FRONT_FACE = RenderingContext.FRONT_FACE; |
| 113 const int FUNC_ADD = RenderingContext.FUNC_ADD; |
| 114 const int FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; |
| 115 const int FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; |
| 116 const int GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; |
| 117 const int GEQUAL = RenderingContext.GEQUAL; |
| 118 const int GREATER = RenderingContext.GREATER; |
| 119 const int GREEN_BITS = RenderingContext.GREEN_BITS; |
| 120 const int HALF_FLOAT_OES = RenderingContext.HALF_FLOAT_OES; |
| 121 const int HIGH_FLOAT = RenderingContext.HIGH_FLOAT; |
| 122 const int HIGH_INT = RenderingContext.HIGH_INT; |
| 123 const int INCR = RenderingContext.INCR; |
| 124 const int INCR_WRAP = RenderingContext.INCR_WRAP; |
| 125 const int INT = RenderingContext.INT; |
| 126 const int INT_VEC2 = RenderingContext.INT_VEC2; |
| 127 const int INT_VEC3 = RenderingContext.INT_VEC3; |
| 128 const int INT_VEC4 = RenderingContext.INT_VEC4; |
| 129 const int INVALID_ENUM = RenderingContext.INVALID_ENUM; |
| 130 const int INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_O
PERATION; |
| 131 const int INVALID_OPERATION = RenderingContext.INVALID_OPERATION; |
| 132 const int INVALID_VALUE = RenderingContext.INVALID_VALUE; |
| 133 const int INVERT = RenderingContext.INVERT; |
| 134 const int KEEP = RenderingContext.KEEP; |
| 135 const int LEQUAL = RenderingContext.LEQUAL; |
| 136 const int LESS = RenderingContext.LESS; |
| 137 const int LINEAR = RenderingContext.LINEAR; |
| 138 const int LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; |
| 139 const int LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; |
| 140 const int LINES = RenderingContext.LINES; |
| 141 const int LINE_LOOP = RenderingContext.LINE_LOOP; |
| 142 const int LINE_STRIP = RenderingContext.LINE_STRIP; |
| 143 const int LINE_WIDTH = RenderingContext.LINE_WIDTH; |
| 144 const int LINK_STATUS = RenderingContext.LINK_STATUS; |
| 145 const int LOW_FLOAT = RenderingContext.LOW_FLOAT; |
| 146 const int LOW_INT = RenderingContext.LOW_INT; |
| 147 const int LUMINANCE = RenderingContext.LUMINANCE; |
| 148 const int LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; |
| 149 const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_COMBINED_TEXTU
RE_IMAGE_UNITS; |
| 150 const int MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE
; |
| 151 const int MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContext.MAX_FRAGMENT_UNIFORM_V
ECTORS; |
| 152 const int MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; |
| 153 const int MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; |
| 154 const int MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; |
| 155 const int MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; |
| 156 const int MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; |
| 157 const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_VERTEX_TEXTURE_I
MAGE_UNITS; |
| 158 const int MAX_VERTEX_UNIFORM_VECTORS = RenderingContext.MAX_VERTEX_UNIFORM_VECTO
RS; |
| 159 const int MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; |
| 160 const int MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; |
| 161 const int MEDIUM_INT = RenderingContext.MEDIUM_INT; |
| 162 const int MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; |
| 163 const int NEAREST = RenderingContext.NEAREST; |
| 164 const int NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; |
| 165 const int NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; |
| 166 const int NEVER = RenderingContext.NEVER; |
| 167 const int NICEST = RenderingContext.NICEST; |
| 168 const int NONE = RenderingContext.NONE; |
| 169 const int NOTEQUAL = RenderingContext.NOTEQUAL; |
| 170 const int NO_ERROR = RenderingContext.NO_ERROR; |
| 171 const int ONE = RenderingContext.ONE; |
| 172 const int ONE_MINUS_CONSTANT_ALPHA = RenderingContext.ONE_MINUS_CONSTANT_ALPHA; |
| 173 const int ONE_MINUS_CONSTANT_COLOR = RenderingContext.ONE_MINUS_CONSTANT_COLOR; |
| 174 const int ONE_MINUS_DST_ALPHA = RenderingContext.ONE_MINUS_DST_ALPHA; |
| 175 const int ONE_MINUS_DST_COLOR = RenderingContext.ONE_MINUS_DST_COLOR; |
| 176 const int ONE_MINUS_SRC_ALPHA = RenderingContext.ONE_MINUS_SRC_ALPHA; |
| 177 const int ONE_MINUS_SRC_COLOR = RenderingContext.ONE_MINUS_SRC_COLOR; |
| 178 const int OUT_OF_MEMORY = RenderingContext.OUT_OF_MEMORY; |
| 179 const int PACK_ALIGNMENT = RenderingContext.PACK_ALIGNMENT; |
| 180 const int POINTS = RenderingContext.POINTS; |
| 181 const int POLYGON_OFFSET_FACTOR = RenderingContext.POLYGON_OFFSET_FACTOR; |
| 182 const int POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; |
| 183 const int POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; |
| 184 const int RED_BITS = RenderingContext.RED_BITS; |
| 185 const int RENDERBUFFER = RenderingContext.RENDERBUFFER; |
| 186 const int RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; |
| 187 const int RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; |
| 188 const int RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; |
| 189 const int RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; |
| 190 const int RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; |
| 191 const int RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; |
| 192 const int RENDERBUFFER_INTERNAL_FORMAT = RenderingContext.RENDERBUFFER_INTERNAL_
FORMAT; |
| 193 const int RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; |
| 194 const int RENDERBUFFER_STENCIL_SIZE = RenderingContext.RENDERBUFFER_STENCIL_SIZE
; |
| 195 const int RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; |
| 196 const int RENDERER = RenderingContext.RENDERER; |
| 197 const int REPEAT = RenderingContext.REPEAT; |
| 198 const int REPLACE = RenderingContext.REPLACE; |
| 199 const int RGB = RenderingContext.RGB; |
| 200 const int RGB565 = RenderingContext.RGB565; |
| 201 const int RGB5_A1 = RenderingContext.RGB5_A1; |
| 202 const int RGBA = RenderingContext.RGBA; |
| 203 const int RGBA4 = RenderingContext.RGBA4; |
| 204 const int SAMPLER_2D = RenderingContext.SAMPLER_2D; |
| 205 const int SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; |
| 206 const int SAMPLES = RenderingContext.SAMPLES; |
| 207 const int SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; |
| 208 const int SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; |
| 209 const int SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; |
| 210 const int SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; |
| 211 const int SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; |
| 212 const int SCISSOR_BOX = RenderingContext.SCISSOR_BOX; |
| 213 const int SCISSOR_TEST = RenderingContext.SCISSOR_TEST; |
| 214 const int SHADER_TYPE = RenderingContext.SHADER_TYPE; |
| 215 const int SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; |
| 216 const int SHORT = RenderingContext.SHORT; |
| 217 const int SRC_ALPHA = RenderingContext.SRC_ALPHA; |
| 218 const int SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; |
| 219 const int SRC_COLOR = RenderingContext.SRC_COLOR; |
| 220 const int STATIC_DRAW = RenderingContext.STATIC_DRAW; |
| 221 const int STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; |
| 222 const int STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; |
| 223 const int STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; |
| 224 const int STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContext.STENCIL_BACK_PASS_DEPT
H_FAIL; |
| 225 const int STENCIL_BACK_PASS_DEPTH_PASS = RenderingContext.STENCIL_BACK_PASS_DEPT
H_PASS; |
| 226 const int STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; |
| 227 const int STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; |
| 228 const int STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; |
| 229 const int STENCIL_BITS = RenderingContext.STENCIL_BITS; |
| 230 const int STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; |
| 231 const int STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; |
| 232 const int STENCIL_FAIL = RenderingContext.STENCIL_FAIL; |
| 233 const int STENCIL_FUNC = RenderingContext.STENCIL_FUNC; |
| 234 const int STENCIL_INDEX = RenderingContext.STENCIL_INDEX; |
| 235 const int STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; |
| 236 const int STENCIL_PASS_DEPTH_FAIL = RenderingContext.STENCIL_PASS_DEPTH_FAIL; |
| 237 const int STENCIL_PASS_DEPTH_PASS = RenderingContext.STENCIL_PASS_DEPTH_PASS; |
| 238 const int STENCIL_REF = RenderingContext.STENCIL_REF; |
| 239 const int STENCIL_TEST = RenderingContext.STENCIL_TEST; |
| 240 const int STENCIL_VALUE_MASK = RenderingContext.STENCIL_VALUE_MASK; |
| 241 const int STENCIL_WRITEMASK = RenderingContext.STENCIL_WRITEMASK; |
| 242 const int STREAM_DRAW = RenderingContext.STREAM_DRAW; |
| 243 const int SUBPIXEL_BITS = RenderingContext.SUBPIXEL_BITS; |
| 244 const int TEXTURE = RenderingContext.TEXTURE; |
| 245 const int TEXTURE0 = RenderingContext.TEXTURE0; |
| 246 const int TEXTURE1 = RenderingContext.TEXTURE1; |
| 247 const int TEXTURE10 = RenderingContext.TEXTURE10; |
| 248 const int TEXTURE11 = RenderingContext.TEXTURE11; |
| 249 const int TEXTURE12 = RenderingContext.TEXTURE12; |
| 250 const int TEXTURE13 = RenderingContext.TEXTURE13; |
| 251 const int TEXTURE14 = RenderingContext.TEXTURE14; |
| 252 const int TEXTURE15 = RenderingContext.TEXTURE15; |
| 253 const int TEXTURE16 = RenderingContext.TEXTURE16; |
| 254 const int TEXTURE17 = RenderingContext.TEXTURE17; |
| 255 const int TEXTURE18 = RenderingContext.TEXTURE18; |
| 256 const int TEXTURE19 = RenderingContext.TEXTURE19; |
| 257 const int TEXTURE2 = RenderingContext.TEXTURE2; |
| 258 const int TEXTURE20 = RenderingContext.TEXTURE20; |
| 259 const int TEXTURE21 = RenderingContext.TEXTURE21; |
| 260 const int TEXTURE22 = RenderingContext.TEXTURE22; |
| 261 const int TEXTURE23 = RenderingContext.TEXTURE23; |
| 262 const int TEXTURE24 = RenderingContext.TEXTURE24; |
| 263 const int TEXTURE25 = RenderingContext.TEXTURE25; |
| 264 const int TEXTURE26 = RenderingContext.TEXTURE26; |
| 265 const int TEXTURE27 = RenderingContext.TEXTURE27; |
| 266 const int TEXTURE28 = RenderingContext.TEXTURE28; |
| 267 const int TEXTURE29 = RenderingContext.TEXTURE29; |
| 268 const int TEXTURE3 = RenderingContext.TEXTURE3; |
| 269 const int TEXTURE30 = RenderingContext.TEXTURE30; |
| 270 const int TEXTURE31 = RenderingContext.TEXTURE31; |
| 271 const int TEXTURE4 = RenderingContext.TEXTURE4; |
| 272 const int TEXTURE5 = RenderingContext.TEXTURE5; |
| 273 const int TEXTURE6 = RenderingContext.TEXTURE6; |
| 274 const int TEXTURE7 = RenderingContext.TEXTURE7; |
| 275 const int TEXTURE8 = RenderingContext.TEXTURE8; |
| 276 const int TEXTURE9 = RenderingContext.TEXTURE9; |
| 277 const int TEXTURE_2D = RenderingContext.TEXTURE_2D; |
| 278 const int TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; |
| 279 const int TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; |
| 280 const int TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; |
| 281 const int TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_X; |
| 282 const int TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Y; |
| 283 const int TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_NEGATI
VE_Z; |
| 284 const int TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_X; |
| 285 const int TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Y; |
| 286 const int TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_POSITI
VE_Z; |
| 287 const int TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; |
| 288 const int TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; |
| 289 const int TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; |
| 290 const int TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; |
| 291 const int TRIANGLES = RenderingContext.TRIANGLES; |
| 292 const int TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; |
| 293 const int TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; |
| 294 const int UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; |
| 295 const int UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPAC
E_CONVERSION_WEBGL; |
| 296 const int UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; |
| 297 const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContext.UNPACK_PREMULTIPLY_A
LPHA_WEBGL; |
| 298 const int UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; |
| 299 const int UNSIGNED_INT = RenderingContext.UNSIGNED_INT; |
| 300 const int UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; |
| 301 const int UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; |
| 302 const int UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; |
| 303 const int UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; |
| 304 const int VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; |
| 305 const int VENDOR = RenderingContext.VENDOR; |
| 306 const int VERSION = RenderingContext.VERSION; |
| 307 const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContext.VERTEX_ATTRIB_AR
RAY_BUFFER_BINDING; |
| 308 const int VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContext.VERTEX_ATTRIB_ARRAY_ENA
BLED; |
| 309 const int VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContext.VERTEX_ATTRIB_ARRAY_
NORMALIZED; |
| 310 const int VERTEX_ATTRIB_ARRAY_POINTER = RenderingContext.VERTEX_ATTRIB_ARRAY_POI
NTER; |
| 311 const int VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; |
| 312 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRI
DE; |
| 313 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; |
| 314 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; |
| 315 const int VIEWPORT = RenderingContext.VIEWPORT; |
| 316 const int ZERO = RenderingContext.ZERO; |
| 317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 318 // for details. All rights reserved. Use of this source code is governed by a |
| 319 // BSD-style license that can be found in the LICENSE file. |
| 320 |
| 321 // WARNING: Do not edit - generated code. |
| 322 |
| 323 |
| 324 @DocsEditable |
| 325 @DomName('WebGLActiveInfo') |
| 326 class ActiveInfo extends NativeFieldWrapperClass1 { |
| 327 ActiveInfo.internal(); |
| 328 |
| 329 @DomName('WebGLActiveInfo.name') |
| 330 @DocsEditable |
| 331 String get name native "WebGLActiveInfo_name_Getter"; |
| 332 |
| 333 @DomName('WebGLActiveInfo.size') |
| 334 @DocsEditable |
| 335 int get size native "WebGLActiveInfo_size_Getter"; |
| 336 |
| 337 @DomName('WebGLActiveInfo.type') |
| 338 @DocsEditable |
| 339 int get type native "WebGLActiveInfo_type_Getter"; |
| 340 |
| 341 } |
| 342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 343 // for details. All rights reserved. Use of this source code is governed by a |
| 344 // BSD-style license that can be found in the LICENSE file. |
| 345 |
| 346 // WARNING: Do not edit - generated code. |
| 347 |
| 348 |
| 349 @DocsEditable |
| 350 @DomName('WebGLBuffer') |
| 351 class Buffer extends NativeFieldWrapperClass1 { |
| 352 Buffer.internal(); |
| 353 |
| 354 } |
| 355 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 356 // for details. All rights reserved. Use of this source code is governed by a |
| 357 // BSD-style license that can be found in the LICENSE file. |
| 358 |
| 359 // WARNING: Do not edit - generated code. |
| 360 |
| 361 |
| 362 @DocsEditable |
| 363 @DomName('WebGLCompressedTextureATC') |
| 364 class CompressedTextureAtc extends NativeFieldWrapperClass1 { |
| 365 CompressedTextureAtc.internal(); |
| 366 |
| 367 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; |
| 368 |
| 369 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; |
| 370 |
| 371 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; |
| 372 |
| 373 } |
| 374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 375 // for details. All rights reserved. Use of this source code is governed by a |
| 376 // BSD-style license that can be found in the LICENSE file. |
| 377 |
| 378 // WARNING: Do not edit - generated code. |
| 379 |
| 380 |
| 381 @DocsEditable |
| 382 @DomName('WebGLCompressedTexturePVRTC') |
| 383 class CompressedTexturePvrtc extends NativeFieldWrapperClass1 { |
| 384 CompressedTexturePvrtc.internal(); |
| 385 |
| 386 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; |
| 387 |
| 388 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; |
| 389 |
| 390 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; |
| 391 |
| 392 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; |
| 393 |
| 394 } |
| 395 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 396 // for details. All rights reserved. Use of this source code is governed by a |
| 397 // BSD-style license that can be found in the LICENSE file. |
| 398 |
| 399 // WARNING: Do not edit - generated code. |
| 400 |
| 401 |
| 402 @DocsEditable |
| 403 @DomName('WebGLCompressedTextureS3TC') |
| 404 class CompressedTextureS3TC extends NativeFieldWrapperClass1 { |
| 405 CompressedTextureS3TC.internal(); |
| 406 |
| 407 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; |
| 408 |
| 409 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; |
| 410 |
| 411 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; |
| 412 |
| 413 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; |
| 414 |
| 415 } |
| 416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 417 // for details. All rights reserved. Use of this source code is governed by a |
| 418 // BSD-style license that can be found in the LICENSE file. |
| 419 |
| 420 // WARNING: Do not edit - generated code. |
| 421 |
| 422 |
| 423 @DocsEditable |
| 424 @DomName('WebGLContextAttributes') |
| 425 class ContextAttributes extends NativeFieldWrapperClass1 { |
| 426 ContextAttributes.internal(); |
| 427 |
| 428 @DomName('WebGLContextAttributes.alpha') |
| 429 @DocsEditable |
| 430 bool get alpha native "WebGLContextAttributes_alpha_Getter"; |
| 431 |
| 432 @DomName('WebGLContextAttributes.alpha') |
| 433 @DocsEditable |
| 434 void set alpha(bool value) native "WebGLContextAttributes_alpha_Setter"; |
| 435 |
| 436 @DomName('WebGLContextAttributes.antialias') |
| 437 @DocsEditable |
| 438 bool get antialias native "WebGLContextAttributes_antialias_Getter"; |
| 439 |
| 440 @DomName('WebGLContextAttributes.antialias') |
| 441 @DocsEditable |
| 442 void set antialias(bool value) native "WebGLContextAttributes_antialias_Setter
"; |
| 443 |
| 444 @DomName('WebGLContextAttributes.depth') |
| 445 @DocsEditable |
| 446 bool get depth native "WebGLContextAttributes_depth_Getter"; |
| 447 |
| 448 @DomName('WebGLContextAttributes.depth') |
| 449 @DocsEditable |
| 450 void set depth(bool value) native "WebGLContextAttributes_depth_Setter"; |
| 451 |
| 452 @DomName('WebGLContextAttributes.premultipliedAlpha') |
| 453 @DocsEditable |
| 454 bool get premultipliedAlpha native "WebGLContextAttributes_premultipliedAlpha_
Getter"; |
| 455 |
| 456 @DomName('WebGLContextAttributes.premultipliedAlpha') |
| 457 @DocsEditable |
| 458 void set premultipliedAlpha(bool value) native "WebGLContextAttributes_premult
ipliedAlpha_Setter"; |
| 459 |
| 460 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
| 461 @DocsEditable |
| 462 bool get preserveDrawingBuffer native "WebGLContextAttributes_preserveDrawingB
uffer_Getter"; |
| 463 |
| 464 @DomName('WebGLContextAttributes.preserveDrawingBuffer') |
| 465 @DocsEditable |
| 466 void set preserveDrawingBuffer(bool value) native "WebGLContextAttributes_pres
erveDrawingBuffer_Setter"; |
| 467 |
| 468 @DomName('WebGLContextAttributes.stencil') |
| 469 @DocsEditable |
| 470 bool get stencil native "WebGLContextAttributes_stencil_Getter"; |
| 471 |
| 472 @DomName('WebGLContextAttributes.stencil') |
| 473 @DocsEditable |
| 474 void set stencil(bool value) native "WebGLContextAttributes_stencil_Setter"; |
| 475 |
| 476 } |
| 477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 478 // for details. All rights reserved. Use of this source code is governed by a |
| 479 // BSD-style license that can be found in the LICENSE file. |
| 480 |
| 481 // WARNING: Do not edit - generated code. |
| 482 |
| 483 |
| 484 @DocsEditable |
| 485 @DomName('WebGLContextEvent') |
| 486 class ContextEvent extends Event { |
| 487 ContextEvent.internal() : super.internal(); |
| 488 |
| 489 @DomName('WebGLContextEvent.statusMessage') |
| 490 @DocsEditable |
| 491 String get statusMessage native "WebGLContextEvent_statusMessage_Getter"; |
| 492 |
| 493 } |
| 494 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 495 // for details. All rights reserved. Use of this source code is governed by a |
| 496 // BSD-style license that can be found in the LICENSE file. |
| 497 |
| 498 // WARNING: Do not edit - generated code. |
| 499 |
| 500 |
| 501 @DocsEditable |
| 502 @DomName('WebGLDebugRendererInfo') |
| 503 class DebugRendererInfo extends NativeFieldWrapperClass1 { |
| 504 DebugRendererInfo.internal(); |
| 505 |
| 506 static const int UNMASKED_RENDERER_WEBGL = 0x9246; |
| 507 |
| 508 static const int UNMASKED_VENDOR_WEBGL = 0x9245; |
| 509 |
| 510 } |
| 511 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 512 // for details. All rights reserved. Use of this source code is governed by a |
| 513 // BSD-style license that can be found in the LICENSE file. |
| 514 |
| 515 // WARNING: Do not edit - generated code. |
| 516 |
| 517 |
| 518 @DocsEditable |
| 519 @DomName('WebGLDebugShaders') |
| 520 class DebugShaders extends NativeFieldWrapperClass1 { |
| 521 DebugShaders.internal(); |
| 522 |
| 523 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
| 524 @DocsEditable |
| 525 String getTranslatedShaderSource(Shader shader) native "WebGLDebugShaders_getT
ranslatedShaderSource_Callback"; |
| 526 |
| 527 } |
| 528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 529 // for details. All rights reserved. Use of this source code is governed by a |
| 530 // BSD-style license that can be found in the LICENSE file. |
| 531 |
| 532 // WARNING: Do not edit - generated code. |
| 533 |
| 534 |
| 535 @DocsEditable |
| 536 @DomName('WebGLDepthTexture') |
| 537 class DepthTexture extends NativeFieldWrapperClass1 { |
| 538 DepthTexture.internal(); |
| 539 |
| 540 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
| 541 |
| 542 } |
| 543 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 544 // for details. All rights reserved. Use of this source code is governed by a |
| 545 // BSD-style license that can be found in the LICENSE file. |
| 546 |
| 547 // WARNING: Do not edit - generated code. |
| 548 |
| 549 |
| 550 @DocsEditable |
| 551 @DomName('EXTDrawBuffers') |
| 552 class ExtDrawBuffers extends NativeFieldWrapperClass1 { |
| 553 ExtDrawBuffers.internal(); |
| 554 |
| 555 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0; |
| 556 |
| 557 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA; |
| 558 |
| 559 static const int COLOR_ATTACHMENT11_EXT = 0x8CEB; |
| 560 |
| 561 static const int COLOR_ATTACHMENT12_EXT = 0x8CEC; |
| 562 |
| 563 static const int COLOR_ATTACHMENT13_EXT = 0x8CED; |
| 564 |
| 565 static const int COLOR_ATTACHMENT14_EXT = 0x8CEE; |
| 566 |
| 567 static const int COLOR_ATTACHMENT15_EXT = 0x8CEF; |
| 568 |
| 569 static const int COLOR_ATTACHMENT1_EXT = 0x8CE1; |
| 570 |
| 571 static const int COLOR_ATTACHMENT2_EXT = 0x8CE2; |
| 572 |
| 573 static const int COLOR_ATTACHMENT3_EXT = 0x8CE3; |
| 574 |
| 575 static const int COLOR_ATTACHMENT4_EXT = 0x8CE4; |
| 576 |
| 577 static const int COLOR_ATTACHMENT5_EXT = 0x8CE5; |
| 578 |
| 579 static const int COLOR_ATTACHMENT6_EXT = 0x8CE6; |
| 580 |
| 581 static const int COLOR_ATTACHMENT7_EXT = 0x8CE7; |
| 582 |
| 583 static const int COLOR_ATTACHMENT8_EXT = 0x8CE8; |
| 584 |
| 585 static const int COLOR_ATTACHMENT9_EXT = 0x8CE9; |
| 586 |
| 587 static const int DRAW_BUFFER0_EXT = 0x8825; |
| 588 |
| 589 static const int DRAW_BUFFER10_EXT = 0x882F; |
| 590 |
| 591 static const int DRAW_BUFFER11_EXT = 0x8830; |
| 592 |
| 593 static const int DRAW_BUFFER12_EXT = 0x8831; |
| 594 |
| 595 static const int DRAW_BUFFER13_EXT = 0x8832; |
| 596 |
| 597 static const int DRAW_BUFFER14_EXT = 0x8833; |
| 598 |
| 599 static const int DRAW_BUFFER15_EXT = 0x8834; |
| 600 |
| 601 static const int DRAW_BUFFER1_EXT = 0x8826; |
| 602 |
| 603 static const int DRAW_BUFFER2_EXT = 0x8827; |
| 604 |
| 605 static const int DRAW_BUFFER3_EXT = 0x8828; |
| 606 |
| 607 static const int DRAW_BUFFER4_EXT = 0x8829; |
| 608 |
| 609 static const int DRAW_BUFFER5_EXT = 0x882A; |
| 610 |
| 611 static const int DRAW_BUFFER6_EXT = 0x882B; |
| 612 |
| 613 static const int DRAW_BUFFER7_EXT = 0x882C; |
| 614 |
| 615 static const int DRAW_BUFFER8_EXT = 0x882D; |
| 616 |
| 617 static const int DRAW_BUFFER9_EXT = 0x882E; |
| 618 |
| 619 static const int MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF; |
| 620 |
| 621 static const int MAX_DRAW_BUFFERS_EXT = 0x8824; |
| 622 |
| 623 } |
| 624 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 625 // for details. All rights reserved. Use of this source code is governed by a |
| 626 // BSD-style license that can be found in the LICENSE file. |
| 627 |
| 628 // WARNING: Do not edit - generated code. |
| 629 |
| 630 |
| 631 @DocsEditable |
| 632 @DomName('EXTTextureFilterAnisotropic') |
| 633 class ExtTextureFilterAnisotropic extends NativeFieldWrapperClass1 { |
| 634 ExtTextureFilterAnisotropic.internal(); |
| 635 |
| 636 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
| 637 |
| 638 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
| 639 |
| 640 } |
| 641 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 642 // for details. All rights reserved. Use of this source code is governed by a |
| 643 // BSD-style license that can be found in the LICENSE file. |
| 644 |
| 645 // WARNING: Do not edit - generated code. |
| 646 |
| 647 |
| 648 @DocsEditable |
| 649 @DomName('WebGLFramebuffer') |
| 650 class Framebuffer extends NativeFieldWrapperClass1 { |
| 651 Framebuffer.internal(); |
| 652 |
| 653 } |
| 654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 655 // for details. All rights reserved. Use of this source code is governed by a |
| 656 // BSD-style license that can be found in the LICENSE file. |
| 657 |
| 658 // WARNING: Do not edit - generated code. |
| 659 |
| 660 |
| 661 @DocsEditable |
| 662 @DomName('WebGLLoseContext') |
| 663 class LoseContext extends NativeFieldWrapperClass1 { |
| 664 LoseContext.internal(); |
| 665 |
| 666 @DomName('WebGLLoseContext.loseContext') |
| 667 @DocsEditable |
| 668 void loseContext() native "WebGLLoseContext_loseContext_Callback"; |
| 669 |
| 670 @DomName('WebGLLoseContext.restoreContext') |
| 671 @DocsEditable |
| 672 void restoreContext() native "WebGLLoseContext_restoreContext_Callback"; |
| 673 |
| 674 } |
| 675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 676 // for details. All rights reserved. Use of this source code is governed by a |
| 677 // BSD-style license that can be found in the LICENSE file. |
| 678 |
| 679 // WARNING: Do not edit - generated code. |
| 680 |
| 681 |
| 682 @DocsEditable |
| 683 @DomName('OESElementIndexUint') |
| 684 class OesElementIndexUint extends NativeFieldWrapperClass1 { |
| 685 OesElementIndexUint.internal(); |
| 686 |
| 687 } |
| 688 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 689 // for details. All rights reserved. Use of this source code is governed by a |
| 690 // BSD-style license that can be found in the LICENSE file. |
| 691 |
| 692 // WARNING: Do not edit - generated code. |
| 693 |
| 694 |
| 695 @DocsEditable |
| 696 @DomName('OESStandardDerivatives') |
| 697 class OesStandardDerivatives extends NativeFieldWrapperClass1 { |
| 698 OesStandardDerivatives.internal(); |
| 699 |
| 700 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
| 701 |
| 702 } |
| 703 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 704 // for details. All rights reserved. Use of this source code is governed by a |
| 705 // BSD-style license that can be found in the LICENSE file. |
| 706 |
| 707 // WARNING: Do not edit - generated code. |
| 708 |
| 709 |
| 710 @DocsEditable |
| 711 @DomName('OESTextureFloat') |
| 712 class OesTextureFloat extends NativeFieldWrapperClass1 { |
| 713 OesTextureFloat.internal(); |
| 714 |
| 715 } |
| 716 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 717 // for details. All rights reserved. Use of this source code is governed by a |
| 718 // BSD-style license that can be found in the LICENSE file. |
| 719 |
| 720 // WARNING: Do not edit - generated code. |
| 721 |
| 722 |
| 723 @DocsEditable |
| 724 @DomName('OESTextureHalfFloat') |
| 725 class OesTextureHalfFloat extends NativeFieldWrapperClass1 { |
| 726 OesTextureHalfFloat.internal(); |
| 727 |
| 728 } |
| 729 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 730 // for details. All rights reserved. Use of this source code is governed by a |
| 731 // BSD-style license that can be found in the LICENSE file. |
| 732 |
| 733 // WARNING: Do not edit - generated code. |
| 734 |
| 735 |
| 736 @DocsEditable |
| 737 @DomName('OESVertexArrayObject') |
| 738 class OesVertexArrayObject extends NativeFieldWrapperClass1 { |
| 739 OesVertexArrayObject.internal(); |
| 740 |
| 741 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
| 742 |
| 743 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
| 744 @DocsEditable |
| 745 void bindVertexArray(WebGLVertexArrayObject arrayObject) native "OESVertexArra
yObject_bindVertexArrayOES_Callback"; |
| 746 |
| 747 @DomName('OESVertexArrayObject.createVertexArrayOES') |
| 748 @DocsEditable |
| 749 WebGLVertexArrayObject createVertexArray() native "OESVertexArrayObject_create
VertexArrayOES_Callback"; |
| 750 |
| 751 @DomName('OESVertexArrayObject.deleteVertexArrayOES') |
| 752 @DocsEditable |
| 753 void deleteVertexArray(WebGLVertexArrayObject arrayObject) native "OESVertexAr
rayObject_deleteVertexArrayOES_Callback"; |
| 754 |
| 755 @DomName('OESVertexArrayObject.isVertexArrayOES') |
| 756 @DocsEditable |
| 757 bool isVertexArray(WebGLVertexArrayObject arrayObject) native "OESVertexArrayO
bject_isVertexArrayOES_Callback"; |
| 758 |
| 759 } |
| 760 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 761 // for details. All rights reserved. Use of this source code is governed by a |
| 762 // BSD-style license that can be found in the LICENSE file. |
| 763 |
| 764 // WARNING: Do not edit - generated code. |
| 765 |
| 766 |
| 767 @DocsEditable |
| 768 @DomName('WebGLProgram') |
| 769 class Program extends NativeFieldWrapperClass1 { |
| 770 Program.internal(); |
| 771 |
| 772 } |
| 773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 774 // for details. All rights reserved. Use of this source code is governed by a |
| 775 // BSD-style license that can be found in the LICENSE file. |
| 776 |
| 777 // WARNING: Do not edit - generated code. |
| 778 |
| 779 |
| 780 @DocsEditable |
| 781 @DomName('WebGLRenderbuffer') |
| 782 class Renderbuffer extends NativeFieldWrapperClass1 { |
| 783 Renderbuffer.internal(); |
| 784 |
| 785 } |
| 786 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 787 // for details. All rights reserved. Use of this source code is governed by a |
| 788 // BSD-style license that can be found in the LICENSE file. |
| 789 |
| 790 // WARNING: Do not edit - generated code. |
| 791 |
| 792 |
| 793 @DocsEditable |
| 794 @DomName('WebGLRenderingContext') |
| 795 @SupportedBrowser(SupportedBrowser.CHROME) |
| 796 @SupportedBrowser(SupportedBrowser.FIREFOX) |
| 797 @Experimental |
| 798 class RenderingContext extends CanvasRenderingContext { |
| 799 RenderingContext.internal() : super.internal(); |
| 800 |
| 801 /// Checks if this type is supported on the current platform. |
| 802 static bool get supported => true; |
| 803 |
| 804 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
| 805 |
| 806 static const int ACTIVE_TEXTURE = 0x84E0; |
| 807 |
| 808 static const int ACTIVE_UNIFORMS = 0x8B86; |
| 809 |
| 810 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; |
| 811 |
| 812 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; |
| 813 |
| 814 static const int ALPHA = 0x1906; |
| 815 |
| 816 static const int ALPHA_BITS = 0x0D55; |
| 817 |
| 818 static const int ALWAYS = 0x0207; |
| 819 |
| 820 static const int ARRAY_BUFFER = 0x8892; |
| 821 |
| 822 static const int ARRAY_BUFFER_BINDING = 0x8894; |
| 823 |
| 824 static const int ATTACHED_SHADERS = 0x8B85; |
| 825 |
| 826 static const int BACK = 0x0405; |
| 827 |
| 828 static const int BLEND = 0x0BE2; |
| 829 |
| 830 static const int BLEND_COLOR = 0x8005; |
| 831 |
| 832 static const int BLEND_DST_ALPHA = 0x80CA; |
| 833 |
| 834 static const int BLEND_DST_RGB = 0x80C8; |
| 835 |
| 836 static const int BLEND_EQUATION = 0x8009; |
| 837 |
| 838 static const int BLEND_EQUATION_ALPHA = 0x883D; |
| 839 |
| 840 static const int BLEND_EQUATION_RGB = 0x8009; |
| 841 |
| 842 static const int BLEND_SRC_ALPHA = 0x80CB; |
| 843 |
| 844 static const int BLEND_SRC_RGB = 0x80C9; |
| 845 |
| 846 static const int BLUE_BITS = 0x0D54; |
| 847 |
| 848 static const int BOOL = 0x8B56; |
| 849 |
| 850 static const int BOOL_VEC2 = 0x8B57; |
| 851 |
| 852 static const int BOOL_VEC3 = 0x8B58; |
| 853 |
| 854 static const int BOOL_VEC4 = 0x8B59; |
| 855 |
| 856 static const int BROWSER_DEFAULT_WEBGL = 0x9244; |
| 857 |
| 858 static const int BUFFER_SIZE = 0x8764; |
| 859 |
| 860 static const int BUFFER_USAGE = 0x8765; |
| 861 |
| 862 static const int BYTE = 0x1400; |
| 863 |
| 864 static const int CCW = 0x0901; |
| 865 |
| 866 static const int CLAMP_TO_EDGE = 0x812F; |
| 867 |
| 868 static const int COLOR_ATTACHMENT0 = 0x8CE0; |
| 869 |
| 870 static const int COLOR_BUFFER_BIT = 0x00004000; |
| 871 |
| 872 static const int COLOR_CLEAR_VALUE = 0x0C22; |
| 873 |
| 874 static const int COLOR_WRITEMASK = 0x0C23; |
| 875 |
| 876 static const int COMPILE_STATUS = 0x8B81; |
| 877 |
| 878 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; |
| 879 |
| 880 static const int CONSTANT_ALPHA = 0x8003; |
| 881 |
| 882 static const int CONSTANT_COLOR = 0x8001; |
| 883 |
| 884 static const int CONTEXT_LOST_WEBGL = 0x9242; |
| 885 |
| 886 static const int CULL_FACE = 0x0B44; |
| 887 |
| 888 static const int CULL_FACE_MODE = 0x0B45; |
| 889 |
| 890 static const int CURRENT_PROGRAM = 0x8B8D; |
| 891 |
| 892 static const int CURRENT_VERTEX_ATTRIB = 0x8626; |
| 893 |
| 894 static const int CW = 0x0900; |
| 895 |
| 896 static const int DECR = 0x1E03; |
| 897 |
| 898 static const int DECR_WRAP = 0x8508; |
| 899 |
| 900 static const int DELETE_STATUS = 0x8B80; |
| 901 |
| 902 static const int DEPTH_ATTACHMENT = 0x8D00; |
| 903 |
| 904 static const int DEPTH_BITS = 0x0D56; |
| 905 |
| 906 static const int DEPTH_BUFFER_BIT = 0x00000100; |
| 907 |
| 908 static const int DEPTH_CLEAR_VALUE = 0x0B73; |
| 909 |
| 910 static const int DEPTH_COMPONENT = 0x1902; |
| 911 |
| 912 static const int DEPTH_COMPONENT16 = 0x81A5; |
| 913 |
| 914 static const int DEPTH_FUNC = 0x0B74; |
| 915 |
| 916 static const int DEPTH_RANGE = 0x0B70; |
| 917 |
| 918 static const int DEPTH_STENCIL = 0x84F9; |
| 919 |
| 920 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; |
| 921 |
| 922 static const int DEPTH_TEST = 0x0B71; |
| 923 |
| 924 static const int DEPTH_WRITEMASK = 0x0B72; |
| 925 |
| 926 static const int DITHER = 0x0BD0; |
| 927 |
| 928 static const int DONT_CARE = 0x1100; |
| 929 |
| 930 static const int DST_ALPHA = 0x0304; |
| 931 |
| 932 static const int DST_COLOR = 0x0306; |
| 933 |
| 934 static const int DYNAMIC_DRAW = 0x88E8; |
| 935 |
| 936 static const int ELEMENT_ARRAY_BUFFER = 0x8893; |
| 937 |
| 938 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; |
| 939 |
| 940 static const int EQUAL = 0x0202; |
| 941 |
| 942 static const int FASTEST = 0x1101; |
| 943 |
| 944 static const int FLOAT = 0x1406; |
| 945 |
| 946 static const int FLOAT_MAT2 = 0x8B5A; |
| 947 |
| 948 static const int FLOAT_MAT3 = 0x8B5B; |
| 949 |
| 950 static const int FLOAT_MAT4 = 0x8B5C; |
| 951 |
| 952 static const int FLOAT_VEC2 = 0x8B50; |
| 953 |
| 954 static const int FLOAT_VEC3 = 0x8B51; |
| 955 |
| 956 static const int FLOAT_VEC4 = 0x8B52; |
| 957 |
| 958 static const int FRAGMENT_SHADER = 0x8B30; |
| 959 |
| 960 static const int FRAMEBUFFER = 0x8D40; |
| 961 |
| 962 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; |
| 963 |
| 964 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; |
| 965 |
| 966 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; |
| 967 |
| 968 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; |
| 969 |
| 970 static const int FRAMEBUFFER_BINDING = 0x8CA6; |
| 971 |
| 972 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; |
| 973 |
| 974 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; |
| 975 |
| 976 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; |
| 977 |
| 978 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; |
| 979 |
| 980 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; |
| 981 |
| 982 static const int FRONT = 0x0404; |
| 983 |
| 984 static const int FRONT_AND_BACK = 0x0408; |
| 985 |
| 986 static const int FRONT_FACE = 0x0B46; |
| 987 |
| 988 static const int FUNC_ADD = 0x8006; |
| 989 |
| 990 static const int FUNC_REVERSE_SUBTRACT = 0x800B; |
| 991 |
| 992 static const int FUNC_SUBTRACT = 0x800A; |
| 993 |
| 994 static const int GENERATE_MIPMAP_HINT = 0x8192; |
| 995 |
| 996 static const int GEQUAL = 0x0206; |
| 997 |
| 998 static const int GREATER = 0x0204; |
| 999 |
| 1000 static const int GREEN_BITS = 0x0D53; |
| 1001 |
| 1002 static const int HALF_FLOAT_OES = 0x8D61; |
| 1003 |
| 1004 static const int HIGH_FLOAT = 0x8DF2; |
| 1005 |
| 1006 static const int HIGH_INT = 0x8DF5; |
| 1007 |
| 1008 static const int INCR = 0x1E02; |
| 1009 |
| 1010 static const int INCR_WRAP = 0x8507; |
| 1011 |
| 1012 static const int INT = 0x1404; |
| 1013 |
| 1014 static const int INT_VEC2 = 0x8B53; |
| 1015 |
| 1016 static const int INT_VEC3 = 0x8B54; |
| 1017 |
| 1018 static const int INT_VEC4 = 0x8B55; |
| 1019 |
| 1020 static const int INVALID_ENUM = 0x0500; |
| 1021 |
| 1022 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; |
| 1023 |
| 1024 static const int INVALID_OPERATION = 0x0502; |
| 1025 |
| 1026 static const int INVALID_VALUE = 0x0501; |
| 1027 |
| 1028 static const int INVERT = 0x150A; |
| 1029 |
| 1030 static const int KEEP = 0x1E00; |
| 1031 |
| 1032 static const int LEQUAL = 0x0203; |
| 1033 |
| 1034 static const int LESS = 0x0201; |
| 1035 |
| 1036 static const int LINEAR = 0x2601; |
| 1037 |
| 1038 static const int LINEAR_MIPMAP_LINEAR = 0x2703; |
| 1039 |
| 1040 static const int LINEAR_MIPMAP_NEAREST = 0x2701; |
| 1041 |
| 1042 static const int LINES = 0x0001; |
| 1043 |
| 1044 static const int LINE_LOOP = 0x0002; |
| 1045 |
| 1046 static const int LINE_STRIP = 0x0003; |
| 1047 |
| 1048 static const int LINE_WIDTH = 0x0B21; |
| 1049 |
| 1050 static const int LINK_STATUS = 0x8B82; |
| 1051 |
| 1052 static const int LOW_FLOAT = 0x8DF0; |
| 1053 |
| 1054 static const int LOW_INT = 0x8DF3; |
| 1055 |
| 1056 static const int LUMINANCE = 0x1909; |
| 1057 |
| 1058 static const int LUMINANCE_ALPHA = 0x190A; |
| 1059 |
| 1060 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; |
| 1061 |
| 1062 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; |
| 1063 |
| 1064 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; |
| 1065 |
| 1066 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; |
| 1067 |
| 1068 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; |
| 1069 |
| 1070 static const int MAX_TEXTURE_SIZE = 0x0D33; |
| 1071 |
| 1072 static const int MAX_VARYING_VECTORS = 0x8DFC; |
| 1073 |
| 1074 static const int MAX_VERTEX_ATTRIBS = 0x8869; |
| 1075 |
| 1076 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; |
| 1077 |
| 1078 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; |
| 1079 |
| 1080 static const int MAX_VIEWPORT_DIMS = 0x0D3A; |
| 1081 |
| 1082 static const int MEDIUM_FLOAT = 0x8DF1; |
| 1083 |
| 1084 static const int MEDIUM_INT = 0x8DF4; |
| 1085 |
| 1086 static const int MIRRORED_REPEAT = 0x8370; |
| 1087 |
| 1088 static const int NEAREST = 0x2600; |
| 1089 |
| 1090 static const int NEAREST_MIPMAP_LINEAR = 0x2702; |
| 1091 |
| 1092 static const int NEAREST_MIPMAP_NEAREST = 0x2700; |
| 1093 |
| 1094 static const int NEVER = 0x0200; |
| 1095 |
| 1096 static const int NICEST = 0x1102; |
| 1097 |
| 1098 static const int NONE = 0; |
| 1099 |
| 1100 static const int NOTEQUAL = 0x0205; |
| 1101 |
| 1102 static const int NO_ERROR = 0; |
| 1103 |
| 1104 static const int ONE = 1; |
| 1105 |
| 1106 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; |
| 1107 |
| 1108 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; |
| 1109 |
| 1110 static const int ONE_MINUS_DST_ALPHA = 0x0305; |
| 1111 |
| 1112 static const int ONE_MINUS_DST_COLOR = 0x0307; |
| 1113 |
| 1114 static const int ONE_MINUS_SRC_ALPHA = 0x0303; |
| 1115 |
| 1116 static const int ONE_MINUS_SRC_COLOR = 0x0301; |
| 1117 |
| 1118 static const int OUT_OF_MEMORY = 0x0505; |
| 1119 |
| 1120 static const int PACK_ALIGNMENT = 0x0D05; |
| 1121 |
| 1122 static const int POINTS = 0x0000; |
| 1123 |
| 1124 static const int POLYGON_OFFSET_FACTOR = 0x8038; |
| 1125 |
| 1126 static const int POLYGON_OFFSET_FILL = 0x8037; |
| 1127 |
| 1128 static const int POLYGON_OFFSET_UNITS = 0x2A00; |
| 1129 |
| 1130 static const int RED_BITS = 0x0D52; |
| 1131 |
| 1132 static const int RENDERBUFFER = 0x8D41; |
| 1133 |
| 1134 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; |
| 1135 |
| 1136 static const int RENDERBUFFER_BINDING = 0x8CA7; |
| 1137 |
| 1138 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; |
| 1139 |
| 1140 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; |
| 1141 |
| 1142 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; |
| 1143 |
| 1144 static const int RENDERBUFFER_HEIGHT = 0x8D43; |
| 1145 |
| 1146 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; |
| 1147 |
| 1148 static const int RENDERBUFFER_RED_SIZE = 0x8D50; |
| 1149 |
| 1150 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; |
| 1151 |
| 1152 static const int RENDERBUFFER_WIDTH = 0x8D42; |
| 1153 |
| 1154 static const int RENDERER = 0x1F01; |
| 1155 |
| 1156 static const int REPEAT = 0x2901; |
| 1157 |
| 1158 static const int REPLACE = 0x1E01; |
| 1159 |
| 1160 static const int RGB = 0x1907; |
| 1161 |
| 1162 static const int RGB565 = 0x8D62; |
| 1163 |
| 1164 static const int RGB5_A1 = 0x8057; |
| 1165 |
| 1166 static const int RGBA = 0x1908; |
| 1167 |
| 1168 static const int RGBA4 = 0x8056; |
| 1169 |
| 1170 static const int SAMPLER_2D = 0x8B5E; |
| 1171 |
| 1172 static const int SAMPLER_CUBE = 0x8B60; |
| 1173 |
| 1174 static const int SAMPLES = 0x80A9; |
| 1175 |
| 1176 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; |
| 1177 |
| 1178 static const int SAMPLE_BUFFERS = 0x80A8; |
| 1179 |
| 1180 static const int SAMPLE_COVERAGE = 0x80A0; |
| 1181 |
| 1182 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; |
| 1183 |
| 1184 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; |
| 1185 |
| 1186 static const int SCISSOR_BOX = 0x0C10; |
| 1187 |
| 1188 static const int SCISSOR_TEST = 0x0C11; |
| 1189 |
| 1190 static const int SHADER_TYPE = 0x8B4F; |
| 1191 |
| 1192 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; |
| 1193 |
| 1194 static const int SHORT = 0x1402; |
| 1195 |
| 1196 static const int SRC_ALPHA = 0x0302; |
| 1197 |
| 1198 static const int SRC_ALPHA_SATURATE = 0x0308; |
| 1199 |
| 1200 static const int SRC_COLOR = 0x0300; |
| 1201 |
| 1202 static const int STATIC_DRAW = 0x88E4; |
| 1203 |
| 1204 static const int STENCIL_ATTACHMENT = 0x8D20; |
| 1205 |
| 1206 static const int STENCIL_BACK_FAIL = 0x8801; |
| 1207 |
| 1208 static const int STENCIL_BACK_FUNC = 0x8800; |
| 1209 |
| 1210 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; |
| 1211 |
| 1212 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; |
| 1213 |
| 1214 static const int STENCIL_BACK_REF = 0x8CA3; |
| 1215 |
| 1216 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; |
| 1217 |
| 1218 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; |
| 1219 |
| 1220 static const int STENCIL_BITS = 0x0D57; |
| 1221 |
| 1222 static const int STENCIL_BUFFER_BIT = 0x00000400; |
| 1223 |
| 1224 static const int STENCIL_CLEAR_VALUE = 0x0B91; |
| 1225 |
| 1226 static const int STENCIL_FAIL = 0x0B94; |
| 1227 |
| 1228 static const int STENCIL_FUNC = 0x0B92; |
| 1229 |
| 1230 static const int STENCIL_INDEX = 0x1901; |
| 1231 |
| 1232 static const int STENCIL_INDEX8 = 0x8D48; |
| 1233 |
| 1234 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; |
| 1235 |
| 1236 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; |
| 1237 |
| 1238 static const int STENCIL_REF = 0x0B97; |
| 1239 |
| 1240 static const int STENCIL_TEST = 0x0B90; |
| 1241 |
| 1242 static const int STENCIL_VALUE_MASK = 0x0B93; |
| 1243 |
| 1244 static const int STENCIL_WRITEMASK = 0x0B98; |
| 1245 |
| 1246 static const int STREAM_DRAW = 0x88E0; |
| 1247 |
| 1248 static const int SUBPIXEL_BITS = 0x0D50; |
| 1249 |
| 1250 static const int TEXTURE = 0x1702; |
| 1251 |
| 1252 static const int TEXTURE0 = 0x84C0; |
| 1253 |
| 1254 static const int TEXTURE1 = 0x84C1; |
| 1255 |
| 1256 static const int TEXTURE10 = 0x84CA; |
| 1257 |
| 1258 static const int TEXTURE11 = 0x84CB; |
| 1259 |
| 1260 static const int TEXTURE12 = 0x84CC; |
| 1261 |
| 1262 static const int TEXTURE13 = 0x84CD; |
| 1263 |
| 1264 static const int TEXTURE14 = 0x84CE; |
| 1265 |
| 1266 static const int TEXTURE15 = 0x84CF; |
| 1267 |
| 1268 static const int TEXTURE16 = 0x84D0; |
| 1269 |
| 1270 static const int TEXTURE17 = 0x84D1; |
| 1271 |
| 1272 static const int TEXTURE18 = 0x84D2; |
| 1273 |
| 1274 static const int TEXTURE19 = 0x84D3; |
| 1275 |
| 1276 static const int TEXTURE2 = 0x84C2; |
| 1277 |
| 1278 static const int TEXTURE20 = 0x84D4; |
| 1279 |
| 1280 static const int TEXTURE21 = 0x84D5; |
| 1281 |
| 1282 static const int TEXTURE22 = 0x84D6; |
| 1283 |
| 1284 static const int TEXTURE23 = 0x84D7; |
| 1285 |
| 1286 static const int TEXTURE24 = 0x84D8; |
| 1287 |
| 1288 static const int TEXTURE25 = 0x84D9; |
| 1289 |
| 1290 static const int TEXTURE26 = 0x84DA; |
| 1291 |
| 1292 static const int TEXTURE27 = 0x84DB; |
| 1293 |
| 1294 static const int TEXTURE28 = 0x84DC; |
| 1295 |
| 1296 static const int TEXTURE29 = 0x84DD; |
| 1297 |
| 1298 static const int TEXTURE3 = 0x84C3; |
| 1299 |
| 1300 static const int TEXTURE30 = 0x84DE; |
| 1301 |
| 1302 static const int TEXTURE31 = 0x84DF; |
| 1303 |
| 1304 static const int TEXTURE4 = 0x84C4; |
| 1305 |
| 1306 static const int TEXTURE5 = 0x84C5; |
| 1307 |
| 1308 static const int TEXTURE6 = 0x84C6; |
| 1309 |
| 1310 static const int TEXTURE7 = 0x84C7; |
| 1311 |
| 1312 static const int TEXTURE8 = 0x84C8; |
| 1313 |
| 1314 static const int TEXTURE9 = 0x84C9; |
| 1315 |
| 1316 static const int TEXTURE_2D = 0x0DE1; |
| 1317 |
| 1318 static const int TEXTURE_BINDING_2D = 0x8069; |
| 1319 |
| 1320 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; |
| 1321 |
| 1322 static const int TEXTURE_CUBE_MAP = 0x8513; |
| 1323 |
| 1324 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; |
| 1325 |
| 1326 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; |
| 1327 |
| 1328 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; |
| 1329 |
| 1330 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; |
| 1331 |
| 1332 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; |
| 1333 |
| 1334 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; |
| 1335 |
| 1336 static const int TEXTURE_MAG_FILTER = 0x2800; |
| 1337 |
| 1338 static const int TEXTURE_MIN_FILTER = 0x2801; |
| 1339 |
| 1340 static const int TEXTURE_WRAP_S = 0x2802; |
| 1341 |
| 1342 static const int TEXTURE_WRAP_T = 0x2803; |
| 1343 |
| 1344 static const int TRIANGLES = 0x0004; |
| 1345 |
| 1346 static const int TRIANGLE_FAN = 0x0006; |
| 1347 |
| 1348 static const int TRIANGLE_STRIP = 0x0005; |
| 1349 |
| 1350 static const int UNPACK_ALIGNMENT = 0x0CF5; |
| 1351 |
| 1352 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; |
| 1353 |
| 1354 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; |
| 1355 |
| 1356 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; |
| 1357 |
| 1358 static const int UNSIGNED_BYTE = 0x1401; |
| 1359 |
| 1360 static const int UNSIGNED_INT = 0x1405; |
| 1361 |
| 1362 static const int UNSIGNED_SHORT = 0x1403; |
| 1363 |
| 1364 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; |
| 1365 |
| 1366 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; |
| 1367 |
| 1368 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; |
| 1369 |
| 1370 static const int VALIDATE_STATUS = 0x8B83; |
| 1371 |
| 1372 static const int VENDOR = 0x1F00; |
| 1373 |
| 1374 static const int VERSION = 0x1F02; |
| 1375 |
| 1376 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; |
| 1377 |
| 1378 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; |
| 1379 |
| 1380 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; |
| 1381 |
| 1382 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; |
| 1383 |
| 1384 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; |
| 1385 |
| 1386 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; |
| 1387 |
| 1388 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; |
| 1389 |
| 1390 static const int VERTEX_SHADER = 0x8B31; |
| 1391 |
| 1392 static const int VIEWPORT = 0x0BA2; |
| 1393 |
| 1394 static const int ZERO = 0; |
| 1395 |
| 1396 @DomName('WebGLRenderingContext.drawingBufferHeight') |
| 1397 @DocsEditable |
| 1398 int get drawingBufferHeight native "WebGLRenderingContext_drawingBufferHeight_
Getter"; |
| 1399 |
| 1400 @DomName('WebGLRenderingContext.drawingBufferWidth') |
| 1401 @DocsEditable |
| 1402 int get drawingBufferWidth native "WebGLRenderingContext_drawingBufferWidth_Ge
tter"; |
| 1403 |
| 1404 @DomName('WebGLRenderingContext.activeTexture') |
| 1405 @DocsEditable |
| 1406 void activeTexture(int texture) native "WebGLRenderingContext_activeTexture_Ca
llback"; |
| 1407 |
| 1408 @DomName('WebGLRenderingContext.attachShader') |
| 1409 @DocsEditable |
| 1410 void attachShader(Program program, Shader shader) native "WebGLRenderingContex
t_attachShader_Callback"; |
| 1411 |
| 1412 @DomName('WebGLRenderingContext.bindAttribLocation') |
| 1413 @DocsEditable |
| 1414 void bindAttribLocation(Program program, int index, String name) native "WebGL
RenderingContext_bindAttribLocation_Callback"; |
| 1415 |
| 1416 @DomName('WebGLRenderingContext.bindBuffer') |
| 1417 @DocsEditable |
| 1418 void bindBuffer(int target, Buffer buffer) native "WebGLRenderingContext_bindB
uffer_Callback"; |
| 1419 |
| 1420 @DomName('WebGLRenderingContext.bindFramebuffer') |
| 1421 @DocsEditable |
| 1422 void bindFramebuffer(int target, Framebuffer framebuffer) native "WebGLRenderi
ngContext_bindFramebuffer_Callback"; |
| 1423 |
| 1424 @DomName('WebGLRenderingContext.bindRenderbuffer') |
| 1425 @DocsEditable |
| 1426 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native "WebGLRend
eringContext_bindRenderbuffer_Callback"; |
| 1427 |
| 1428 @DomName('WebGLRenderingContext.bindTexture') |
| 1429 @DocsEditable |
| 1430 void bindTexture(int target, Texture texture) native "WebGLRenderingContext_bi
ndTexture_Callback"; |
| 1431 |
| 1432 @DomName('WebGLRenderingContext.blendColor') |
| 1433 @DocsEditable |
| 1434 void blendColor(num red, num green, num blue, num alpha) native "WebGLRenderin
gContext_blendColor_Callback"; |
| 1435 |
| 1436 @DomName('WebGLRenderingContext.blendEquation') |
| 1437 @DocsEditable |
| 1438 void blendEquation(int mode) native "WebGLRenderingContext_blendEquation_Callb
ack"; |
| 1439 |
| 1440 @DomName('WebGLRenderingContext.blendEquationSeparate') |
| 1441 @DocsEditable |
| 1442 void blendEquationSeparate(int modeRGB, int modeAlpha) native "WebGLRenderingC
ontext_blendEquationSeparate_Callback"; |
| 1443 |
| 1444 @DomName('WebGLRenderingContext.blendFunc') |
| 1445 @DocsEditable |
| 1446 void blendFunc(int sfactor, int dfactor) native "WebGLRenderingContext_blendFu
nc_Callback"; |
| 1447 |
| 1448 @DomName('WebGLRenderingContext.blendFuncSeparate') |
| 1449 @DocsEditable |
| 1450 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat
ive "WebGLRenderingContext_blendFuncSeparate_Callback"; |
| 1451 |
| 1452 void bufferData(int target, data_OR_size, int usage) { |
| 1453 if ((target is int || target == null) && (data_OR_size is ArrayBufferView ||
data_OR_size is _typeddata.TypedData || data_OR_size == null) && (usage is int
|| usage == null)) { |
| 1454 _bufferData_1(target, data_OR_size, usage); |
| 1455 return; |
| 1456 } |
| 1457 if ((target is int || target == null) && (data_OR_size is ArrayBuffer || dat
a_OR_size is _typeddata.ByteBuffer || data_OR_size == null) && (usage is int ||
usage == null)) { |
| 1458 _bufferData_2(target, data_OR_size, usage); |
| 1459 return; |
| 1460 } |
| 1461 if ((target is int || target == null) && (data_OR_size is int || data_OR_siz
e == null) && (usage is int || usage == null)) { |
| 1462 _bufferData_3(target, data_OR_size, usage); |
| 1463 return; |
| 1464 } |
| 1465 throw new ArgumentError("Incorrect number or type of arguments"); |
| 1466 } |
| 1467 |
| 1468 @DomName('WebGLRenderingContext._bufferData_1') |
| 1469 @DocsEditable |
| 1470 void _bufferData_1(target, data_OR_size, usage) native "WebGLRenderingContext_
_bufferData_1_Callback"; |
| 1471 |
| 1472 @DomName('WebGLRenderingContext._bufferData_2') |
| 1473 @DocsEditable |
| 1474 void _bufferData_2(target, data_OR_size, usage) native "WebGLRenderingContext_
_bufferData_2_Callback"; |
| 1475 |
| 1476 @DomName('WebGLRenderingContext._bufferData_3') |
| 1477 @DocsEditable |
| 1478 void _bufferData_3(target, data_OR_size, usage) native "WebGLRenderingContext_
_bufferData_3_Callback"; |
| 1479 |
| 1480 void bufferSubData(int target, int offset, /*ArrayBuffer*/ data) { |
| 1481 if ((target is int || target == null) && (offset is int || offset == null) &
& (data is ArrayBufferView || data is _typeddata.TypedData || data == null)) { |
| 1482 _bufferSubData_1(target, offset, data); |
| 1483 return; |
| 1484 } |
| 1485 if ((target is int || target == null) && (offset is int || offset == null) &
& (data is ArrayBuffer || data is _typeddata.ByteBuffer || data == null)) { |
| 1486 _bufferSubData_2(target, offset, data); |
| 1487 return; |
| 1488 } |
| 1489 throw new ArgumentError("Incorrect number or type of arguments"); |
| 1490 } |
| 1491 |
| 1492 @DomName('WebGLRenderingContext._bufferSubData_1') |
| 1493 @DocsEditable |
| 1494 void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext__buf
ferSubData_1_Callback"; |
| 1495 |
| 1496 @DomName('WebGLRenderingContext._bufferSubData_2') |
| 1497 @DocsEditable |
| 1498 void _bufferSubData_2(target, offset, data) native "WebGLRenderingContext__buf
ferSubData_2_Callback"; |
| 1499 |
| 1500 @DomName('WebGLRenderingContext.checkFramebufferStatus') |
| 1501 @DocsEditable |
| 1502 int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFram
ebufferStatus_Callback"; |
| 1503 |
| 1504 @DomName('WebGLRenderingContext.clear') |
| 1505 @DocsEditable |
| 1506 void clear(int mask) native "WebGLRenderingContext_clear_Callback"; |
| 1507 |
| 1508 @DomName('WebGLRenderingContext.clearColor') |
| 1509 @DocsEditable |
| 1510 void clearColor(num red, num green, num blue, num alpha) native "WebGLRenderin
gContext_clearColor_Callback"; |
| 1511 |
| 1512 @DomName('WebGLRenderingContext.clearDepth') |
| 1513 @DocsEditable |
| 1514 void clearDepth(num depth) native "WebGLRenderingContext_clearDepth_Callback"; |
| 1515 |
| 1516 @DomName('WebGLRenderingContext.clearStencil') |
| 1517 @DocsEditable |
| 1518 void clearStencil(int s) native "WebGLRenderingContext_clearStencil_Callback"; |
| 1519 |
| 1520 @DomName('WebGLRenderingContext.colorMask') |
| 1521 @DocsEditable |
| 1522 void colorMask(bool red, bool green, bool blue, bool alpha) native "WebGLRende
ringContext_colorMask_Callback"; |
| 1523 |
| 1524 @DomName('WebGLRenderingContext.compileShader') |
| 1525 @DocsEditable |
| 1526 void compileShader(Shader shader) native "WebGLRenderingContext_compileShader_
Callback"; |
| 1527 |
| 1528 @DomName('WebGLRenderingContext.compressedTexImage2D') |
| 1529 @DocsEditable |
| 1530 void compressedTexImage2D(int target, int level, int internalformat, int width
, int height, int border, /*ArrayBufferView*/ data) native "WebGLRenderingContex
t_compressedTexImage2D_Callback"; |
| 1531 |
| 1532 @DomName('WebGLRenderingContext.compressedTexSubImage2D') |
| 1533 @DocsEditable |
| 1534 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset,
int width, int height, int format, /*ArrayBufferView*/ data) native "WebGLRender
ingContext_compressedTexSubImage2D_Callback"; |
| 1535 |
| 1536 @DomName('WebGLRenderingContext.copyTexImage2D') |
| 1537 @DocsEditable |
| 1538 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i
nt width, int height, int border) native "WebGLRenderingContext_copyTexImage2D_C
allback"; |
| 1539 |
| 1540 @DomName('WebGLRenderingContext.copyTexSubImage2D') |
| 1541 @DocsEditable |
| 1542 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x,
int y, int width, int height) native "WebGLRenderingContext_copyTexSubImage2D_C
allback"; |
| 1543 |
| 1544 @DomName('WebGLRenderingContext.createBuffer') |
| 1545 @DocsEditable |
| 1546 Buffer createBuffer() native "WebGLRenderingContext_createBuffer_Callback"; |
| 1547 |
| 1548 @DomName('WebGLRenderingContext.createFramebuffer') |
| 1549 @DocsEditable |
| 1550 Framebuffer createFramebuffer() native "WebGLRenderingContext_createFramebuffe
r_Callback"; |
| 1551 |
| 1552 @DomName('WebGLRenderingContext.createProgram') |
| 1553 @DocsEditable |
| 1554 Program createProgram() native "WebGLRenderingContext_createProgram_Callback"; |
| 1555 |
| 1556 @DomName('WebGLRenderingContext.createRenderbuffer') |
| 1557 @DocsEditable |
| 1558 Renderbuffer createRenderbuffer() native "WebGLRenderingContext_createRenderbu
ffer_Callback"; |
| 1559 |
| 1560 @DomName('WebGLRenderingContext.createShader') |
| 1561 @DocsEditable |
| 1562 Shader createShader(int type) native "WebGLRenderingContext_createShader_Callb
ack"; |
| 1563 |
| 1564 @DomName('WebGLRenderingContext.createTexture') |
| 1565 @DocsEditable |
| 1566 Texture createTexture() native "WebGLRenderingContext_createTexture_Callback"; |
| 1567 |
| 1568 @DomName('WebGLRenderingContext.cullFace') |
| 1569 @DocsEditable |
| 1570 void cullFace(int mode) native "WebGLRenderingContext_cullFace_Callback"; |
| 1571 |
| 1572 @DomName('WebGLRenderingContext.deleteBuffer') |
| 1573 @DocsEditable |
| 1574 void deleteBuffer(Buffer buffer) native "WebGLRenderingContext_deleteBuffer_Ca
llback"; |
| 1575 |
| 1576 @DomName('WebGLRenderingContext.deleteFramebuffer') |
| 1577 @DocsEditable |
| 1578 void deleteFramebuffer(Framebuffer framebuffer) native "WebGLRenderingContext_
deleteFramebuffer_Callback"; |
| 1579 |
| 1580 @DomName('WebGLRenderingContext.deleteProgram') |
| 1581 @DocsEditable |
| 1582 void deleteProgram(Program program) native "WebGLRenderingContext_deleteProgra
m_Callback"; |
| 1583 |
| 1584 @DomName('WebGLRenderingContext.deleteRenderbuffer') |
| 1585 @DocsEditable |
| 1586 void deleteRenderbuffer(Renderbuffer renderbuffer) native "WebGLRenderingConte
xt_deleteRenderbuffer_Callback"; |
| 1587 |
| 1588 @DomName('WebGLRenderingContext.deleteShader') |
| 1589 @DocsEditable |
| 1590 void deleteShader(Shader shader) native "WebGLRenderingContext_deleteShader_Ca
llback"; |
| 1591 |
| 1592 @DomName('WebGLRenderingContext.deleteTexture') |
| 1593 @DocsEditable |
| 1594 void deleteTexture(Texture texture) native "WebGLRenderingContext_deleteTextur
e_Callback"; |
| 1595 |
| 1596 @DomName('WebGLRenderingContext.depthFunc') |
| 1597 @DocsEditable |
| 1598 void depthFunc(int func) native "WebGLRenderingContext_depthFunc_Callback"; |
| 1599 |
| 1600 @DomName('WebGLRenderingContext.depthMask') |
| 1601 @DocsEditable |
| 1602 void depthMask(bool flag) native "WebGLRenderingContext_depthMask_Callback"; |
| 1603 |
| 1604 @DomName('WebGLRenderingContext.depthRange') |
| 1605 @DocsEditable |
| 1606 void depthRange(num zNear, num zFar) native "WebGLRenderingContext_depthRange_
Callback"; |
| 1607 |
| 1608 @DomName('WebGLRenderingContext.detachShader') |
| 1609 @DocsEditable |
| 1610 void detachShader(Program program, Shader shader) native "WebGLRenderingContex
t_detachShader_Callback"; |
| 1611 |
| 1612 @DomName('WebGLRenderingContext.disable') |
| 1613 @DocsEditable |
| 1614 void disable(int cap) native "WebGLRenderingContext_disable_Callback"; |
| 1615 |
| 1616 @DomName('WebGLRenderingContext.disableVertexAttribArray') |
| 1617 @DocsEditable |
| 1618 void disableVertexAttribArray(int index) native "WebGLRenderingContext_disable
VertexAttribArray_Callback"; |
| 1619 |
| 1620 @DomName('WebGLRenderingContext.drawArrays') |
| 1621 @DocsEditable |
| 1622 void drawArrays(int mode, int first, int count) native "WebGLRenderingContext_
drawArrays_Callback"; |
| 1623 |
| 1624 @DomName('WebGLRenderingContext.drawElements') |
| 1625 @DocsEditable |
| 1626 void drawElements(int mode, int count, int type, int offset) native "WebGLRend
eringContext_drawElements_Callback"; |
| 1627 |
| 1628 @DomName('WebGLRenderingContext.enable') |
| 1629 @DocsEditable |
| 1630 void enable(int cap) native "WebGLRenderingContext_enable_Callback"; |
| 1631 |
| 1632 @DomName('WebGLRenderingContext.enableVertexAttribArray') |
| 1633 @DocsEditable |
| 1634 void enableVertexAttribArray(int index) native "WebGLRenderingContext_enableVe
rtexAttribArray_Callback"; |
| 1635 |
| 1636 @DomName('WebGLRenderingContext.finish') |
| 1637 @DocsEditable |
| 1638 void finish() native "WebGLRenderingContext_finish_Callback"; |
| 1639 |
| 1640 @DomName('WebGLRenderingContext.flush') |
| 1641 @DocsEditable |
| 1642 void flush() native "WebGLRenderingContext_flush_Callback"; |
| 1643 |
| 1644 @DomName('WebGLRenderingContext.framebufferRenderbuffer') |
| 1645 @DocsEditable |
| 1646 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge
t, Renderbuffer renderbuffer) native "WebGLRenderingContext_framebufferRenderbuf
fer_Callback"; |
| 1647 |
| 1648 @DomName('WebGLRenderingContext.framebufferTexture2D') |
| 1649 @DocsEditable |
| 1650 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level) native "WebGLRenderingContext_framebufferTexture2D_Callback"; |
| 1651 |
| 1652 @DomName('WebGLRenderingContext.frontFace') |
| 1653 @DocsEditable |
| 1654 void frontFace(int mode) native "WebGLRenderingContext_frontFace_Callback"; |
| 1655 |
| 1656 @DomName('WebGLRenderingContext.generateMipmap') |
| 1657 @DocsEditable |
| 1658 void generateMipmap(int target) native "WebGLRenderingContext_generateMipmap_C
allback"; |
| 1659 |
| 1660 @DomName('WebGLRenderingContext.getActiveAttrib') |
| 1661 @DocsEditable |
| 1662 ActiveInfo getActiveAttrib(Program program, int index) native "WebGLRenderingC
ontext_getActiveAttrib_Callback"; |
| 1663 |
| 1664 @DomName('WebGLRenderingContext.getActiveUniform') |
| 1665 @DocsEditable |
| 1666 ActiveInfo getActiveUniform(Program program, int index) native "WebGLRendering
Context_getActiveUniform_Callback"; |
| 1667 |
| 1668 @DomName('WebGLRenderingContext.getAttachedShaders') |
| 1669 @DocsEditable |
| 1670 void getAttachedShaders(Program program) native "WebGLRenderingContext_getAtta
chedShaders_Callback"; |
| 1671 |
| 1672 @DomName('WebGLRenderingContext.getAttribLocation') |
| 1673 @DocsEditable |
| 1674 int getAttribLocation(Program program, String name) native "WebGLRenderingCont
ext_getAttribLocation_Callback"; |
| 1675 |
| 1676 @DomName('WebGLRenderingContext.getBufferParameter') |
| 1677 @DocsEditable |
| 1678 Object getBufferParameter(int target, int pname) native "WebGLRenderingContext
_getBufferParameter_Callback"; |
| 1679 |
| 1680 @DomName('WebGLRenderingContext.getContextAttributes') |
| 1681 @DocsEditable |
| 1682 ContextAttributes getContextAttributes() native "WebGLRenderingContext_getCont
extAttributes_Callback"; |
| 1683 |
| 1684 @DomName('WebGLRenderingContext.getError') |
| 1685 @DocsEditable |
| 1686 int getError() native "WebGLRenderingContext_getError_Callback"; |
| 1687 |
| 1688 @DomName('WebGLRenderingContext.getExtension') |
| 1689 @DocsEditable |
| 1690 Object getExtension(String name) native "WebGLRenderingContext_getExtension_Ca
llback"; |
| 1691 |
| 1692 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
| 1693 @DocsEditable |
| 1694 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native "WebGLRenderingContext_getFramebufferAttachmentParameter_Callback"; |
| 1695 |
| 1696 @DomName('WebGLRenderingContext.getParameter') |
| 1697 @DocsEditable |
| 1698 Object getParameter(int pname) native "WebGLRenderingContext_getParameter_Call
back"; |
| 1699 |
| 1700 @DomName('WebGLRenderingContext.getProgramInfoLog') |
| 1701 @DocsEditable |
| 1702 String getProgramInfoLog(Program program) native "WebGLRenderingContext_getPro
gramInfoLog_Callback"; |
| 1703 |
| 1704 @DomName('WebGLRenderingContext.getProgramParameter') |
| 1705 @DocsEditable |
| 1706 Object getProgramParameter(Program program, int pname) native "WebGLRenderingC
ontext_getProgramParameter_Callback"; |
| 1707 |
| 1708 @DomName('WebGLRenderingContext.getRenderbufferParameter') |
| 1709 @DocsEditable |
| 1710 Object getRenderbufferParameter(int target, int pname) native "WebGLRenderingC
ontext_getRenderbufferParameter_Callback"; |
| 1711 |
| 1712 @DomName('WebGLRenderingContext.getShaderInfoLog') |
| 1713 @DocsEditable |
| 1714 String getShaderInfoLog(Shader shader) native "WebGLRenderingContext_getShader
InfoLog_Callback"; |
| 1715 |
| 1716 @DomName('WebGLRenderingContext.getShaderParameter') |
| 1717 @DocsEditable |
| 1718 Object getShaderParameter(Shader shader, int pname) native "WebGLRenderingCont
ext_getShaderParameter_Callback"; |
| 1719 |
| 1720 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') |
| 1721 @DocsEditable |
| 1722 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty
pe) native "WebGLRenderingContext_getShaderPrecisionFormat_Callback"; |
| 1723 |
| 1724 @DomName('WebGLRenderingContext.getShaderSource') |
| 1725 @DocsEditable |
| 1726 String getShaderSource(Shader shader) native "WebGLRenderingContext_getShaderS
ource_Callback"; |
| 1727 |
| 1728 @DomName('WebGLRenderingContext.getSupportedExtensions') |
| 1729 @DocsEditable |
| 1730 List<String> getSupportedExtensions() native "WebGLRenderingContext_getSupport
edExtensions_Callback"; |
| 1731 |
| 1732 @DomName('WebGLRenderingContext.getTexParameter') |
| 1733 @DocsEditable |
| 1734 Object getTexParameter(int target, int pname) native "WebGLRenderingContext_ge
tTexParameter_Callback"; |
| 1735 |
| 1736 @DomName('WebGLRenderingContext.getUniform') |
| 1737 @DocsEditable |
| 1738 Object getUniform(Program program, UniformLocation location) native "WebGLRend
eringContext_getUniform_Callback"; |
| 1739 |
| 1740 @DomName('WebGLRenderingContext.getUniformLocation') |
| 1741 @DocsEditable |
| 1742 UniformLocation getUniformLocation(Program program, String name) native "WebGL
RenderingContext_getUniformLocation_Callback"; |
| 1743 |
| 1744 @DomName('WebGLRenderingContext.getVertexAttrib') |
| 1745 @DocsEditable |
| 1746 Object getVertexAttrib(int index, int pname) native "WebGLRenderingContext_get
VertexAttrib_Callback"; |
| 1747 |
| 1748 @DomName('WebGLRenderingContext.getVertexAttribOffset') |
| 1749 @DocsEditable |
| 1750 int getVertexAttribOffset(int index, int pname) native "WebGLRenderingContext_
getVertexAttribOffset_Callback"; |
| 1751 |
| 1752 @DomName('WebGLRenderingContext.hint') |
| 1753 @DocsEditable |
| 1754 void hint(int target, int mode) native "WebGLRenderingContext_hint_Callback"; |
| 1755 |
| 1756 @DomName('WebGLRenderingContext.isBuffer') |
| 1757 @DocsEditable |
| 1758 bool isBuffer(Buffer buffer) native "WebGLRenderingContext_isBuffer_Callback"; |
| 1759 |
| 1760 @DomName('WebGLRenderingContext.isContextLost') |
| 1761 @DocsEditable |
| 1762 bool isContextLost() native "WebGLRenderingContext_isContextLost_Callback"; |
| 1763 |
| 1764 @DomName('WebGLRenderingContext.isEnabled') |
| 1765 @DocsEditable |
| 1766 bool isEnabled(int cap) native "WebGLRenderingContext_isEnabled_Callback"; |
| 1767 |
| 1768 @DomName('WebGLRenderingContext.isFramebuffer') |
| 1769 @DocsEditable |
| 1770 bool isFramebuffer(Framebuffer framebuffer) native "WebGLRenderingContext_isFr
amebuffer_Callback"; |
| 1771 |
| 1772 @DomName('WebGLRenderingContext.isProgram') |
| 1773 @DocsEditable |
| 1774 bool isProgram(Program program) native "WebGLRenderingContext_isProgram_Callba
ck"; |
| 1775 |
| 1776 @DomName('WebGLRenderingContext.isRenderbuffer') |
| 1777 @DocsEditable |
| 1778 bool isRenderbuffer(Renderbuffer renderbuffer) native "WebGLRenderingContext_i
sRenderbuffer_Callback"; |
| 1779 |
| 1780 @DomName('WebGLRenderingContext.isShader') |
| 1781 @DocsEditable |
| 1782 bool isShader(Shader shader) native "WebGLRenderingContext_isShader_Callback"; |
| 1783 |
| 1784 @DomName('WebGLRenderingContext.isTexture') |
| 1785 @DocsEditable |
| 1786 bool isTexture(Texture texture) native "WebGLRenderingContext_isTexture_Callba
ck"; |
| 1787 |
| 1788 @DomName('WebGLRenderingContext.lineWidth') |
| 1789 @DocsEditable |
| 1790 void lineWidth(num width) native "WebGLRenderingContext_lineWidth_Callback"; |
| 1791 |
| 1792 @DomName('WebGLRenderingContext.linkProgram') |
| 1793 @DocsEditable |
| 1794 void linkProgram(Program program) native "WebGLRenderingContext_linkProgram_Ca
llback"; |
| 1795 |
| 1796 @DomName('WebGLRenderingContext.pixelStorei') |
| 1797 @DocsEditable |
| 1798 void pixelStorei(int pname, int param) native "WebGLRenderingContext_pixelStor
ei_Callback"; |
| 1799 |
| 1800 @DomName('WebGLRenderingContext.polygonOffset') |
| 1801 @DocsEditable |
| 1802 void polygonOffset(num factor, num units) native "WebGLRenderingContext_polygo
nOffset_Callback"; |
| 1803 |
| 1804 @DomName('WebGLRenderingContext.readPixels') |
| 1805 @DocsEditable |
| 1806 void readPixels(int x, int y, int width, int height, int format, int type, /*A
rrayBufferView*/ pixels) native "WebGLRenderingContext_readPixels_Callback"; |
| 1807 |
| 1808 @DomName('WebGLRenderingContext.releaseShaderCompiler') |
| 1809 @DocsEditable |
| 1810 void releaseShaderCompiler() native "WebGLRenderingContext_releaseShaderCompil
er_Callback"; |
| 1811 |
| 1812 @DomName('WebGLRenderingContext.renderbufferStorage') |
| 1813 @DocsEditable |
| 1814 void renderbufferStorage(int target, int internalformat, int width, int height
) native "WebGLRenderingContext_renderbufferStorage_Callback"; |
| 1815 |
| 1816 @DomName('WebGLRenderingContext.sampleCoverage') |
| 1817 @DocsEditable |
| 1818 void sampleCoverage(num value, bool invert) native "WebGLRenderingContext_samp
leCoverage_Callback"; |
| 1819 |
| 1820 @DomName('WebGLRenderingContext.scissor') |
| 1821 @DocsEditable |
| 1822 void scissor(int x, int y, int width, int height) native "WebGLRenderingContex
t_scissor_Callback"; |
| 1823 |
| 1824 @DomName('WebGLRenderingContext.shaderSource') |
| 1825 @DocsEditable |
| 1826 void shaderSource(Shader shader, String string) native "WebGLRenderingContext_
shaderSource_Callback"; |
| 1827 |
| 1828 @DomName('WebGLRenderingContext.stencilFunc') |
| 1829 @DocsEditable |
| 1830 void stencilFunc(int func, int ref, int mask) native "WebGLRenderingContext_st
encilFunc_Callback"; |
| 1831 |
| 1832 @DomName('WebGLRenderingContext.stencilFuncSeparate') |
| 1833 @DocsEditable |
| 1834 void stencilFuncSeparate(int face, int func, int ref, int mask) native "WebGLR
enderingContext_stencilFuncSeparate_Callback"; |
| 1835 |
| 1836 @DomName('WebGLRenderingContext.stencilMask') |
| 1837 @DocsEditable |
| 1838 void stencilMask(int mask) native "WebGLRenderingContext_stencilMask_Callback"
; |
| 1839 |
| 1840 @DomName('WebGLRenderingContext.stencilMaskSeparate') |
| 1841 @DocsEditable |
| 1842 void stencilMaskSeparate(int face, int mask) native "WebGLRenderingContext_ste
ncilMaskSeparate_Callback"; |
| 1843 |
| 1844 @DomName('WebGLRenderingContext.stencilOp') |
| 1845 @DocsEditable |
| 1846 void stencilOp(int fail, int zfail, int zpass) native "WebGLRenderingContext_s
tencilOp_Callback"; |
| 1847 |
| 1848 @DomName('WebGLRenderingContext.stencilOpSeparate') |
| 1849 @DocsEditable |
| 1850 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGL
RenderingContext_stencilOpSeparate_Callback"; |
| 1851 |
| 1852 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, /*ArrayBufferView*/ pixels]) { |
| 1853 if ((target is int || target == null) && (level is int || level == null) &&
(internalformat is int || internalformat == null) && (format_OR_width is int ||
format_OR_width == null) && (height_OR_type is int || height_OR_type == null) &&
(border_OR_canvas_OR_image_OR_pixels_OR_video is int || border_OR_canvas_OR_ima
ge_OR_pixels_OR_video == null) && (format is int || format == null) && (type is
int || type == null) && (pixels is ArrayBufferView || pixels is _typeddata.Typed
Data || pixels == null)) { |
| 1854 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); |
| 1855 return; |
| 1856 } |
| 1857 if ((target is int || target == null) && (level is int || level == null) &&
(internalformat is int || internalformat == null) && (format_OR_width is int ||
format_OR_width == null) && (height_OR_type is int || height_OR_type == null) &&
(border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_canvas_
OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) { |
| 1858 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 1859 return; |
| 1860 } |
| 1861 if ((target is int || target == null) && (level is int || level == null) &&
(internalformat is int || internalformat == null) && (format_OR_width is int ||
format_OR_width == null) && (height_OR_type is int || height_OR_type == null) &&
(border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_OR_canv
as_OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) { |
| 1862 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 1863 return; |
| 1864 } |
| 1865 if ((target is int || target == null) && (level is int || level == null) &&
(internalformat is int || internalformat == null) && (format_OR_width is int ||
format_OR_width == null) && (height_OR_type is int || height_OR_type == null) &&
(border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border_OR_can
vas_OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) { |
| 1866 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 1867 return; |
| 1868 } |
| 1869 if ((target is int || target == null) && (level is int || level == null) &&
(internalformat is int || internalformat == null) && (format_OR_width is int ||
format_OR_width == null) && (height_OR_type is int || height_OR_type == null) &&
(border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_OR_canv
as_OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) { |
| 1870 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
| 1871 return; |
| 1872 } |
| 1873 throw new ArgumentError("Incorrect number or type of arguments"); |
| 1874 } |
| 1875 |
| 1876 @DomName('WebGLRenderingContext._texImage2D_1') |
| 1877 @DocsEditable |
| 1878 void _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels) native
"WebGLRenderingContext__texImage2D_1_Callback"; |
| 1879 |
| 1880 @DomName('WebGLRenderingContext._texImage2D_2') |
| 1881 @DocsEditable |
| 1882 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_2_Callback"; |
| 1883 |
| 1884 @DomName('WebGLRenderingContext._texImage2D_3') |
| 1885 @DocsEditable |
| 1886 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_3_Callback"; |
| 1887 |
| 1888 @DomName('WebGLRenderingContext._texImage2D_4') |
| 1889 @DocsEditable |
| 1890 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_4_Callback"; |
| 1891 |
| 1892 @DomName('WebGLRenderingContext._texImage2D_5') |
| 1893 @DocsEditable |
| 1894 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t
ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext
__texImage2D_5_Callback"; |
| 1895 |
| 1896 @DomName('WebGLRenderingContext.texParameterf') |
| 1897 @DocsEditable |
| 1898 void texParameterf(int target, int pname, num param) native "WebGLRenderingCon
text_texParameterf_Callback"; |
| 1899 |
| 1900 @DomName('WebGLRenderingContext.texParameteri') |
| 1901 @DocsEditable |
| 1902 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon
text_texParameteri_Callback"; |
| 1903 |
| 1904 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, /*ArrayBufferView*/ pixels]) { |
| 1905 if ((target is int || target == null) && (level is int || level == null) &&
(xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f
ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h
eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int |
| canvas_OR_format_OR_image_OR_pixels_OR_video == null) && (type is int || type
== null) && (pixels is ArrayBufferView || pixels is _typeddata.TypedData || pixe
ls == null)) { |
| 1906 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); |
| 1907 return; |
| 1908 } |
| 1909 if ((target is int || target == null) && (level is int || level == null) &&
(xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f
ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h
eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is Image
Data || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !?pix
els) { |
| 1910 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 1911 return; |
| 1912 } |
| 1913 if ((target is int || target == null) && (level is int || level == null) &&
(xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f
ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h
eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is Image
Element || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !?
pixels) { |
| 1914 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 1915 return; |
| 1916 } |
| 1917 if ((target is int || target == null) && (level is int || level == null) &&
(xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f
ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h
eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is Canva
sElement || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !
?pixels) { |
| 1918 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 1919 return; |
| 1920 } |
| 1921 if ((target is int || target == null) && (level is int || level == null) &&
(xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f
ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h
eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is Video
Element || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !?
pixels) { |
| 1922 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
| 1923 return; |
| 1924 } |
| 1925 throw new ArgumentError("Incorrect number or type of arguments"); |
| 1926 } |
| 1927 |
| 1928 @DomName('WebGLRenderingContext._texSubImage2D_1') |
| 1929 @DocsEditable |
| 1930 void _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) native "We
bGLRenderingContext__texSubImage2D_1_Callback"; |
| 1931 |
| 1932 @DomName('WebGLRenderingContext._texSubImage2D_2') |
| 1933 @DocsEditable |
| 1934 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_2_Callback"; |
| 1935 |
| 1936 @DomName('WebGLRenderingContext._texSubImage2D_3') |
| 1937 @DocsEditable |
| 1938 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_3_Callback"; |
| 1939 |
| 1940 @DomName('WebGLRenderingContext._texSubImage2D_4') |
| 1941 @DocsEditable |
| 1942 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_4_Callback"; |
| 1943 |
| 1944 @DomName('WebGLRenderingContext._texSubImage2D_5') |
| 1945 @DocsEditable |
| 1946 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height
_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo
ntext__texSubImage2D_5_Callback"; |
| 1947 |
| 1948 @DomName('WebGLRenderingContext.uniform1f') |
| 1949 @DocsEditable |
| 1950 void uniform1f(UniformLocation location, num x) native "WebGLRenderingContext_
uniform1f_Callback"; |
| 1951 |
| 1952 @DomName('WebGLRenderingContext.uniform1fv') |
| 1953 @DocsEditable |
| 1954 void uniform1fv(UniformLocation location, List<double> v) native "WebGLRenderi
ngContext_uniform1fv_Callback"; |
| 1955 |
| 1956 @DomName('WebGLRenderingContext.uniform1i') |
| 1957 @DocsEditable |
| 1958 void uniform1i(UniformLocation location, int x) native "WebGLRenderingContext_
uniform1i_Callback"; |
| 1959 |
| 1960 @DomName('WebGLRenderingContext.uniform1iv') |
| 1961 @DocsEditable |
| 1962 void uniform1iv(UniformLocation location, List<int> v) native "WebGLRenderingC
ontext_uniform1iv_Callback"; |
| 1963 |
| 1964 @DomName('WebGLRenderingContext.uniform2f') |
| 1965 @DocsEditable |
| 1966 void uniform2f(UniformLocation location, num x, num y) native "WebGLRenderingC
ontext_uniform2f_Callback"; |
| 1967 |
| 1968 @DomName('WebGLRenderingContext.uniform2fv') |
| 1969 @DocsEditable |
| 1970 void uniform2fv(UniformLocation location, List<double> v) native "WebGLRenderi
ngContext_uniform2fv_Callback"; |
| 1971 |
| 1972 @DomName('WebGLRenderingContext.uniform2i') |
| 1973 @DocsEditable |
| 1974 void uniform2i(UniformLocation location, int x, int y) native "WebGLRenderingC
ontext_uniform2i_Callback"; |
| 1975 |
| 1976 @DomName('WebGLRenderingContext.uniform2iv') |
| 1977 @DocsEditable |
| 1978 void uniform2iv(UniformLocation location, List<int> v) native "WebGLRenderingC
ontext_uniform2iv_Callback"; |
| 1979 |
| 1980 @DomName('WebGLRenderingContext.uniform3f') |
| 1981 @DocsEditable |
| 1982 void uniform3f(UniformLocation location, num x, num y, num z) native "WebGLRen
deringContext_uniform3f_Callback"; |
| 1983 |
| 1984 @DomName('WebGLRenderingContext.uniform3fv') |
| 1985 @DocsEditable |
| 1986 void uniform3fv(UniformLocation location, List<double> v) native "WebGLRenderi
ngContext_uniform3fv_Callback"; |
| 1987 |
| 1988 @DomName('WebGLRenderingContext.uniform3i') |
| 1989 @DocsEditable |
| 1990 void uniform3i(UniformLocation location, int x, int y, int z) native "WebGLRen
deringContext_uniform3i_Callback"; |
| 1991 |
| 1992 @DomName('WebGLRenderingContext.uniform3iv') |
| 1993 @DocsEditable |
| 1994 void uniform3iv(UniformLocation location, List<int> v) native "WebGLRenderingC
ontext_uniform3iv_Callback"; |
| 1995 |
| 1996 @DomName('WebGLRenderingContext.uniform4f') |
| 1997 @DocsEditable |
| 1998 void uniform4f(UniformLocation location, num x, num y, num z, num w) native "W
ebGLRenderingContext_uniform4f_Callback"; |
| 1999 |
| 2000 @DomName('WebGLRenderingContext.uniform4fv') |
| 2001 @DocsEditable |
| 2002 void uniform4fv(UniformLocation location, List<double> v) native "WebGLRenderi
ngContext_uniform4fv_Callback"; |
| 2003 |
| 2004 @DomName('WebGLRenderingContext.uniform4i') |
| 2005 @DocsEditable |
| 2006 void uniform4i(UniformLocation location, int x, int y, int z, int w) native "W
ebGLRenderingContext_uniform4i_Callback"; |
| 2007 |
| 2008 @DomName('WebGLRenderingContext.uniform4iv') |
| 2009 @DocsEditable |
| 2010 void uniform4iv(UniformLocation location, List<int> v) native "WebGLRenderingC
ontext_uniform4iv_Callback"; |
| 2011 |
| 2012 @DomName('WebGLRenderingContext.uniformMatrix2fv') |
| 2013 @DocsEditable |
| 2014 void uniformMatrix2fv(UniformLocation location, bool transpose, List<double> a
rray) native "WebGLRenderingContext_uniformMatrix2fv_Callback"; |
| 2015 |
| 2016 @DomName('WebGLRenderingContext.uniformMatrix3fv') |
| 2017 @DocsEditable |
| 2018 void uniformMatrix3fv(UniformLocation location, bool transpose, List<double> a
rray) native "WebGLRenderingContext_uniformMatrix3fv_Callback"; |
| 2019 |
| 2020 @DomName('WebGLRenderingContext.uniformMatrix4fv') |
| 2021 @DocsEditable |
| 2022 void uniformMatrix4fv(UniformLocation location, bool transpose, List<double> a
rray) native "WebGLRenderingContext_uniformMatrix4fv_Callback"; |
| 2023 |
| 2024 @DomName('WebGLRenderingContext.useProgram') |
| 2025 @DocsEditable |
| 2026 void useProgram(Program program) native "WebGLRenderingContext_useProgram_Call
back"; |
| 2027 |
| 2028 @DomName('WebGLRenderingContext.validateProgram') |
| 2029 @DocsEditable |
| 2030 void validateProgram(Program program) native "WebGLRenderingContext_validatePr
ogram_Callback"; |
| 2031 |
| 2032 @DomName('WebGLRenderingContext.vertexAttrib1f') |
| 2033 @DocsEditable |
| 2034 void vertexAttrib1f(int indx, num x) native "WebGLRenderingContext_vertexAttri
b1f_Callback"; |
| 2035 |
| 2036 @DomName('WebGLRenderingContext.vertexAttrib1fv') |
| 2037 @DocsEditable |
| 2038 void vertexAttrib1fv(int indx, List<double> values) native "WebGLRenderingCont
ext_vertexAttrib1fv_Callback"; |
| 2039 |
| 2040 @DomName('WebGLRenderingContext.vertexAttrib2f') |
| 2041 @DocsEditable |
| 2042 void vertexAttrib2f(int indx, num x, num y) native "WebGLRenderingContext_vert
exAttrib2f_Callback"; |
| 2043 |
| 2044 @DomName('WebGLRenderingContext.vertexAttrib2fv') |
| 2045 @DocsEditable |
| 2046 void vertexAttrib2fv(int indx, List<double> values) native "WebGLRenderingCont
ext_vertexAttrib2fv_Callback"; |
| 2047 |
| 2048 @DomName('WebGLRenderingContext.vertexAttrib3f') |
| 2049 @DocsEditable |
| 2050 void vertexAttrib3f(int indx, num x, num y, num z) native "WebGLRenderingConte
xt_vertexAttrib3f_Callback"; |
| 2051 |
| 2052 @DomName('WebGLRenderingContext.vertexAttrib3fv') |
| 2053 @DocsEditable |
| 2054 void vertexAttrib3fv(int indx, List<double> values) native "WebGLRenderingCont
ext_vertexAttrib3fv_Callback"; |
| 2055 |
| 2056 @DomName('WebGLRenderingContext.vertexAttrib4f') |
| 2057 @DocsEditable |
| 2058 void vertexAttrib4f(int indx, num x, num y, num z, num w) native "WebGLRenderi
ngContext_vertexAttrib4f_Callback"; |
| 2059 |
| 2060 @DomName('WebGLRenderingContext.vertexAttrib4fv') |
| 2061 @DocsEditable |
| 2062 void vertexAttrib4fv(int indx, List<double> values) native "WebGLRenderingCont
ext_vertexAttrib4fv_Callback"; |
| 2063 |
| 2064 @DomName('WebGLRenderingContext.vertexAttribPointer') |
| 2065 @DocsEditable |
| 2066 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st
ride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback"; |
| 2067 |
| 2068 @DomName('WebGLRenderingContext.viewport') |
| 2069 @DocsEditable |
| 2070 void viewport(int x, int y, int width, int height) native "WebGLRenderingConte
xt_viewport_Callback"; |
| 2071 |
| 2072 } |
| 2073 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2074 // for details. All rights reserved. Use of this source code is governed by a |
| 2075 // BSD-style license that can be found in the LICENSE file. |
| 2076 |
| 2077 // WARNING: Do not edit - generated code. |
| 2078 |
| 2079 |
| 2080 @DocsEditable |
| 2081 @DomName('WebGLShader') |
| 2082 class Shader extends NativeFieldWrapperClass1 { |
| 2083 Shader.internal(); |
| 2084 |
| 2085 } |
| 2086 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2087 // for details. All rights reserved. Use of this source code is governed by a |
| 2088 // BSD-style license that can be found in the LICENSE file. |
| 2089 |
| 2090 // WARNING: Do not edit - generated code. |
| 2091 |
| 2092 |
| 2093 @DocsEditable |
| 2094 @DomName('WebGLShaderPrecisionFormat') |
| 2095 class ShaderPrecisionFormat extends NativeFieldWrapperClass1 { |
| 2096 ShaderPrecisionFormat.internal(); |
| 2097 |
| 2098 @DomName('WebGLShaderPrecisionFormat.precision') |
| 2099 @DocsEditable |
| 2100 int get precision native "WebGLShaderPrecisionFormat_precision_Getter"; |
| 2101 |
| 2102 @DomName('WebGLShaderPrecisionFormat.rangeMax') |
| 2103 @DocsEditable |
| 2104 int get rangeMax native "WebGLShaderPrecisionFormat_rangeMax_Getter"; |
| 2105 |
| 2106 @DomName('WebGLShaderPrecisionFormat.rangeMin') |
| 2107 @DocsEditable |
| 2108 int get rangeMin native "WebGLShaderPrecisionFormat_rangeMin_Getter"; |
| 2109 |
| 2110 } |
| 2111 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2112 // for details. All rights reserved. Use of this source code is governed by a |
| 2113 // BSD-style license that can be found in the LICENSE file. |
| 2114 |
| 2115 // WARNING: Do not edit - generated code. |
| 2116 |
| 2117 |
| 2118 @DocsEditable |
| 2119 @DomName('WebGLTexture') |
| 2120 class Texture extends NativeFieldWrapperClass1 { |
| 2121 Texture.internal(); |
| 2122 |
| 2123 } |
| 2124 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2125 // for details. All rights reserved. Use of this source code is governed by a |
| 2126 // BSD-style license that can be found in the LICENSE file. |
| 2127 |
| 2128 // WARNING: Do not edit - generated code. |
| 2129 |
| 2130 |
| 2131 @DocsEditable |
| 2132 @DomName('WebGLUniformLocation') |
| 2133 class UniformLocation extends NativeFieldWrapperClass1 { |
| 2134 UniformLocation.internal(); |
| 2135 |
| 2136 } |
| 2137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2138 // for details. All rights reserved. Use of this source code is governed by a |
| 2139 // BSD-style license that can be found in the LICENSE file. |
| 2140 |
| 2141 // WARNING: Do not edit - generated code. |
| 2142 |
| 2143 |
| 2144 @DocsEditable |
| 2145 @DomName('WebGLVertexArrayObjectOES') |
| 2146 class WebGLVertexArrayObject extends NativeFieldWrapperClass1 { |
| 2147 WebGLVertexArrayObject.internal(); |
| 2148 |
| 2149 } |
| OLD | NEW |