OLD | NEW |
| (Empty) |
1 dart_library.library('dart/web_gl', null, /* Imports */[ | |
2 'dart/_runtime', | |
3 'dart/core', | |
4 'dart/html_common', | |
5 'dart/html', | |
6 'dart/_interceptors', | |
7 'dart/typed_data', | |
8 'dart/_metadata', | |
9 'dart/_js_helper' | |
10 ], /* Lazy imports */[ | |
11 ], function(exports, dart, core, html_common, html, _interceptors, typed_data, _
metadata, _js_helper) { | |
12 'use strict'; | |
13 let dartx = dart.dartx; | |
14 const _getContextAttributes_1 = Symbol('_getContextAttributes_1'); | |
15 const _texImage2D_1 = Symbol('_texImage2D_1'); | |
16 const _texImage2D_2 = Symbol('_texImage2D_2'); | |
17 const _texImage2D_3 = Symbol('_texImage2D_3'); | |
18 const _texImage2D_4 = Symbol('_texImage2D_4'); | |
19 const _texImage2D_5 = Symbol('_texImage2D_5'); | |
20 const _texImage2DImageData_1 = Symbol('_texImage2DImageData_1'); | |
21 const _texSubImage2D_1 = Symbol('_texSubImage2D_1'); | |
22 const _texSubImage2D_2 = Symbol('_texSubImage2D_2'); | |
23 const _texSubImage2D_3 = Symbol('_texSubImage2D_3'); | |
24 const _texSubImage2D_4 = Symbol('_texSubImage2D_4'); | |
25 const _texSubImage2D_5 = Symbol('_texSubImage2D_5'); | |
26 const _texSubImage2DImageData_1 = Symbol('_texSubImage2DImageData_1'); | |
27 dart.defineExtensionNames([ | |
28 'activeTexture', | |
29 'attachShader', | |
30 'bindAttribLocation', | |
31 'bindBuffer', | |
32 'bindFramebuffer', | |
33 'bindRenderbuffer', | |
34 'bindTexture', | |
35 'blendColor', | |
36 'blendEquation', | |
37 'blendEquationSeparate', | |
38 'blendFunc', | |
39 'blendFuncSeparate', | |
40 'bufferByteData', | |
41 'bufferData', | |
42 'bufferDataTyped', | |
43 'bufferSubByteData', | |
44 'bufferSubData', | |
45 'bufferSubDataTyped', | |
46 'checkFramebufferStatus', | |
47 'clear', | |
48 'clearColor', | |
49 'clearDepth', | |
50 'clearStencil', | |
51 'colorMask', | |
52 'compileShader', | |
53 'compressedTexImage2D', | |
54 'compressedTexSubImage2D', | |
55 'copyTexImage2D', | |
56 'copyTexSubImage2D', | |
57 'createBuffer', | |
58 'createFramebuffer', | |
59 'createProgram', | |
60 'createRenderbuffer', | |
61 'createShader', | |
62 'createTexture', | |
63 'cullFace', | |
64 'deleteBuffer', | |
65 'deleteFramebuffer', | |
66 'deleteProgram', | |
67 'deleteRenderbuffer', | |
68 'deleteShader', | |
69 'deleteTexture', | |
70 'depthFunc', | |
71 'depthMask', | |
72 'depthRange', | |
73 'detachShader', | |
74 'disable', | |
75 'disableVertexAttribArray', | |
76 'drawArrays', | |
77 'drawElements', | |
78 'enable', | |
79 'enableVertexAttribArray', | |
80 'finish', | |
81 'flush', | |
82 'framebufferRenderbuffer', | |
83 'framebufferTexture2D', | |
84 'frontFace', | |
85 'generateMipmap', | |
86 'getActiveAttrib', | |
87 'getActiveUniform', | |
88 'getAttachedShaders', | |
89 'getAttribLocation', | |
90 'getBufferParameter', | |
91 'getContextAttributes', | |
92 'getError', | |
93 'getExtension', | |
94 'getFramebufferAttachmentParameter', | |
95 'getParameter', | |
96 'getProgramInfoLog', | |
97 'getProgramParameter', | |
98 'getRenderbufferParameter', | |
99 'getShaderInfoLog', | |
100 'getShaderParameter', | |
101 'getShaderPrecisionFormat', | |
102 'getShaderSource', | |
103 'getSupportedExtensions', | |
104 'getTexParameter', | |
105 'getUniform', | |
106 'getUniformLocation', | |
107 'getVertexAttrib', | |
108 'getVertexAttribOffset', | |
109 'hint', | |
110 'isBuffer', | |
111 'isContextLost', | |
112 'isEnabled', | |
113 'isFramebuffer', | |
114 'isProgram', | |
115 'isRenderbuffer', | |
116 'isShader', | |
117 'isTexture', | |
118 'lineWidth', | |
119 'linkProgram', | |
120 'pixelStorei', | |
121 'polygonOffset', | |
122 'readPixels', | |
123 'renderbufferStorage', | |
124 'sampleCoverage', | |
125 'scissor', | |
126 'shaderSource', | |
127 'stencilFunc', | |
128 'stencilFuncSeparate', | |
129 'stencilMask', | |
130 'stencilMaskSeparate', | |
131 'stencilOp', | |
132 'stencilOpSeparate', | |
133 'texImage2D', | |
134 'texImage2DCanvas', | |
135 'texImage2DImage', | |
136 'texImage2DImageData', | |
137 'texImage2DVideo', | |
138 'texParameterf', | |
139 'texParameteri', | |
140 'texSubImage2D', | |
141 'texSubImage2DCanvas', | |
142 'texSubImage2DImage', | |
143 'texSubImage2DImageData', | |
144 'texSubImage2DVideo', | |
145 'uniform1f', | |
146 'uniform1fv', | |
147 'uniform1i', | |
148 'uniform1iv', | |
149 'uniform2f', | |
150 'uniform2fv', | |
151 'uniform2i', | |
152 'uniform2iv', | |
153 'uniform3f', | |
154 'uniform3fv', | |
155 'uniform3i', | |
156 'uniform3iv', | |
157 'uniform4f', | |
158 'uniform4fv', | |
159 'uniform4i', | |
160 'uniform4iv', | |
161 'uniformMatrix2fv', | |
162 'uniformMatrix3fv', | |
163 'uniformMatrix4fv', | |
164 'useProgram', | |
165 'validateProgram', | |
166 'vertexAttrib1f', | |
167 'vertexAttrib1fv', | |
168 'vertexAttrib2f', | |
169 'vertexAttrib2fv', | |
170 'vertexAttrib3f', | |
171 'vertexAttrib3fv', | |
172 'vertexAttrib4f', | |
173 'vertexAttrib4fv', | |
174 'vertexAttribPointer', | |
175 'viewport', | |
176 'texImage2DUntyped', | |
177 'texImage2DTyped', | |
178 'texSubImage2DUntyped', | |
179 'texSubImage2DTyped', | |
180 'canvas', | |
181 'drawingBufferHeight', | |
182 'drawingBufferWidth' | |
183 ]); | |
184 class RenderingContext extends _interceptors.Interceptor { | |
185 static _() { | |
186 dart.throw(new core.UnsupportedError("Not supported")); | |
187 } | |
188 static get supported() { | |
189 return !!window.WebGLRenderingContext; | |
190 } | |
191 get [dartx.canvas]() { | |
192 return this.canvas; | |
193 } | |
194 get [dartx.drawingBufferHeight]() { | |
195 return this.drawingBufferHeight; | |
196 } | |
197 get [dartx.drawingBufferWidth]() { | |
198 return this.drawingBufferWidth; | |
199 } | |
200 [dartx.activeTexture](texture) { | |
201 return this.activeTexture(texture); | |
202 } | |
203 [dartx.attachShader](program, shader) { | |
204 return this.attachShader(program, shader); | |
205 } | |
206 [dartx.bindAttribLocation](program, index, name) { | |
207 return this.bindAttribLocation(program, index, name); | |
208 } | |
209 [dartx.bindBuffer](target, buffer) { | |
210 return this.bindBuffer(target, buffer); | |
211 } | |
212 [dartx.bindFramebuffer](target, framebuffer) { | |
213 return this.bindFramebuffer(target, framebuffer); | |
214 } | |
215 [dartx.bindRenderbuffer](target, renderbuffer) { | |
216 return this.bindRenderbuffer(target, renderbuffer); | |
217 } | |
218 [dartx.bindTexture](target, texture) { | |
219 return this.bindTexture(target, texture); | |
220 } | |
221 [dartx.blendColor](red, green, blue, alpha) { | |
222 return this.blendColor(red, green, blue, alpha); | |
223 } | |
224 [dartx.blendEquation](mode) { | |
225 return this.blendEquation(mode); | |
226 } | |
227 [dartx.blendEquationSeparate](modeRGB, modeAlpha) { | |
228 return this.blendEquationSeparate(modeRGB, modeAlpha); | |
229 } | |
230 [dartx.blendFunc](sfactor, dfactor) { | |
231 return this.blendFunc(sfactor, dfactor); | |
232 } | |
233 [dartx.blendFuncSeparate](srcRGB, dstRGB, srcAlpha, dstAlpha) { | |
234 return this.blendFuncSeparate(srcRGB, dstRGB, srcAlpha, dstAlpha); | |
235 } | |
236 [dartx.bufferByteData](target, data, usage) { | |
237 return this.bufferData(target, data, usage); | |
238 } | |
239 [dartx.bufferData](target, data_OR_size, usage) { | |
240 return this.bufferData(target, data_OR_size, usage); | |
241 } | |
242 [dartx.bufferDataTyped](target, data, usage) { | |
243 return this.bufferData(target, data, usage); | |
244 } | |
245 [dartx.bufferSubByteData](target, offset, data) { | |
246 return this.bufferSubData(target, offset, data); | |
247 } | |
248 [dartx.bufferSubData](target, offset, data) { | |
249 return this.bufferSubData(target, offset, data); | |
250 } | |
251 [dartx.bufferSubDataTyped](target, offset, data) { | |
252 return this.bufferSubData(target, offset, data); | |
253 } | |
254 [dartx.checkFramebufferStatus](target) { | |
255 return this.checkFramebufferStatus(target); | |
256 } | |
257 [dartx.clear](mask) { | |
258 return this.clear(mask); | |
259 } | |
260 [dartx.clearColor](red, green, blue, alpha) { | |
261 return this.clearColor(red, green, blue, alpha); | |
262 } | |
263 [dartx.clearDepth](depth) { | |
264 return this.clearDepth(depth); | |
265 } | |
266 [dartx.clearStencil](s) { | |
267 return this.clearStencil(s); | |
268 } | |
269 [dartx.colorMask](red, green, blue, alpha) { | |
270 return this.colorMask(red, green, blue, alpha); | |
271 } | |
272 [dartx.compileShader](shader) { | |
273 return this.compileShader(shader); | |
274 } | |
275 [dartx.compressedTexImage2D](target, level, internalformat, width, height, b
order, data) { | |
276 return this.compressedTexImage2D(target, level, internalformat, width, hei
ght, border, data); | |
277 } | |
278 [dartx.compressedTexSubImage2D](target, level, xoffset, yoffset, width, heig
ht, format, data) { | |
279 return this.compressedTexSubImage2D(target, level, xoffset, yoffset, width
, height, format, data); | |
280 } | |
281 [dartx.copyTexImage2D](target, level, internalformat, x, y, width, height, b
order) { | |
282 return this.copyTexImage2D(target, level, internalformat, x, y, width, hei
ght, border); | |
283 } | |
284 [dartx.copyTexSubImage2D](target, level, xoffset, yoffset, x, y, width, heig
ht) { | |
285 return this.copyTexSubImage2D(target, level, xoffset, yoffset, x, y, width
, height); | |
286 } | |
287 [dartx.createBuffer]() { | |
288 return this.createBuffer(); | |
289 } | |
290 [dartx.createFramebuffer]() { | |
291 return this.createFramebuffer(); | |
292 } | |
293 [dartx.createProgram]() { | |
294 return this.createProgram(); | |
295 } | |
296 [dartx.createRenderbuffer]() { | |
297 return this.createRenderbuffer(); | |
298 } | |
299 [dartx.createShader](type) { | |
300 return this.createShader(type); | |
301 } | |
302 [dartx.createTexture]() { | |
303 return this.createTexture(); | |
304 } | |
305 [dartx.cullFace](mode) { | |
306 return this.cullFace(mode); | |
307 } | |
308 [dartx.deleteBuffer](buffer) { | |
309 return this.deleteBuffer(buffer); | |
310 } | |
311 [dartx.deleteFramebuffer](framebuffer) { | |
312 return this.deleteFramebuffer(framebuffer); | |
313 } | |
314 [dartx.deleteProgram](program) { | |
315 return this.deleteProgram(program); | |
316 } | |
317 [dartx.deleteRenderbuffer](renderbuffer) { | |
318 return this.deleteRenderbuffer(renderbuffer); | |
319 } | |
320 [dartx.deleteShader](shader) { | |
321 return this.deleteShader(shader); | |
322 } | |
323 [dartx.deleteTexture](texture) { | |
324 return this.deleteTexture(texture); | |
325 } | |
326 [dartx.depthFunc](func) { | |
327 return this.depthFunc(func); | |
328 } | |
329 [dartx.depthMask](flag) { | |
330 return this.depthMask(flag); | |
331 } | |
332 [dartx.depthRange](zNear, zFar) { | |
333 return this.depthRange(zNear, zFar); | |
334 } | |
335 [dartx.detachShader](program, shader) { | |
336 return this.detachShader(program, shader); | |
337 } | |
338 [dartx.disable](cap) { | |
339 return this.disable(cap); | |
340 } | |
341 [dartx.disableVertexAttribArray](index) { | |
342 return this.disableVertexAttribArray(index); | |
343 } | |
344 [dartx.drawArrays](mode, first, count) { | |
345 return this.drawArrays(mode, first, count); | |
346 } | |
347 [dartx.drawElements](mode, count, type, offset) { | |
348 return this.drawElements(mode, count, type, offset); | |
349 } | |
350 [dartx.enable](cap) { | |
351 return this.enable(cap); | |
352 } | |
353 [dartx.enableVertexAttribArray](index) { | |
354 return this.enableVertexAttribArray(index); | |
355 } | |
356 [dartx.finish]() { | |
357 return this.finish(); | |
358 } | |
359 [dartx.flush]() { | |
360 return this.flush(); | |
361 } | |
362 [dartx.framebufferRenderbuffer](target, attachment, renderbuffertarget, rend
erbuffer) { | |
363 return this.framebufferRenderbuffer(target, attachment, renderbuffertarget
, renderbuffer); | |
364 } | |
365 [dartx.framebufferTexture2D](target, attachment, textarget, texture, level)
{ | |
366 return this.framebufferTexture2D(target, attachment, textarget, texture, l
evel); | |
367 } | |
368 [dartx.frontFace](mode) { | |
369 return this.frontFace(mode); | |
370 } | |
371 [dartx.generateMipmap](target) { | |
372 return this.generateMipmap(target); | |
373 } | |
374 [dartx.getActiveAttrib](program, index) { | |
375 return this.getActiveAttrib(program, index); | |
376 } | |
377 [dartx.getActiveUniform](program, index) { | |
378 return this.getActiveUniform(program, index); | |
379 } | |
380 [dartx.getAttachedShaders](program) { | |
381 return this.getAttachedShaders(program); | |
382 } | |
383 [dartx.getAttribLocation](program, name) { | |
384 return this.getAttribLocation(program, name); | |
385 } | |
386 [dartx.getBufferParameter](target, pname) { | |
387 return this.getBufferParameter(target, pname); | |
388 } | |
389 [dartx.getContextAttributes]() { | |
390 return html_common.convertNativeToDart_ContextAttributes(this[_getContextA
ttributes_1]()); | |
391 } | |
392 [_getContextAttributes_1]() { | |
393 return this.getContextAttributes(); | |
394 } | |
395 [dartx.getError]() { | |
396 return this.getError(); | |
397 } | |
398 [dartx.getExtension](name) { | |
399 return this.getExtension(name); | |
400 } | |
401 [dartx.getFramebufferAttachmentParameter](target, attachment, pname) { | |
402 return this.getFramebufferAttachmentParameter(target, attachment, pname); | |
403 } | |
404 [dartx.getParameter](pname) { | |
405 return this.getParameter(pname); | |
406 } | |
407 [dartx.getProgramInfoLog](program) { | |
408 return this.getProgramInfoLog(program); | |
409 } | |
410 [dartx.getProgramParameter](program, pname) { | |
411 return this.getProgramParameter(program, pname); | |
412 } | |
413 [dartx.getRenderbufferParameter](target, pname) { | |
414 return this.getRenderbufferParameter(target, pname); | |
415 } | |
416 [dartx.getShaderInfoLog](shader) { | |
417 return this.getShaderInfoLog(shader); | |
418 } | |
419 [dartx.getShaderParameter](shader, pname) { | |
420 return this.getShaderParameter(shader, pname); | |
421 } | |
422 [dartx.getShaderPrecisionFormat](shadertype, precisiontype) { | |
423 return this.getShaderPrecisionFormat(shadertype, precisiontype); | |
424 } | |
425 [dartx.getShaderSource](shader) { | |
426 return this.getShaderSource(shader); | |
427 } | |
428 [dartx.getSupportedExtensions]() { | |
429 return this.getSupportedExtensions(); | |
430 } | |
431 [dartx.getTexParameter](target, pname) { | |
432 return this.getTexParameter(target, pname); | |
433 } | |
434 [dartx.getUniform](program, location) { | |
435 return this.getUniform(program, location); | |
436 } | |
437 [dartx.getUniformLocation](program, name) { | |
438 return this.getUniformLocation(program, name); | |
439 } | |
440 [dartx.getVertexAttrib](index, pname) { | |
441 return this.getVertexAttrib(index, pname); | |
442 } | |
443 [dartx.getVertexAttribOffset](index, pname) { | |
444 return this.getVertexAttribOffset(index, pname); | |
445 } | |
446 [dartx.hint](target, mode) { | |
447 return this.hint(target, mode); | |
448 } | |
449 [dartx.isBuffer](buffer) { | |
450 return this.isBuffer(buffer); | |
451 } | |
452 [dartx.isContextLost]() { | |
453 return this.isContextLost(); | |
454 } | |
455 [dartx.isEnabled](cap) { | |
456 return this.isEnabled(cap); | |
457 } | |
458 [dartx.isFramebuffer](framebuffer) { | |
459 return this.isFramebuffer(framebuffer); | |
460 } | |
461 [dartx.isProgram](program) { | |
462 return this.isProgram(program); | |
463 } | |
464 [dartx.isRenderbuffer](renderbuffer) { | |
465 return this.isRenderbuffer(renderbuffer); | |
466 } | |
467 [dartx.isShader](shader) { | |
468 return this.isShader(shader); | |
469 } | |
470 [dartx.isTexture](texture) { | |
471 return this.isTexture(texture); | |
472 } | |
473 [dartx.lineWidth](width) { | |
474 return this.lineWidth(width); | |
475 } | |
476 [dartx.linkProgram](program) { | |
477 return this.linkProgram(program); | |
478 } | |
479 [dartx.pixelStorei](pname, param) { | |
480 return this.pixelStorei(pname, param); | |
481 } | |
482 [dartx.polygonOffset](factor, units) { | |
483 return this.polygonOffset(factor, units); | |
484 } | |
485 [dartx.readPixels](x, y, width, height, format, type, pixels) { | |
486 return this.readPixels(x, y, width, height, format, type, pixels); | |
487 } | |
488 [dartx.renderbufferStorage](target, internalformat, width, height) { | |
489 return this.renderbufferStorage(target, internalformat, width, height); | |
490 } | |
491 [dartx.sampleCoverage](value, invert) { | |
492 return this.sampleCoverage(value, invert); | |
493 } | |
494 [dartx.scissor](x, y, width, height) { | |
495 return this.scissor(x, y, width, height); | |
496 } | |
497 [dartx.shaderSource](shader, string) { | |
498 return this.shaderSource(shader, string); | |
499 } | |
500 [dartx.stencilFunc](func, ref, mask) { | |
501 return this.stencilFunc(func, ref, mask); | |
502 } | |
503 [dartx.stencilFuncSeparate](face, func, ref, mask) { | |
504 return this.stencilFuncSeparate(face, func, ref, mask); | |
505 } | |
506 [dartx.stencilMask](mask) { | |
507 return this.stencilMask(mask); | |
508 } | |
509 [dartx.stencilMaskSeparate](face, mask) { | |
510 return this.stencilMaskSeparate(face, mask); | |
511 } | |
512 [dartx.stencilOp](fail, zfail, zpass) { | |
513 return this.stencilOp(fail, zfail, zpass); | |
514 } | |
515 [dartx.stencilOpSeparate](face, fail, zfail, zpass) { | |
516 return this.stencilOpSeparate(face, fail, zfail, zpass); | |
517 } | |
518 [dartx.texImage2D](target, level, internalformat, format_OR_width, height_OR
_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels) { | |
519 if (format === void 0) format = null; | |
520 if (type === void 0) type = null; | |
521 if (pixels === void 0) pixels = null; | |
522 if (pixels != null && type != null && format != null && typeof border_OR_c
anvas_OR_image_OR_pixels_OR_video == 'number') { | |
523 this[_texImage2D_1](target, level, internalformat, format_OR_width, heig
ht_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); | |
524 return; | |
525 } | |
526 if ((dart.is(border_OR_canvas_OR_image_OR_pixels_OR_video, html.ImageData)
|| border_OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && t
ype == null && pixels == null) { | |
527 let pixels_1 = html_common.convertDartToNative_ImageData(dart.as(border_
OR_canvas_OR_image_OR_pixels_OR_video, html.ImageData)); | |
528 this[_texImage2D_2](target, level, internalformat, format_OR_width, heig
ht_OR_type, pixels_1); | |
529 return; | |
530 } | |
531 if (dart.is(border_OR_canvas_OR_image_OR_pixels_OR_video, html.ImageElemen
t) && format == null && type == null && pixels == null) { | |
532 this[_texImage2D_3](target, level, internalformat, format_OR_width, heig
ht_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); | |
533 return; | |
534 } | |
535 if (dart.is(border_OR_canvas_OR_image_OR_pixels_OR_video, html.CanvasEleme
nt) && format == null && type == null && pixels == null) { | |
536 this[_texImage2D_4](target, level, internalformat, format_OR_width, heig
ht_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); | |
537 return; | |
538 } | |
539 if (dart.is(border_OR_canvas_OR_image_OR_pixels_OR_video, html.VideoElemen
t) && format == null && type == null && pixels == null) { | |
540 this[_texImage2D_5](target, level, internalformat, format_OR_width, heig
ht_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); | |
541 return; | |
542 } | |
543 dart.throw(new core.ArgumentError("Incorrect number or type of arguments")
); | |
544 } | |
545 [_texImage2D_1](target, level, internalformat, width, height, border, format
, type, pixels) { | |
546 return this.texImage2D(target, level, internalformat, width, height, borde
r, format, type, pixels); | |
547 } | |
548 [_texImage2D_2](target, level, internalformat, format, type, pixels) { | |
549 return this.texImage2D(target, level, internalformat, format, type, pixels
); | |
550 } | |
551 [_texImage2D_3](target, level, internalformat, format, type, image) { | |
552 return this.texImage2D(target, level, internalformat, format, type, image)
; | |
553 } | |
554 [_texImage2D_4](target, level, internalformat, format, type, canvas) { | |
555 return this.texImage2D(target, level, internalformat, format, type, canvas
); | |
556 } | |
557 [_texImage2D_5](target, level, internalformat, format, type, video) { | |
558 return this.texImage2D(target, level, internalformat, format, type, video)
; | |
559 } | |
560 [dartx.texImage2DCanvas](target, level, internalformat, format, type, canvas
) { | |
561 return this.texImage2D(target, level, internalformat, format, type, canvas
); | |
562 } | |
563 [dartx.texImage2DImage](target, level, internalformat, format, type, image)
{ | |
564 return this.texImage2D(target, level, internalformat, format, type, image)
; | |
565 } | |
566 [dartx.texImage2DImageData](target, level, internalformat, format, type, pix
els) { | |
567 let pixels_1 = html_common.convertDartToNative_ImageData(pixels); | |
568 this[_texImage2DImageData_1](target, level, internalformat, format, type,
pixels_1); | |
569 return; | |
570 } | |
571 [_texImage2DImageData_1](target, level, internalformat, format, type, pixels
) { | |
572 return this.texImage2D(target, level, internalformat, format, type, pixels
); | |
573 } | |
574 [dartx.texImage2DVideo](target, level, internalformat, format, type, video)
{ | |
575 return this.texImage2D(target, level, internalformat, format, type, video)
; | |
576 } | |
577 [dartx.texParameterf](target, pname, param) { | |
578 return this.texParameterf(target, pname, param); | |
579 } | |
580 [dartx.texParameteri](target, pname, param) { | |
581 return this.texParameteri(target, pname, param); | |
582 } | |
583 [dartx.texSubImage2D](target, level, xoffset, yoffset, format_OR_width, heig
ht_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) { | |
584 if (type === void 0) type = null; | |
585 if (pixels === void 0) pixels = null; | |
586 if (pixels != null && type != null && typeof canvas_OR_format_OR_image_OR_
pixels_OR_video == 'number') { | |
587 this[_texSubImage2D_1](target, level, xoffset, yoffset, format_OR_width,
height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); | |
588 return; | |
589 } | |
590 if ((dart.is(canvas_OR_format_OR_image_OR_pixels_OR_video, html.ImageData)
|| canvas_OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pix
els == null) { | |
591 let pixels_1 = html_common.convertDartToNative_ImageData(dart.as(canvas_
OR_format_OR_image_OR_pixels_OR_video, html.ImageData)); | |
592 this[_texSubImage2D_2](target, level, xoffset, yoffset, format_OR_width,
height_OR_type, pixels_1); | |
593 return; | |
594 } | |
595 if (dart.is(canvas_OR_format_OR_image_OR_pixels_OR_video, html.ImageElemen
t) && type == null && pixels == null) { | |
596 this[_texSubImage2D_3](target, level, xoffset, yoffset, format_OR_width,
height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | |
597 return; | |
598 } | |
599 if (dart.is(canvas_OR_format_OR_image_OR_pixels_OR_video, html.CanvasEleme
nt) && type == null && pixels == null) { | |
600 this[_texSubImage2D_4](target, level, xoffset, yoffset, format_OR_width,
height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | |
601 return; | |
602 } | |
603 if (dart.is(canvas_OR_format_OR_image_OR_pixels_OR_video, html.VideoElemen
t) && type == null && pixels == null) { | |
604 this[_texSubImage2D_5](target, level, xoffset, yoffset, format_OR_width,
height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | |
605 return; | |
606 } | |
607 dart.throw(new core.ArgumentError("Incorrect number or type of arguments")
); | |
608 } | |
609 [_texSubImage2D_1](target, level, xoffset, yoffset, width, height, format, t
ype, pixels) { | |
610 return this.texSubImage2D(target, level, xoffset, yoffset, width, height,
format, type, pixels); | |
611 } | |
612 [_texSubImage2D_2](target, level, xoffset, yoffset, format, type, pixels) { | |
613 return this.texSubImage2D(target, level, xoffset, yoffset, format, type, p
ixels); | |
614 } | |
615 [_texSubImage2D_3](target, level, xoffset, yoffset, format, type, image) { | |
616 return this.texSubImage2D(target, level, xoffset, yoffset, format, type, i
mage); | |
617 } | |
618 [_texSubImage2D_4](target, level, xoffset, yoffset, format, type, canvas) { | |
619 return this.texSubImage2D(target, level, xoffset, yoffset, format, type, c
anvas); | |
620 } | |
621 [_texSubImage2D_5](target, level, xoffset, yoffset, format, type, video) { | |
622 return this.texSubImage2D(target, level, xoffset, yoffset, format, type, v
ideo); | |
623 } | |
624 [dartx.texSubImage2DCanvas](target, level, xoffset, yoffset, format, type, c
anvas) { | |
625 return this.texSubImage2D(target, level, xoffset, yoffset, format, type, c
anvas); | |
626 } | |
627 [dartx.texSubImage2DImage](target, level, xoffset, yoffset, format, type, im
age) { | |
628 return this.texSubImage2D(target, level, xoffset, yoffset, format, type, i
mage); | |
629 } | |
630 [dartx.texSubImage2DImageData](target, level, xoffset, yoffset, format, type
, pixels) { | |
631 let pixels_1 = html_common.convertDartToNative_ImageData(pixels); | |
632 this[_texSubImage2DImageData_1](target, level, xoffset, yoffset, format, t
ype, pixels_1); | |
633 return; | |
634 } | |
635 [_texSubImage2DImageData_1](target, level, xoffset, yoffset, format, type, p
ixels) { | |
636 return this.texSubImage2D(target, level, xoffset, yoffset, format, type, p
ixels); | |
637 } | |
638 [dartx.texSubImage2DVideo](target, level, xoffset, yoffset, format, type, vi
deo) { | |
639 return this.texSubImage2D(target, level, xoffset, yoffset, format, type, v
ideo); | |
640 } | |
641 [dartx.uniform1f](location, x) { | |
642 return this.uniform1f(location, x); | |
643 } | |
644 [dartx.uniform1fv](location, v) { | |
645 return this.uniform1fv(location, v); | |
646 } | |
647 [dartx.uniform1i](location, x) { | |
648 return this.uniform1i(location, x); | |
649 } | |
650 [dartx.uniform1iv](location, v) { | |
651 return this.uniform1iv(location, v); | |
652 } | |
653 [dartx.uniform2f](location, x, y) { | |
654 return this.uniform2f(location, x, y); | |
655 } | |
656 [dartx.uniform2fv](location, v) { | |
657 return this.uniform2fv(location, v); | |
658 } | |
659 [dartx.uniform2i](location, x, y) { | |
660 return this.uniform2i(location, x, y); | |
661 } | |
662 [dartx.uniform2iv](location, v) { | |
663 return this.uniform2iv(location, v); | |
664 } | |
665 [dartx.uniform3f](location, x, y, z) { | |
666 return this.uniform3f(location, x, y, z); | |
667 } | |
668 [dartx.uniform3fv](location, v) { | |
669 return this.uniform3fv(location, v); | |
670 } | |
671 [dartx.uniform3i](location, x, y, z) { | |
672 return this.uniform3i(location, x, y, z); | |
673 } | |
674 [dartx.uniform3iv](location, v) { | |
675 return this.uniform3iv(location, v); | |
676 } | |
677 [dartx.uniform4f](location, x, y, z, w) { | |
678 return this.uniform4f(location, x, y, z, w); | |
679 } | |
680 [dartx.uniform4fv](location, v) { | |
681 return this.uniform4fv(location, v); | |
682 } | |
683 [dartx.uniform4i](location, x, y, z, w) { | |
684 return this.uniform4i(location, x, y, z, w); | |
685 } | |
686 [dartx.uniform4iv](location, v) { | |
687 return this.uniform4iv(location, v); | |
688 } | |
689 [dartx.uniformMatrix2fv](location, transpose, array) { | |
690 return this.uniformMatrix2fv(location, transpose, array); | |
691 } | |
692 [dartx.uniformMatrix3fv](location, transpose, array) { | |
693 return this.uniformMatrix3fv(location, transpose, array); | |
694 } | |
695 [dartx.uniformMatrix4fv](location, transpose, array) { | |
696 return this.uniformMatrix4fv(location, transpose, array); | |
697 } | |
698 [dartx.useProgram](program) { | |
699 return this.useProgram(program); | |
700 } | |
701 [dartx.validateProgram](program) { | |
702 return this.validateProgram(program); | |
703 } | |
704 [dartx.vertexAttrib1f](indx, x) { | |
705 return this.vertexAttrib1f(indx, x); | |
706 } | |
707 [dartx.vertexAttrib1fv](indx, values) { | |
708 return this.vertexAttrib1fv(indx, values); | |
709 } | |
710 [dartx.vertexAttrib2f](indx, x, y) { | |
711 return this.vertexAttrib2f(indx, x, y); | |
712 } | |
713 [dartx.vertexAttrib2fv](indx, values) { | |
714 return this.vertexAttrib2fv(indx, values); | |
715 } | |
716 [dartx.vertexAttrib3f](indx, x, y, z) { | |
717 return this.vertexAttrib3f(indx, x, y, z); | |
718 } | |
719 [dartx.vertexAttrib3fv](indx, values) { | |
720 return this.vertexAttrib3fv(indx, values); | |
721 } | |
722 [dartx.vertexAttrib4f](indx, x, y, z, w) { | |
723 return this.vertexAttrib4f(indx, x, y, z, w); | |
724 } | |
725 [dartx.vertexAttrib4fv](indx, values) { | |
726 return this.vertexAttrib4fv(indx, values); | |
727 } | |
728 [dartx.vertexAttribPointer](indx, size, type, normalized, stride, offset) { | |
729 return this.vertexAttribPointer(indx, size, type, normalized, stride, offs
et); | |
730 } | |
731 [dartx.viewport](x, y, width, height) { | |
732 return this.viewport(x, y, width, height); | |
733 } | |
734 [dartx.texImage2DUntyped](targetTexture, levelOfDetail, internalFormat, form
at, type, data) { | |
735 return this.texImage2D(targetTexture, levelOfDetail, internalFormat, forma
t, type, data); | |
736 } | |
737 [dartx.texImage2DTyped](targetTexture, levelOfDetail, internalFormat, width,
height, border, format, type, data) { | |
738 return this.texImage2D(targetTexture, levelOfDetail, internalFormat, width
, height, border, format, type, data); | |
739 } | |
740 [dartx.texSubImage2DUntyped](targetTexture, levelOfDetail, xOffset, yOffset,
format, type, data) { | |
741 return this.texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
format, type, data); | |
742 } | |
743 [dartx.texSubImage2DTyped](targetTexture, levelOfDetail, xOffset, yOffset, w
idth, height, border, format, type, data) { | |
744 return this.texSubImage2D(targetTexture, levelOfDetail, xOffset, yOffset,
width, height, border, format, type, data); | |
745 } | |
746 } | |
747 RenderingContext[dart.implements] = () => [html.CanvasRenderingContext]; | |
748 dart.setSignature(RenderingContext, { | |
749 constructors: () => ({_: [RenderingContext, []]}), | |
750 methods: () => ({ | |
751 [dartx.activeTexture]: [dart.void, [core.int]], | |
752 [dartx.attachShader]: [dart.void, [Program, Shader]], | |
753 [dartx.bindAttribLocation]: [dart.void, [Program, core.int, core.String]], | |
754 [dartx.bindBuffer]: [dart.void, [core.int, Buffer]], | |
755 [dartx.bindFramebuffer]: [dart.void, [core.int, Framebuffer]], | |
756 [dartx.bindRenderbuffer]: [dart.void, [core.int, Renderbuffer]], | |
757 [dartx.bindTexture]: [dart.void, [core.int, Texture]], | |
758 [dartx.blendColor]: [dart.void, [core.num, core.num, core.num, core.num]], | |
759 [dartx.blendEquation]: [dart.void, [core.int]], | |
760 [dartx.blendEquationSeparate]: [dart.void, [core.int, core.int]], | |
761 [dartx.blendFunc]: [dart.void, [core.int, core.int]], | |
762 [dartx.blendFuncSeparate]: [dart.void, [core.int, core.int, core.int, core
.int]], | |
763 [dartx.bufferByteData]: [dart.void, [core.int, typed_data.ByteBuffer, core
.int]], | |
764 [dartx.bufferData]: [dart.void, [core.int, dart.dynamic, core.int]], | |
765 [dartx.bufferDataTyped]: [dart.void, [core.int, typed_data.TypedData, core
.int]], | |
766 [dartx.bufferSubByteData]: [dart.void, [core.int, core.int, typed_data.Byt
eBuffer]], | |
767 [dartx.bufferSubData]: [dart.void, [core.int, core.int, dart.dynamic]], | |
768 [dartx.bufferSubDataTyped]: [dart.void, [core.int, core.int, typed_data.Ty
pedData]], | |
769 [dartx.checkFramebufferStatus]: [core.int, [core.int]], | |
770 [dartx.clear]: [dart.void, [core.int]], | |
771 [dartx.clearColor]: [dart.void, [core.num, core.num, core.num, core.num]], | |
772 [dartx.clearDepth]: [dart.void, [core.num]], | |
773 [dartx.clearStencil]: [dart.void, [core.int]], | |
774 [dartx.colorMask]: [dart.void, [core.bool, core.bool, core.bool, core.bool
]], | |
775 [dartx.compileShader]: [dart.void, [Shader]], | |
776 [dartx.compressedTexImage2D]: [dart.void, [core.int, core.int, core.int, c
ore.int, core.int, core.int, typed_data.TypedData]], | |
777 [dartx.compressedTexSubImage2D]: [dart.void, [core.int, core.int, core.int
, core.int, core.int, core.int, core.int, typed_data.TypedData]], | |
778 [dartx.copyTexImage2D]: [dart.void, [core.int, core.int, core.int, core.in
t, core.int, core.int, core.int, core.int]], | |
779 [dartx.copyTexSubImage2D]: [dart.void, [core.int, core.int, core.int, core
.int, core.int, core.int, core.int, core.int]], | |
780 [dartx.createBuffer]: [Buffer, []], | |
781 [dartx.createFramebuffer]: [Framebuffer, []], | |
782 [dartx.createProgram]: [Program, []], | |
783 [dartx.createRenderbuffer]: [Renderbuffer, []], | |
784 [dartx.createShader]: [Shader, [core.int]], | |
785 [dartx.createTexture]: [Texture, []], | |
786 [dartx.cullFace]: [dart.void, [core.int]], | |
787 [dartx.deleteBuffer]: [dart.void, [Buffer]], | |
788 [dartx.deleteFramebuffer]: [dart.void, [Framebuffer]], | |
789 [dartx.deleteProgram]: [dart.void, [Program]], | |
790 [dartx.deleteRenderbuffer]: [dart.void, [Renderbuffer]], | |
791 [dartx.deleteShader]: [dart.void, [Shader]], | |
792 [dartx.deleteTexture]: [dart.void, [Texture]], | |
793 [dartx.depthFunc]: [dart.void, [core.int]], | |
794 [dartx.depthMask]: [dart.void, [core.bool]], | |
795 [dartx.depthRange]: [dart.void, [core.num, core.num]], | |
796 [dartx.detachShader]: [dart.void, [Program, Shader]], | |
797 [dartx.disable]: [dart.void, [core.int]], | |
798 [dartx.disableVertexAttribArray]: [dart.void, [core.int]], | |
799 [dartx.drawArrays]: [dart.void, [core.int, core.int, core.int]], | |
800 [dartx.drawElements]: [dart.void, [core.int, core.int, core.int, core.int]
], | |
801 [dartx.enable]: [dart.void, [core.int]], | |
802 [dartx.enableVertexAttribArray]: [dart.void, [core.int]], | |
803 [dartx.finish]: [dart.void, []], | |
804 [dartx.flush]: [dart.void, []], | |
805 [dartx.framebufferRenderbuffer]: [dart.void, [core.int, core.int, core.int
, Renderbuffer]], | |
806 [dartx.framebufferTexture2D]: [dart.void, [core.int, core.int, core.int, T
exture, core.int]], | |
807 [dartx.frontFace]: [dart.void, [core.int]], | |
808 [dartx.generateMipmap]: [dart.void, [core.int]], | |
809 [dartx.getActiveAttrib]: [ActiveInfo, [Program, core.int]], | |
810 [dartx.getActiveUniform]: [ActiveInfo, [Program, core.int]], | |
811 [dartx.getAttachedShaders]: [core.List$(Shader), [Program]], | |
812 [dartx.getAttribLocation]: [core.int, [Program, core.String]], | |
813 [dartx.getBufferParameter]: [core.Object, [core.int, core.int]], | |
814 [dartx.getContextAttributes]: [ContextAttributes, []], | |
815 [_getContextAttributes_1]: [dart.dynamic, []], | |
816 [dartx.getError]: [core.int, []], | |
817 [dartx.getExtension]: [core.Object, [core.String]], | |
818 [dartx.getFramebufferAttachmentParameter]: [core.Object, [core.int, core.i
nt, core.int]], | |
819 [dartx.getParameter]: [core.Object, [core.int]], | |
820 [dartx.getProgramInfoLog]: [core.String, [Program]], | |
821 [dartx.getProgramParameter]: [core.Object, [Program, core.int]], | |
822 [dartx.getRenderbufferParameter]: [core.Object, [core.int, core.int]], | |
823 [dartx.getShaderInfoLog]: [core.String, [Shader]], | |
824 [dartx.getShaderParameter]: [core.Object, [Shader, core.int]], | |
825 [dartx.getShaderPrecisionFormat]: [ShaderPrecisionFormat, [core.int, core.
int]], | |
826 [dartx.getShaderSource]: [core.String, [Shader]], | |
827 [dartx.getSupportedExtensions]: [core.List$(core.String), []], | |
828 [dartx.getTexParameter]: [core.Object, [core.int, core.int]], | |
829 [dartx.getUniform]: [core.Object, [Program, UniformLocation]], | |
830 [dartx.getUniformLocation]: [UniformLocation, [Program, core.String]], | |
831 [dartx.getVertexAttrib]: [core.Object, [core.int, core.int]], | |
832 [dartx.getVertexAttribOffset]: [core.int, [core.int, core.int]], | |
833 [dartx.hint]: [dart.void, [core.int, core.int]], | |
834 [dartx.isBuffer]: [core.bool, [Buffer]], | |
835 [dartx.isContextLost]: [core.bool, []], | |
836 [dartx.isEnabled]: [core.bool, [core.int]], | |
837 [dartx.isFramebuffer]: [core.bool, [Framebuffer]], | |
838 [dartx.isProgram]: [core.bool, [Program]], | |
839 [dartx.isRenderbuffer]: [core.bool, [Renderbuffer]], | |
840 [dartx.isShader]: [core.bool, [Shader]], | |
841 [dartx.isTexture]: [core.bool, [Texture]], | |
842 [dartx.lineWidth]: [dart.void, [core.num]], | |
843 [dartx.linkProgram]: [dart.void, [Program]], | |
844 [dartx.pixelStorei]: [dart.void, [core.int, core.int]], | |
845 [dartx.polygonOffset]: [dart.void, [core.num, core.num]], | |
846 [dartx.readPixels]: [dart.void, [core.int, core.int, core.int, core.int, c
ore.int, core.int, typed_data.TypedData]], | |
847 [dartx.renderbufferStorage]: [dart.void, [core.int, core.int, core.int, co
re.int]], | |
848 [dartx.sampleCoverage]: [dart.void, [core.num, core.bool]], | |
849 [dartx.scissor]: [dart.void, [core.int, core.int, core.int, core.int]], | |
850 [dartx.shaderSource]: [dart.void, [Shader, core.String]], | |
851 [dartx.stencilFunc]: [dart.void, [core.int, core.int, core.int]], | |
852 [dartx.stencilFuncSeparate]: [dart.void, [core.int, core.int, core.int, co
re.int]], | |
853 [dartx.stencilMask]: [dart.void, [core.int]], | |
854 [dartx.stencilMaskSeparate]: [dart.void, [core.int, core.int]], | |
855 [dartx.stencilOp]: [dart.void, [core.int, core.int, core.int]], | |
856 [dartx.stencilOpSeparate]: [dart.void, [core.int, core.int, core.int, core
.int]], | |
857 [dartx.texImage2D]: [dart.void, [core.int, core.int, core.int, core.int, c
ore.int, dart.dynamic], [core.int, core.int, typed_data.TypedData]], | |
858 [_texImage2D_1]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, da
rt.dynamic, dart.dynamic, core.int, dart.dynamic, dart.dynamic, typed_data.Typed
Data]], | |
859 [_texImage2D_2]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, da
rt.dynamic, dart.dynamic, dart.dynamic]], | |
860 [_texImage2D_3]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, da
rt.dynamic, dart.dynamic, html.ImageElement]], | |
861 [_texImage2D_4]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, da
rt.dynamic, dart.dynamic, html.CanvasElement]], | |
862 [_texImage2D_5]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic, da
rt.dynamic, dart.dynamic, html.VideoElement]], | |
863 [dartx.texImage2DCanvas]: [dart.void, [core.int, core.int, core.int, core.
int, core.int, html.CanvasElement]], | |
864 [dartx.texImage2DImage]: [dart.void, [core.int, core.int, core.int, core.i
nt, core.int, html.ImageElement]], | |
865 [dartx.texImage2DImageData]: [dart.void, [core.int, core.int, core.int, co
re.int, core.int, html.ImageData]], | |
866 [_texImage2DImageData_1]: [dart.void, [dart.dynamic, dart.dynamic, dart.dy
namic, dart.dynamic, dart.dynamic, dart.dynamic]], | |
867 [dartx.texImage2DVideo]: [dart.void, [core.int, core.int, core.int, core.i
nt, core.int, html.VideoElement]], | |
868 [dartx.texParameterf]: [dart.void, [core.int, core.int, core.num]], | |
869 [dartx.texParameteri]: [dart.void, [core.int, core.int, core.int]], | |
870 [dartx.texSubImage2D]: [dart.void, [core.int, core.int, core.int, core.int
, core.int, core.int, dart.dynamic], [core.int, typed_data.TypedData]], | |
871 [_texSubImage2D_1]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic,
dart.dynamic, dart.dynamic, dart.dynamic, core.int, dart.dynamic, typed_data.Ty
pedData]], | |
872 [_texSubImage2D_2]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic,
dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]], | |
873 [_texSubImage2D_3]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic,
dart.dynamic, dart.dynamic, dart.dynamic, html.ImageElement]], | |
874 [_texSubImage2D_4]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic,
dart.dynamic, dart.dynamic, dart.dynamic, html.CanvasElement]], | |
875 [_texSubImage2D_5]: [dart.void, [dart.dynamic, dart.dynamic, dart.dynamic,
dart.dynamic, dart.dynamic, dart.dynamic, html.VideoElement]], | |
876 [dartx.texSubImage2DCanvas]: [dart.void, [core.int, core.int, core.int, co
re.int, core.int, core.int, html.CanvasElement]], | |
877 [dartx.texSubImage2DImage]: [dart.void, [core.int, core.int, core.int, cor
e.int, core.int, core.int, html.ImageElement]], | |
878 [dartx.texSubImage2DImageData]: [dart.void, [core.int, core.int, core.int,
core.int, core.int, core.int, html.ImageData]], | |
879 [_texSubImage2DImageData_1]: [dart.void, [dart.dynamic, dart.dynamic, dart
.dynamic, dart.dynamic, dart.dynamic, dart.dynamic, dart.dynamic]], | |
880 [dartx.texSubImage2DVideo]: [dart.void, [core.int, core.int, core.int, cor
e.int, core.int, core.int, html.VideoElement]], | |
881 [dartx.uniform1f]: [dart.void, [UniformLocation, core.num]], | |
882 [dartx.uniform1fv]: [dart.void, [UniformLocation, typed_data.Float32List]]
, | |
883 [dartx.uniform1i]: [dart.void, [UniformLocation, core.int]], | |
884 [dartx.uniform1iv]: [dart.void, [UniformLocation, typed_data.Int32List]], | |
885 [dartx.uniform2f]: [dart.void, [UniformLocation, core.num, core.num]], | |
886 [dartx.uniform2fv]: [dart.void, [UniformLocation, typed_data.Float32List]]
, | |
887 [dartx.uniform2i]: [dart.void, [UniformLocation, core.int, core.int]], | |
888 [dartx.uniform2iv]: [dart.void, [UniformLocation, typed_data.Int32List]], | |
889 [dartx.uniform3f]: [dart.void, [UniformLocation, core.num, core.num, core.
num]], | |
890 [dartx.uniform3fv]: [dart.void, [UniformLocation, typed_data.Float32List]]
, | |
891 [dartx.uniform3i]: [dart.void, [UniformLocation, core.int, core.int, core.
int]], | |
892 [dartx.uniform3iv]: [dart.void, [UniformLocation, typed_data.Int32List]], | |
893 [dartx.uniform4f]: [dart.void, [UniformLocation, core.num, core.num, core.
num, core.num]], | |
894 [dartx.uniform4fv]: [dart.void, [UniformLocation, typed_data.Float32List]]
, | |
895 [dartx.uniform4i]: [dart.void, [UniformLocation, core.int, core.int, core.
int, core.int]], | |
896 [dartx.uniform4iv]: [dart.void, [UniformLocation, typed_data.Int32List]], | |
897 [dartx.uniformMatrix2fv]: [dart.void, [UniformLocation, core.bool, typed_d
ata.Float32List]], | |
898 [dartx.uniformMatrix3fv]: [dart.void, [UniformLocation, core.bool, typed_d
ata.Float32List]], | |
899 [dartx.uniformMatrix4fv]: [dart.void, [UniformLocation, core.bool, typed_d
ata.Float32List]], | |
900 [dartx.useProgram]: [dart.void, [Program]], | |
901 [dartx.validateProgram]: [dart.void, [Program]], | |
902 [dartx.vertexAttrib1f]: [dart.void, [core.int, core.num]], | |
903 [dartx.vertexAttrib1fv]: [dart.void, [core.int, typed_data.Float32List]], | |
904 [dartx.vertexAttrib2f]: [dart.void, [core.int, core.num, core.num]], | |
905 [dartx.vertexAttrib2fv]: [dart.void, [core.int, typed_data.Float32List]], | |
906 [dartx.vertexAttrib3f]: [dart.void, [core.int, core.num, core.num, core.nu
m]], | |
907 [dartx.vertexAttrib3fv]: [dart.void, [core.int, typed_data.Float32List]], | |
908 [dartx.vertexAttrib4f]: [dart.void, [core.int, core.num, core.num, core.nu
m, core.num]], | |
909 [dartx.vertexAttrib4fv]: [dart.void, [core.int, typed_data.Float32List]], | |
910 [dartx.vertexAttribPointer]: [dart.void, [core.int, core.int, core.int, co
re.bool, core.int, core.int]], | |
911 [dartx.viewport]: [dart.void, [core.int, core.int, core.int, core.int]], | |
912 [dartx.texImage2DUntyped]: [dart.void, [core.int, core.int, core.int, core
.int, core.int, dart.dynamic]], | |
913 [dartx.texImage2DTyped]: [dart.void, [core.int, core.int, core.int, core.i
nt, core.int, core.int, core.int, core.int, typed_data.TypedData]], | |
914 [dartx.texSubImage2DUntyped]: [dart.void, [core.int, core.int, core.int, c
ore.int, core.int, core.int, dart.dynamic]], | |
915 [dartx.texSubImage2DTyped]: [dart.void, [core.int, core.int, core.int, cor
e.int, core.int, core.int, core.int, core.int, core.int, typed_data.TypedData]] | |
916 }) | |
917 }); | |
918 RenderingContext[dart.metadata] = () => [dart.const(new _metadata.DomName('Web
GLRenderingContext')), dart.const(new _metadata.SupportedBrowser(_metadata.Suppo
rtedBrowser.CHROME)), dart.const(new _metadata.SupportedBrowser(_metadata.Suppor
tedBrowser.FIREFOX)), dart.const(new _metadata.Experimental()), dart.const(new _
metadata.Unstable()), dart.const(new _js_helper.Native("WebGLRenderingContext"))
]; | |
919 RenderingContext.ACTIVE_ATTRIBUTES = 35721; | |
920 RenderingContext.ACTIVE_TEXTURE = 34016; | |
921 RenderingContext.ACTIVE_UNIFORMS = 35718; | |
922 RenderingContext.ALIASED_LINE_WIDTH_RANGE = 33902; | |
923 RenderingContext.ALIASED_POINT_SIZE_RANGE = 33901; | |
924 RenderingContext.ALPHA = 6406; | |
925 RenderingContext.ALPHA_BITS = 3413; | |
926 RenderingContext.ALWAYS = 519; | |
927 RenderingContext.ARRAY_BUFFER = 34962; | |
928 RenderingContext.ARRAY_BUFFER_BINDING = 34964; | |
929 RenderingContext.ATTACHED_SHADERS = 35717; | |
930 RenderingContext.BACK = 1029; | |
931 RenderingContext.BLEND = 3042; | |
932 RenderingContext.BLEND_COLOR = 32773; | |
933 RenderingContext.BLEND_DST_ALPHA = 32970; | |
934 RenderingContext.BLEND_DST_RGB = 32968; | |
935 RenderingContext.BLEND_EQUATION = 32777; | |
936 RenderingContext.BLEND_EQUATION_ALPHA = 34877; | |
937 RenderingContext.BLEND_EQUATION_RGB = 32777; | |
938 RenderingContext.BLEND_SRC_ALPHA = 32971; | |
939 RenderingContext.BLEND_SRC_RGB = 32969; | |
940 RenderingContext.BLUE_BITS = 3412; | |
941 RenderingContext.BOOL = 35670; | |
942 RenderingContext.BOOL_VEC2 = 35671; | |
943 RenderingContext.BOOL_VEC3 = 35672; | |
944 RenderingContext.BOOL_VEC4 = 35673; | |
945 RenderingContext.BROWSER_DEFAULT_WEBGL = 37444; | |
946 RenderingContext.BUFFER_SIZE = 34660; | |
947 RenderingContext.BUFFER_USAGE = 34661; | |
948 RenderingContext.BYTE = 5120; | |
949 RenderingContext.CCW = 2305; | |
950 RenderingContext.CLAMP_TO_EDGE = 33071; | |
951 RenderingContext.COLOR_ATTACHMENT0 = 36064; | |
952 RenderingContext.COLOR_BUFFER_BIT = 16384; | |
953 RenderingContext.COLOR_CLEAR_VALUE = 3106; | |
954 RenderingContext.COLOR_WRITEMASK = 3107; | |
955 RenderingContext.COMPILE_STATUS = 35713; | |
956 RenderingContext.COMPRESSED_TEXTURE_FORMATS = 34467; | |
957 RenderingContext.CONSTANT_ALPHA = 32771; | |
958 RenderingContext.CONSTANT_COLOR = 32769; | |
959 RenderingContext.CONTEXT_LOST_WEBGL = 37442; | |
960 RenderingContext.CULL_FACE = 2884; | |
961 RenderingContext.CULL_FACE_MODE = 2885; | |
962 RenderingContext.CURRENT_PROGRAM = 35725; | |
963 RenderingContext.CURRENT_VERTEX_ATTRIB = 34342; | |
964 RenderingContext.CW = 2304; | |
965 RenderingContext.DECR = 7683; | |
966 RenderingContext.DECR_WRAP = 34056; | |
967 RenderingContext.DELETE_STATUS = 35712; | |
968 RenderingContext.DEPTH_ATTACHMENT = 36096; | |
969 RenderingContext.DEPTH_BITS = 3414; | |
970 RenderingContext.DEPTH_BUFFER_BIT = 256; | |
971 RenderingContext.DEPTH_CLEAR_VALUE = 2931; | |
972 RenderingContext.DEPTH_COMPONENT = 6402; | |
973 RenderingContext.DEPTH_COMPONENT16 = 33189; | |
974 RenderingContext.DEPTH_FUNC = 2932; | |
975 RenderingContext.DEPTH_RANGE = 2928; | |
976 RenderingContext.DEPTH_STENCIL = 34041; | |
977 RenderingContext.DEPTH_STENCIL_ATTACHMENT = 33306; | |
978 RenderingContext.DEPTH_TEST = 2929; | |
979 RenderingContext.DEPTH_WRITEMASK = 2930; | |
980 RenderingContext.DITHER = 3024; | |
981 RenderingContext.DONT_CARE = 4352; | |
982 RenderingContext.DST_ALPHA = 772; | |
983 RenderingContext.DST_COLOR = 774; | |
984 RenderingContext.DYNAMIC_DRAW = 35048; | |
985 RenderingContext.ELEMENT_ARRAY_BUFFER = 34963; | |
986 RenderingContext.ELEMENT_ARRAY_BUFFER_BINDING = 34965; | |
987 RenderingContext.EQUAL = 514; | |
988 RenderingContext.FASTEST = 4353; | |
989 RenderingContext.FLOAT = 5126; | |
990 RenderingContext.FLOAT_MAT2 = 35674; | |
991 RenderingContext.FLOAT_MAT3 = 35675; | |
992 RenderingContext.FLOAT_MAT4 = 35676; | |
993 RenderingContext.FLOAT_VEC2 = 35664; | |
994 RenderingContext.FLOAT_VEC3 = 35665; | |
995 RenderingContext.FLOAT_VEC4 = 35666; | |
996 RenderingContext.FRAGMENT_SHADER = 35632; | |
997 RenderingContext.FRAMEBUFFER = 36160; | |
998 RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 36049; | |
999 RenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 36048; | |
1000 RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 36051; | |
1001 RenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 36050; | |
1002 RenderingContext.FRAMEBUFFER_BINDING = 36006; | |
1003 RenderingContext.FRAMEBUFFER_COMPLETE = 36053; | |
1004 RenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 36054; | |
1005 RenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 36057; | |
1006 RenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 36055; | |
1007 RenderingContext.FRAMEBUFFER_UNSUPPORTED = 36061; | |
1008 RenderingContext.FRONT = 1028; | |
1009 RenderingContext.FRONT_AND_BACK = 1032; | |
1010 RenderingContext.FRONT_FACE = 2886; | |
1011 RenderingContext.FUNC_ADD = 32774; | |
1012 RenderingContext.FUNC_REVERSE_SUBTRACT = 32779; | |
1013 RenderingContext.FUNC_SUBTRACT = 32778; | |
1014 RenderingContext.GENERATE_MIPMAP_HINT = 33170; | |
1015 RenderingContext.GEQUAL = 518; | |
1016 RenderingContext.GREATER = 516; | |
1017 RenderingContext.GREEN_BITS = 3411; | |
1018 RenderingContext.HIGH_FLOAT = 36338; | |
1019 RenderingContext.HIGH_INT = 36341; | |
1020 RenderingContext.IMPLEMENTATION_COLOR_READ_FORMAT = 35739; | |
1021 RenderingContext.IMPLEMENTATION_COLOR_READ_TYPE = 35738; | |
1022 RenderingContext.INCR = 7682; | |
1023 RenderingContext.INCR_WRAP = 34055; | |
1024 RenderingContext.INT = 5124; | |
1025 RenderingContext.INT_VEC2 = 35667; | |
1026 RenderingContext.INT_VEC3 = 35668; | |
1027 RenderingContext.INT_VEC4 = 35669; | |
1028 RenderingContext.INVALID_ENUM = 1280; | |
1029 RenderingContext.INVALID_FRAMEBUFFER_OPERATION = 1286; | |
1030 RenderingContext.INVALID_OPERATION = 1282; | |
1031 RenderingContext.INVALID_VALUE = 1281; | |
1032 RenderingContext.INVERT = 5386; | |
1033 RenderingContext.KEEP = 7680; | |
1034 RenderingContext.LEQUAL = 515; | |
1035 RenderingContext.LESS = 513; | |
1036 RenderingContext.LINEAR = 9729; | |
1037 RenderingContext.LINEAR_MIPMAP_LINEAR = 9987; | |
1038 RenderingContext.LINEAR_MIPMAP_NEAREST = 9985; | |
1039 RenderingContext.LINES = 1; | |
1040 RenderingContext.LINE_LOOP = 2; | |
1041 RenderingContext.LINE_STRIP = 3; | |
1042 RenderingContext.LINE_WIDTH = 2849; | |
1043 RenderingContext.LINK_STATUS = 35714; | |
1044 RenderingContext.LOW_FLOAT = 36336; | |
1045 RenderingContext.LOW_INT = 36339; | |
1046 RenderingContext.LUMINANCE = 6409; | |
1047 RenderingContext.LUMINANCE_ALPHA = 6410; | |
1048 RenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS = 35661; | |
1049 RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE = 34076; | |
1050 RenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS = 36349; | |
1051 RenderingContext.MAX_RENDERBUFFER_SIZE = 34024; | |
1052 RenderingContext.MAX_TEXTURE_IMAGE_UNITS = 34930; | |
1053 RenderingContext.MAX_TEXTURE_SIZE = 3379; | |
1054 RenderingContext.MAX_VARYING_VECTORS = 36348; | |
1055 RenderingContext.MAX_VERTEX_ATTRIBS = 34921; | |
1056 RenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS = 35660; | |
1057 RenderingContext.MAX_VERTEX_UNIFORM_VECTORS = 36347; | |
1058 RenderingContext.MAX_VIEWPORT_DIMS = 3386; | |
1059 RenderingContext.MEDIUM_FLOAT = 36337; | |
1060 RenderingContext.MEDIUM_INT = 36340; | |
1061 RenderingContext.MIRRORED_REPEAT = 33648; | |
1062 RenderingContext.NEAREST = 9728; | |
1063 RenderingContext.NEAREST_MIPMAP_LINEAR = 9986; | |
1064 RenderingContext.NEAREST_MIPMAP_NEAREST = 9984; | |
1065 RenderingContext.NEVER = 512; | |
1066 RenderingContext.NICEST = 4354; | |
1067 RenderingContext.NONE = 0; | |
1068 RenderingContext.NOTEQUAL = 517; | |
1069 RenderingContext.NO_ERROR = 0; | |
1070 RenderingContext.ONE = 1; | |
1071 RenderingContext.ONE_MINUS_CONSTANT_ALPHA = 32772; | |
1072 RenderingContext.ONE_MINUS_CONSTANT_COLOR = 32770; | |
1073 RenderingContext.ONE_MINUS_DST_ALPHA = 773; | |
1074 RenderingContext.ONE_MINUS_DST_COLOR = 775; | |
1075 RenderingContext.ONE_MINUS_SRC_ALPHA = 771; | |
1076 RenderingContext.ONE_MINUS_SRC_COLOR = 769; | |
1077 RenderingContext.OUT_OF_MEMORY = 1285; | |
1078 RenderingContext.PACK_ALIGNMENT = 3333; | |
1079 RenderingContext.POINTS = 0; | |
1080 RenderingContext.POLYGON_OFFSET_FACTOR = 32824; | |
1081 RenderingContext.POLYGON_OFFSET_FILL = 32823; | |
1082 RenderingContext.POLYGON_OFFSET_UNITS = 10752; | |
1083 RenderingContext.RED_BITS = 3410; | |
1084 RenderingContext.RENDERBUFFER = 36161; | |
1085 RenderingContext.RENDERBUFFER_ALPHA_SIZE = 36179; | |
1086 RenderingContext.RENDERBUFFER_BINDING = 36007; | |
1087 RenderingContext.RENDERBUFFER_BLUE_SIZE = 36178; | |
1088 RenderingContext.RENDERBUFFER_DEPTH_SIZE = 36180; | |
1089 RenderingContext.RENDERBUFFER_GREEN_SIZE = 36177; | |
1090 RenderingContext.RENDERBUFFER_HEIGHT = 36163; | |
1091 RenderingContext.RENDERBUFFER_INTERNAL_FORMAT = 36164; | |
1092 RenderingContext.RENDERBUFFER_RED_SIZE = 36176; | |
1093 RenderingContext.RENDERBUFFER_STENCIL_SIZE = 36181; | |
1094 RenderingContext.RENDERBUFFER_WIDTH = 36162; | |
1095 RenderingContext.RENDERER = 7937; | |
1096 RenderingContext.REPEAT = 10497; | |
1097 RenderingContext.REPLACE = 7681; | |
1098 RenderingContext.RGB = 6407; | |
1099 RenderingContext.RGB565 = 36194; | |
1100 RenderingContext.RGB5_A1 = 32855; | |
1101 RenderingContext.RGBA = 6408; | |
1102 RenderingContext.RGBA4 = 32854; | |
1103 RenderingContext.SAMPLER_2D = 35678; | |
1104 RenderingContext.SAMPLER_CUBE = 35680; | |
1105 RenderingContext.SAMPLES = 32937; | |
1106 RenderingContext.SAMPLE_ALPHA_TO_COVERAGE = 32926; | |
1107 RenderingContext.SAMPLE_BUFFERS = 32936; | |
1108 RenderingContext.SAMPLE_COVERAGE = 32928; | |
1109 RenderingContext.SAMPLE_COVERAGE_INVERT = 32939; | |
1110 RenderingContext.SAMPLE_COVERAGE_VALUE = 32938; | |
1111 RenderingContext.SCISSOR_BOX = 3088; | |
1112 RenderingContext.SCISSOR_TEST = 3089; | |
1113 RenderingContext.SHADER_TYPE = 35663; | |
1114 RenderingContext.SHADING_LANGUAGE_VERSION = 35724; | |
1115 RenderingContext.SHORT = 5122; | |
1116 RenderingContext.SRC_ALPHA = 770; | |
1117 RenderingContext.SRC_ALPHA_SATURATE = 776; | |
1118 RenderingContext.SRC_COLOR = 768; | |
1119 RenderingContext.STATIC_DRAW = 35044; | |
1120 RenderingContext.STENCIL_ATTACHMENT = 36128; | |
1121 RenderingContext.STENCIL_BACK_FAIL = 34817; | |
1122 RenderingContext.STENCIL_BACK_FUNC = 34816; | |
1123 RenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL = 34818; | |
1124 RenderingContext.STENCIL_BACK_PASS_DEPTH_PASS = 34819; | |
1125 RenderingContext.STENCIL_BACK_REF = 36003; | |
1126 RenderingContext.STENCIL_BACK_VALUE_MASK = 36004; | |
1127 RenderingContext.STENCIL_BACK_WRITEMASK = 36005; | |
1128 RenderingContext.STENCIL_BITS = 3415; | |
1129 RenderingContext.STENCIL_BUFFER_BIT = 1024; | |
1130 RenderingContext.STENCIL_CLEAR_VALUE = 2961; | |
1131 RenderingContext.STENCIL_FAIL = 2964; | |
1132 RenderingContext.STENCIL_FUNC = 2962; | |
1133 RenderingContext.STENCIL_INDEX = 6401; | |
1134 RenderingContext.STENCIL_INDEX8 = 36168; | |
1135 RenderingContext.STENCIL_PASS_DEPTH_FAIL = 2965; | |
1136 RenderingContext.STENCIL_PASS_DEPTH_PASS = 2966; | |
1137 RenderingContext.STENCIL_REF = 2967; | |
1138 RenderingContext.STENCIL_TEST = 2960; | |
1139 RenderingContext.STENCIL_VALUE_MASK = 2963; | |
1140 RenderingContext.STENCIL_WRITEMASK = 2968; | |
1141 RenderingContext.STREAM_DRAW = 35040; | |
1142 RenderingContext.SUBPIXEL_BITS = 3408; | |
1143 RenderingContext.TEXTURE = 5890; | |
1144 RenderingContext.TEXTURE0 = 33984; | |
1145 RenderingContext.TEXTURE1 = 33985; | |
1146 RenderingContext.TEXTURE10 = 33994; | |
1147 RenderingContext.TEXTURE11 = 33995; | |
1148 RenderingContext.TEXTURE12 = 33996; | |
1149 RenderingContext.TEXTURE13 = 33997; | |
1150 RenderingContext.TEXTURE14 = 33998; | |
1151 RenderingContext.TEXTURE15 = 33999; | |
1152 RenderingContext.TEXTURE16 = 34000; | |
1153 RenderingContext.TEXTURE17 = 34001; | |
1154 RenderingContext.TEXTURE18 = 34002; | |
1155 RenderingContext.TEXTURE19 = 34003; | |
1156 RenderingContext.TEXTURE2 = 33986; | |
1157 RenderingContext.TEXTURE20 = 34004; | |
1158 RenderingContext.TEXTURE21 = 34005; | |
1159 RenderingContext.TEXTURE22 = 34006; | |
1160 RenderingContext.TEXTURE23 = 34007; | |
1161 RenderingContext.TEXTURE24 = 34008; | |
1162 RenderingContext.TEXTURE25 = 34009; | |
1163 RenderingContext.TEXTURE26 = 34010; | |
1164 RenderingContext.TEXTURE27 = 34011; | |
1165 RenderingContext.TEXTURE28 = 34012; | |
1166 RenderingContext.TEXTURE29 = 34013; | |
1167 RenderingContext.TEXTURE3 = 33987; | |
1168 RenderingContext.TEXTURE30 = 34014; | |
1169 RenderingContext.TEXTURE31 = 34015; | |
1170 RenderingContext.TEXTURE4 = 33988; | |
1171 RenderingContext.TEXTURE5 = 33989; | |
1172 RenderingContext.TEXTURE6 = 33990; | |
1173 RenderingContext.TEXTURE7 = 33991; | |
1174 RenderingContext.TEXTURE8 = 33992; | |
1175 RenderingContext.TEXTURE9 = 33993; | |
1176 RenderingContext.TEXTURE_2D = 3553; | |
1177 RenderingContext.TEXTURE_BINDING_2D = 32873; | |
1178 RenderingContext.TEXTURE_BINDING_CUBE_MAP = 34068; | |
1179 RenderingContext.TEXTURE_CUBE_MAP = 34067; | |
1180 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X = 34070; | |
1181 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072; | |
1182 RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074; | |
1183 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X = 34069; | |
1184 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y = 34071; | |
1185 RenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z = 34073; | |
1186 RenderingContext.TEXTURE_MAG_FILTER = 10240; | |
1187 RenderingContext.TEXTURE_MIN_FILTER = 10241; | |
1188 RenderingContext.TEXTURE_WRAP_S = 10242; | |
1189 RenderingContext.TEXTURE_WRAP_T = 10243; | |
1190 RenderingContext.TRIANGLES = 4; | |
1191 RenderingContext.TRIANGLE_FAN = 6; | |
1192 RenderingContext.TRIANGLE_STRIP = 5; | |
1193 RenderingContext.UNPACK_ALIGNMENT = 3317; | |
1194 RenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL = 37443; | |
1195 RenderingContext.UNPACK_FLIP_Y_WEBGL = 37440; | |
1196 RenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL = 37441; | |
1197 RenderingContext.UNSIGNED_BYTE = 5121; | |
1198 RenderingContext.UNSIGNED_INT = 5125; | |
1199 RenderingContext.UNSIGNED_SHORT = 5123; | |
1200 RenderingContext.UNSIGNED_SHORT_4_4_4_4 = 32819; | |
1201 RenderingContext.UNSIGNED_SHORT_5_5_5_1 = 32820; | |
1202 RenderingContext.UNSIGNED_SHORT_5_6_5 = 33635; | |
1203 RenderingContext.VALIDATE_STATUS = 35715; | |
1204 RenderingContext.VENDOR = 7936; | |
1205 RenderingContext.VERSION = 7938; | |
1206 RenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 34975; | |
1207 RenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED = 34338; | |
1208 RenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED = 34922; | |
1209 RenderingContext.VERTEX_ATTRIB_ARRAY_POINTER = 34373; | |
1210 RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE = 34339; | |
1211 RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE = 34340; | |
1212 RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE = 34341; | |
1213 RenderingContext.VERTEX_SHADER = 35633; | |
1214 RenderingContext.VIEWPORT = 2978; | |
1215 RenderingContext.ZERO = 0; | |
1216 dart.registerExtension(dart.global.WebGLRenderingContext, RenderingContext); | |
1217 const ACTIVE_ATTRIBUTES = RenderingContext.ACTIVE_ATTRIBUTES; | |
1218 const ACTIVE_TEXTURE = RenderingContext.ACTIVE_TEXTURE; | |
1219 const ACTIVE_UNIFORMS = RenderingContext.ACTIVE_UNIFORMS; | |
1220 const ALIASED_LINE_WIDTH_RANGE = RenderingContext.ALIASED_LINE_WIDTH_RANGE; | |
1221 const ALIASED_POINT_SIZE_RANGE = RenderingContext.ALIASED_POINT_SIZE_RANGE; | |
1222 const ALPHA = RenderingContext.ALPHA; | |
1223 const ALPHA_BITS = RenderingContext.ALPHA_BITS; | |
1224 const ALWAYS = RenderingContext.ALWAYS; | |
1225 const ARRAY_BUFFER = RenderingContext.ARRAY_BUFFER; | |
1226 const ARRAY_BUFFER_BINDING = RenderingContext.ARRAY_BUFFER_BINDING; | |
1227 const ATTACHED_SHADERS = RenderingContext.ATTACHED_SHADERS; | |
1228 const BACK = RenderingContext.BACK; | |
1229 const BLEND = RenderingContext.BLEND; | |
1230 const BLEND_COLOR = RenderingContext.BLEND_COLOR; | |
1231 const BLEND_DST_ALPHA = RenderingContext.BLEND_DST_ALPHA; | |
1232 const BLEND_DST_RGB = RenderingContext.BLEND_DST_RGB; | |
1233 const BLEND_EQUATION = RenderingContext.BLEND_EQUATION; | |
1234 const BLEND_EQUATION_ALPHA = RenderingContext.BLEND_EQUATION_ALPHA; | |
1235 const BLEND_EQUATION_RGB = RenderingContext.BLEND_EQUATION_RGB; | |
1236 const BLEND_SRC_ALPHA = RenderingContext.BLEND_SRC_ALPHA; | |
1237 const BLEND_SRC_RGB = RenderingContext.BLEND_SRC_RGB; | |
1238 const BLUE_BITS = RenderingContext.BLUE_BITS; | |
1239 const BOOL = RenderingContext.BOOL; | |
1240 const BOOL_VEC2 = RenderingContext.BOOL_VEC2; | |
1241 const BOOL_VEC3 = RenderingContext.BOOL_VEC3; | |
1242 const BOOL_VEC4 = RenderingContext.BOOL_VEC4; | |
1243 const BROWSER_DEFAULT_WEBGL = RenderingContext.BROWSER_DEFAULT_WEBGL; | |
1244 const BUFFER_SIZE = RenderingContext.BUFFER_SIZE; | |
1245 const BUFFER_USAGE = RenderingContext.BUFFER_USAGE; | |
1246 const BYTE = RenderingContext.BYTE; | |
1247 const CCW = RenderingContext.CCW; | |
1248 const CLAMP_TO_EDGE = RenderingContext.CLAMP_TO_EDGE; | |
1249 const COLOR_ATTACHMENT0 = RenderingContext.COLOR_ATTACHMENT0; | |
1250 const COLOR_BUFFER_BIT = RenderingContext.COLOR_BUFFER_BIT; | |
1251 const COLOR_CLEAR_VALUE = RenderingContext.COLOR_CLEAR_VALUE; | |
1252 const COLOR_WRITEMASK = RenderingContext.COLOR_WRITEMASK; | |
1253 const COMPILE_STATUS = RenderingContext.COMPILE_STATUS; | |
1254 const COMPRESSED_TEXTURE_FORMATS = RenderingContext.COMPRESSED_TEXTURE_FORMATS
; | |
1255 const CONSTANT_ALPHA = RenderingContext.CONSTANT_ALPHA; | |
1256 const CONSTANT_COLOR = RenderingContext.CONSTANT_COLOR; | |
1257 const CONTEXT_LOST_WEBGL = RenderingContext.CONTEXT_LOST_WEBGL; | |
1258 const CULL_FACE = RenderingContext.CULL_FACE; | |
1259 const CULL_FACE_MODE = RenderingContext.CULL_FACE_MODE; | |
1260 const CURRENT_PROGRAM = RenderingContext.CURRENT_PROGRAM; | |
1261 const CURRENT_VERTEX_ATTRIB = RenderingContext.CURRENT_VERTEX_ATTRIB; | |
1262 const CW = RenderingContext.CW; | |
1263 const DECR = RenderingContext.DECR; | |
1264 const DECR_WRAP = RenderingContext.DECR_WRAP; | |
1265 const DELETE_STATUS = RenderingContext.DELETE_STATUS; | |
1266 const DEPTH_ATTACHMENT = RenderingContext.DEPTH_ATTACHMENT; | |
1267 const DEPTH_BITS = RenderingContext.DEPTH_BITS; | |
1268 const DEPTH_BUFFER_BIT = RenderingContext.DEPTH_BUFFER_BIT; | |
1269 const DEPTH_CLEAR_VALUE = RenderingContext.DEPTH_CLEAR_VALUE; | |
1270 const DEPTH_COMPONENT = RenderingContext.DEPTH_COMPONENT; | |
1271 const DEPTH_COMPONENT16 = RenderingContext.DEPTH_COMPONENT16; | |
1272 const DEPTH_FUNC = RenderingContext.DEPTH_FUNC; | |
1273 const DEPTH_RANGE = RenderingContext.DEPTH_RANGE; | |
1274 const DEPTH_STENCIL = RenderingContext.DEPTH_STENCIL; | |
1275 const DEPTH_STENCIL_ATTACHMENT = RenderingContext.DEPTH_STENCIL_ATTACHMENT; | |
1276 const DEPTH_TEST = RenderingContext.DEPTH_TEST; | |
1277 const DEPTH_WRITEMASK = RenderingContext.DEPTH_WRITEMASK; | |
1278 const DITHER = RenderingContext.DITHER; | |
1279 const DONT_CARE = RenderingContext.DONT_CARE; | |
1280 const DST_ALPHA = RenderingContext.DST_ALPHA; | |
1281 const DST_COLOR = RenderingContext.DST_COLOR; | |
1282 const DYNAMIC_DRAW = RenderingContext.DYNAMIC_DRAW; | |
1283 const ELEMENT_ARRAY_BUFFER = RenderingContext.ELEMENT_ARRAY_BUFFER; | |
1284 const ELEMENT_ARRAY_BUFFER_BINDING = RenderingContext.ELEMENT_ARRAY_BUFFER_BIN
DING; | |
1285 const EQUAL = RenderingContext.EQUAL; | |
1286 const FASTEST = RenderingContext.FASTEST; | |
1287 const FLOAT = RenderingContext.FLOAT; | |
1288 const FLOAT_MAT2 = RenderingContext.FLOAT_MAT2; | |
1289 const FLOAT_MAT3 = RenderingContext.FLOAT_MAT3; | |
1290 const FLOAT_MAT4 = RenderingContext.FLOAT_MAT4; | |
1291 const FLOAT_VEC2 = RenderingContext.FLOAT_VEC2; | |
1292 const FLOAT_VEC3 = RenderingContext.FLOAT_VEC3; | |
1293 const FLOAT_VEC4 = RenderingContext.FLOAT_VEC4; | |
1294 const FRAGMENT_SHADER = RenderingContext.FRAGMENT_SHADER; | |
1295 const FRAMEBUFFER = RenderingContext.FRAMEBUFFER; | |
1296 const FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = RenderingContext.FRAMEBUFFER_ATTACH
MENT_OBJECT_NAME; | |
1297 const FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = RenderingContext.FRAMEBUFFER_ATTACH
MENT_OBJECT_TYPE; | |
1298 const FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = RenderingContext.FRAMEBUF
FER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE; | |
1299 const FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = RenderingContext.FRAMEBUFFER_ATTA
CHMENT_TEXTURE_LEVEL; | |
1300 const FRAMEBUFFER_BINDING = RenderingContext.FRAMEBUFFER_BINDING; | |
1301 const FRAMEBUFFER_COMPLETE = RenderingContext.FRAMEBUFFER_COMPLETE; | |
1302 const FRAMEBUFFER_INCOMPLETE_ATTACHMENT = RenderingContext.FRAMEBUFFER_INCOMPL
ETE_ATTACHMENT; | |
1303 const FRAMEBUFFER_INCOMPLETE_DIMENSIONS = RenderingContext.FRAMEBUFFER_INCOMPL
ETE_DIMENSIONS; | |
1304 const FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = RenderingContext.FRAMEBUFFER
_INCOMPLETE_MISSING_ATTACHMENT; | |
1305 const FRAMEBUFFER_UNSUPPORTED = RenderingContext.FRAMEBUFFER_UNSUPPORTED; | |
1306 const FRONT = RenderingContext.FRONT; | |
1307 const FRONT_AND_BACK = RenderingContext.FRONT_AND_BACK; | |
1308 const FRONT_FACE = RenderingContext.FRONT_FACE; | |
1309 const FUNC_ADD = RenderingContext.FUNC_ADD; | |
1310 const FUNC_REVERSE_SUBTRACT = RenderingContext.FUNC_REVERSE_SUBTRACT; | |
1311 const FUNC_SUBTRACT = RenderingContext.FUNC_SUBTRACT; | |
1312 const GENERATE_MIPMAP_HINT = RenderingContext.GENERATE_MIPMAP_HINT; | |
1313 const GEQUAL = RenderingContext.GEQUAL; | |
1314 const GREATER = RenderingContext.GREATER; | |
1315 const GREEN_BITS = RenderingContext.GREEN_BITS; | |
1316 class OesTextureHalfFloat extends _interceptors.Interceptor { | |
1317 static _() { | |
1318 dart.throw(new core.UnsupportedError("Not supported")); | |
1319 } | |
1320 } | |
1321 dart.setSignature(OesTextureHalfFloat, { | |
1322 constructors: () => ({_: [OesTextureHalfFloat, []]}) | |
1323 }); | |
1324 OesTextureHalfFloat[dart.metadata] = () => [dart.const(new _metadata.DocsEdita
ble()), dart.const(new _metadata.DomName('OESTextureHalfFloat')), dart.const(new
_metadata.Experimental()), dart.const(new _js_helper.Native("OESTextureHalfFloa
t"))]; | |
1325 OesTextureHalfFloat.HALF_FLOAT_OES = 36193; | |
1326 dart.registerExtension(dart.global.OESTextureHalfFloat, OesTextureHalfFloat); | |
1327 const HALF_FLOAT_OES = OesTextureHalfFloat.HALF_FLOAT_OES; | |
1328 const HIGH_FLOAT = RenderingContext.HIGH_FLOAT; | |
1329 const HIGH_INT = RenderingContext.HIGH_INT; | |
1330 const INCR = RenderingContext.INCR; | |
1331 const INCR_WRAP = RenderingContext.INCR_WRAP; | |
1332 const INT = RenderingContext.INT; | |
1333 const INT_VEC2 = RenderingContext.INT_VEC2; | |
1334 const INT_VEC3 = RenderingContext.INT_VEC3; | |
1335 const INT_VEC4 = RenderingContext.INT_VEC4; | |
1336 const INVALID_ENUM = RenderingContext.INVALID_ENUM; | |
1337 const INVALID_FRAMEBUFFER_OPERATION = RenderingContext.INVALID_FRAMEBUFFER_OPE
RATION; | |
1338 const INVALID_OPERATION = RenderingContext.INVALID_OPERATION; | |
1339 const INVALID_VALUE = RenderingContext.INVALID_VALUE; | |
1340 const INVERT = RenderingContext.INVERT; | |
1341 const KEEP = RenderingContext.KEEP; | |
1342 const LEQUAL = RenderingContext.LEQUAL; | |
1343 const LESS = RenderingContext.LESS; | |
1344 const LINEAR = RenderingContext.LINEAR; | |
1345 const LINEAR_MIPMAP_LINEAR = RenderingContext.LINEAR_MIPMAP_LINEAR; | |
1346 const LINEAR_MIPMAP_NEAREST = RenderingContext.LINEAR_MIPMAP_NEAREST; | |
1347 const LINES = RenderingContext.LINES; | |
1348 const LINE_LOOP = RenderingContext.LINE_LOOP; | |
1349 const LINE_STRIP = RenderingContext.LINE_STRIP; | |
1350 const LINE_WIDTH = RenderingContext.LINE_WIDTH; | |
1351 const LINK_STATUS = RenderingContext.LINK_STATUS; | |
1352 const LOW_FLOAT = RenderingContext.LOW_FLOAT; | |
1353 const LOW_INT = RenderingContext.LOW_INT; | |
1354 const LUMINANCE = RenderingContext.LUMINANCE; | |
1355 const LUMINANCE_ALPHA = RenderingContext.LUMINANCE_ALPHA; | |
1356 const MAX_COMBINED_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_COMBINED_TEXTURE
_IMAGE_UNITS; | |
1357 const MAX_CUBE_MAP_TEXTURE_SIZE = RenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE; | |
1358 const MAX_FRAGMENT_UNIFORM_VECTORS = RenderingContext.MAX_FRAGMENT_UNIFORM_VEC
TORS; | |
1359 const MAX_RENDERBUFFER_SIZE = RenderingContext.MAX_RENDERBUFFER_SIZE; | |
1360 const MAX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_TEXTURE_IMAGE_UNITS; | |
1361 const MAX_TEXTURE_SIZE = RenderingContext.MAX_TEXTURE_SIZE; | |
1362 const MAX_VARYING_VECTORS = RenderingContext.MAX_VARYING_VECTORS; | |
1363 const MAX_VERTEX_ATTRIBS = RenderingContext.MAX_VERTEX_ATTRIBS; | |
1364 const MAX_VERTEX_TEXTURE_IMAGE_UNITS = RenderingContext.MAX_VERTEX_TEXTURE_IMA
GE_UNITS; | |
1365 const MAX_VERTEX_UNIFORM_VECTORS = RenderingContext.MAX_VERTEX_UNIFORM_VECTORS
; | |
1366 const MAX_VIEWPORT_DIMS = RenderingContext.MAX_VIEWPORT_DIMS; | |
1367 const MEDIUM_FLOAT = RenderingContext.MEDIUM_FLOAT; | |
1368 const MEDIUM_INT = RenderingContext.MEDIUM_INT; | |
1369 const MIRRORED_REPEAT = RenderingContext.MIRRORED_REPEAT; | |
1370 const NEAREST = RenderingContext.NEAREST; | |
1371 const NEAREST_MIPMAP_LINEAR = RenderingContext.NEAREST_MIPMAP_LINEAR; | |
1372 const NEAREST_MIPMAP_NEAREST = RenderingContext.NEAREST_MIPMAP_NEAREST; | |
1373 const NEVER = RenderingContext.NEVER; | |
1374 const NICEST = RenderingContext.NICEST; | |
1375 const NONE = RenderingContext.NONE; | |
1376 const NOTEQUAL = RenderingContext.NOTEQUAL; | |
1377 const NO_ERROR = RenderingContext.NO_ERROR; | |
1378 const ONE = RenderingContext.ONE; | |
1379 const ONE_MINUS_CONSTANT_ALPHA = RenderingContext.ONE_MINUS_CONSTANT_ALPHA; | |
1380 const ONE_MINUS_CONSTANT_COLOR = RenderingContext.ONE_MINUS_CONSTANT_COLOR; | |
1381 const ONE_MINUS_DST_ALPHA = RenderingContext.ONE_MINUS_DST_ALPHA; | |
1382 const ONE_MINUS_DST_COLOR = RenderingContext.ONE_MINUS_DST_COLOR; | |
1383 const ONE_MINUS_SRC_ALPHA = RenderingContext.ONE_MINUS_SRC_ALPHA; | |
1384 const ONE_MINUS_SRC_COLOR = RenderingContext.ONE_MINUS_SRC_COLOR; | |
1385 const OUT_OF_MEMORY = RenderingContext.OUT_OF_MEMORY; | |
1386 const PACK_ALIGNMENT = RenderingContext.PACK_ALIGNMENT; | |
1387 const POINTS = RenderingContext.POINTS; | |
1388 const POLYGON_OFFSET_FACTOR = RenderingContext.POLYGON_OFFSET_FACTOR; | |
1389 const POLYGON_OFFSET_FILL = RenderingContext.POLYGON_OFFSET_FILL; | |
1390 const POLYGON_OFFSET_UNITS = RenderingContext.POLYGON_OFFSET_UNITS; | |
1391 const RED_BITS = RenderingContext.RED_BITS; | |
1392 const RENDERBUFFER = RenderingContext.RENDERBUFFER; | |
1393 const RENDERBUFFER_ALPHA_SIZE = RenderingContext.RENDERBUFFER_ALPHA_SIZE; | |
1394 const RENDERBUFFER_BINDING = RenderingContext.RENDERBUFFER_BINDING; | |
1395 const RENDERBUFFER_BLUE_SIZE = RenderingContext.RENDERBUFFER_BLUE_SIZE; | |
1396 const RENDERBUFFER_DEPTH_SIZE = RenderingContext.RENDERBUFFER_DEPTH_SIZE; | |
1397 const RENDERBUFFER_GREEN_SIZE = RenderingContext.RENDERBUFFER_GREEN_SIZE; | |
1398 const RENDERBUFFER_HEIGHT = RenderingContext.RENDERBUFFER_HEIGHT; | |
1399 const RENDERBUFFER_INTERNAL_FORMAT = RenderingContext.RENDERBUFFER_INTERNAL_FO
RMAT; | |
1400 const RENDERBUFFER_RED_SIZE = RenderingContext.RENDERBUFFER_RED_SIZE; | |
1401 const RENDERBUFFER_STENCIL_SIZE = RenderingContext.RENDERBUFFER_STENCIL_SIZE; | |
1402 const RENDERBUFFER_WIDTH = RenderingContext.RENDERBUFFER_WIDTH; | |
1403 const RENDERER = RenderingContext.RENDERER; | |
1404 const REPEAT = RenderingContext.REPEAT; | |
1405 const REPLACE = RenderingContext.REPLACE; | |
1406 const RGB = RenderingContext.RGB; | |
1407 const RGB565 = RenderingContext.RGB565; | |
1408 const RGB5_A1 = RenderingContext.RGB5_A1; | |
1409 const RGBA = RenderingContext.RGBA; | |
1410 const RGBA4 = RenderingContext.RGBA4; | |
1411 const SAMPLER_2D = RenderingContext.SAMPLER_2D; | |
1412 const SAMPLER_CUBE = RenderingContext.SAMPLER_CUBE; | |
1413 const SAMPLES = RenderingContext.SAMPLES; | |
1414 const SAMPLE_ALPHA_TO_COVERAGE = RenderingContext.SAMPLE_ALPHA_TO_COVERAGE; | |
1415 const SAMPLE_BUFFERS = RenderingContext.SAMPLE_BUFFERS; | |
1416 const SAMPLE_COVERAGE = RenderingContext.SAMPLE_COVERAGE; | |
1417 const SAMPLE_COVERAGE_INVERT = RenderingContext.SAMPLE_COVERAGE_INVERT; | |
1418 const SAMPLE_COVERAGE_VALUE = RenderingContext.SAMPLE_COVERAGE_VALUE; | |
1419 const SCISSOR_BOX = RenderingContext.SCISSOR_BOX; | |
1420 const SCISSOR_TEST = RenderingContext.SCISSOR_TEST; | |
1421 const SHADER_TYPE = RenderingContext.SHADER_TYPE; | |
1422 const SHADING_LANGUAGE_VERSION = RenderingContext.SHADING_LANGUAGE_VERSION; | |
1423 const SHORT = RenderingContext.SHORT; | |
1424 const SRC_ALPHA = RenderingContext.SRC_ALPHA; | |
1425 const SRC_ALPHA_SATURATE = RenderingContext.SRC_ALPHA_SATURATE; | |
1426 const SRC_COLOR = RenderingContext.SRC_COLOR; | |
1427 const STATIC_DRAW = RenderingContext.STATIC_DRAW; | |
1428 const STENCIL_ATTACHMENT = RenderingContext.STENCIL_ATTACHMENT; | |
1429 const STENCIL_BACK_FAIL = RenderingContext.STENCIL_BACK_FAIL; | |
1430 const STENCIL_BACK_FUNC = RenderingContext.STENCIL_BACK_FUNC; | |
1431 const STENCIL_BACK_PASS_DEPTH_FAIL = RenderingContext.STENCIL_BACK_PASS_DEPTH_
FAIL; | |
1432 const STENCIL_BACK_PASS_DEPTH_PASS = RenderingContext.STENCIL_BACK_PASS_DEPTH_
PASS; | |
1433 const STENCIL_BACK_REF = RenderingContext.STENCIL_BACK_REF; | |
1434 const STENCIL_BACK_VALUE_MASK = RenderingContext.STENCIL_BACK_VALUE_MASK; | |
1435 const STENCIL_BACK_WRITEMASK = RenderingContext.STENCIL_BACK_WRITEMASK; | |
1436 const STENCIL_BITS = RenderingContext.STENCIL_BITS; | |
1437 const STENCIL_BUFFER_BIT = RenderingContext.STENCIL_BUFFER_BIT; | |
1438 const STENCIL_CLEAR_VALUE = RenderingContext.STENCIL_CLEAR_VALUE; | |
1439 const STENCIL_FAIL = RenderingContext.STENCIL_FAIL; | |
1440 const STENCIL_FUNC = RenderingContext.STENCIL_FUNC; | |
1441 const STENCIL_INDEX = RenderingContext.STENCIL_INDEX; | |
1442 const STENCIL_INDEX8 = RenderingContext.STENCIL_INDEX8; | |
1443 const STENCIL_PASS_DEPTH_FAIL = RenderingContext.STENCIL_PASS_DEPTH_FAIL; | |
1444 const STENCIL_PASS_DEPTH_PASS = RenderingContext.STENCIL_PASS_DEPTH_PASS; | |
1445 const STENCIL_REF = RenderingContext.STENCIL_REF; | |
1446 const STENCIL_TEST = RenderingContext.STENCIL_TEST; | |
1447 const STENCIL_VALUE_MASK = RenderingContext.STENCIL_VALUE_MASK; | |
1448 const STENCIL_WRITEMASK = RenderingContext.STENCIL_WRITEMASK; | |
1449 const STREAM_DRAW = RenderingContext.STREAM_DRAW; | |
1450 const SUBPIXEL_BITS = RenderingContext.SUBPIXEL_BITS; | |
1451 const TEXTURE = RenderingContext.TEXTURE; | |
1452 const TEXTURE0 = RenderingContext.TEXTURE0; | |
1453 const TEXTURE1 = RenderingContext.TEXTURE1; | |
1454 const TEXTURE10 = RenderingContext.TEXTURE10; | |
1455 const TEXTURE11 = RenderingContext.TEXTURE11; | |
1456 const TEXTURE12 = RenderingContext.TEXTURE12; | |
1457 const TEXTURE13 = RenderingContext.TEXTURE13; | |
1458 const TEXTURE14 = RenderingContext.TEXTURE14; | |
1459 const TEXTURE15 = RenderingContext.TEXTURE15; | |
1460 const TEXTURE16 = RenderingContext.TEXTURE16; | |
1461 const TEXTURE17 = RenderingContext.TEXTURE17; | |
1462 const TEXTURE18 = RenderingContext.TEXTURE18; | |
1463 const TEXTURE19 = RenderingContext.TEXTURE19; | |
1464 const TEXTURE2 = RenderingContext.TEXTURE2; | |
1465 const TEXTURE20 = RenderingContext.TEXTURE20; | |
1466 const TEXTURE21 = RenderingContext.TEXTURE21; | |
1467 const TEXTURE22 = RenderingContext.TEXTURE22; | |
1468 const TEXTURE23 = RenderingContext.TEXTURE23; | |
1469 const TEXTURE24 = RenderingContext.TEXTURE24; | |
1470 const TEXTURE25 = RenderingContext.TEXTURE25; | |
1471 const TEXTURE26 = RenderingContext.TEXTURE26; | |
1472 const TEXTURE27 = RenderingContext.TEXTURE27; | |
1473 const TEXTURE28 = RenderingContext.TEXTURE28; | |
1474 const TEXTURE29 = RenderingContext.TEXTURE29; | |
1475 const TEXTURE3 = RenderingContext.TEXTURE3; | |
1476 const TEXTURE30 = RenderingContext.TEXTURE30; | |
1477 const TEXTURE31 = RenderingContext.TEXTURE31; | |
1478 const TEXTURE4 = RenderingContext.TEXTURE4; | |
1479 const TEXTURE5 = RenderingContext.TEXTURE5; | |
1480 const TEXTURE6 = RenderingContext.TEXTURE6; | |
1481 const TEXTURE7 = RenderingContext.TEXTURE7; | |
1482 const TEXTURE8 = RenderingContext.TEXTURE8; | |
1483 const TEXTURE9 = RenderingContext.TEXTURE9; | |
1484 const TEXTURE_2D = RenderingContext.TEXTURE_2D; | |
1485 const TEXTURE_BINDING_2D = RenderingContext.TEXTURE_BINDING_2D; | |
1486 const TEXTURE_BINDING_CUBE_MAP = RenderingContext.TEXTURE_BINDING_CUBE_MAP; | |
1487 const TEXTURE_CUBE_MAP = RenderingContext.TEXTURE_CUBE_MAP; | |
1488 const TEXTURE_CUBE_MAP_NEGATIVE_X = RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE
_X; | |
1489 const TEXTURE_CUBE_MAP_NEGATIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE
_Y; | |
1490 const TEXTURE_CUBE_MAP_NEGATIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_NEGATIVE
_Z; | |
1491 const TEXTURE_CUBE_MAP_POSITIVE_X = RenderingContext.TEXTURE_CUBE_MAP_POSITIVE
_X; | |
1492 const TEXTURE_CUBE_MAP_POSITIVE_Y = RenderingContext.TEXTURE_CUBE_MAP_POSITIVE
_Y; | |
1493 const TEXTURE_CUBE_MAP_POSITIVE_Z = RenderingContext.TEXTURE_CUBE_MAP_POSITIVE
_Z; | |
1494 const TEXTURE_MAG_FILTER = RenderingContext.TEXTURE_MAG_FILTER; | |
1495 const TEXTURE_MIN_FILTER = RenderingContext.TEXTURE_MIN_FILTER; | |
1496 const TEXTURE_WRAP_S = RenderingContext.TEXTURE_WRAP_S; | |
1497 const TEXTURE_WRAP_T = RenderingContext.TEXTURE_WRAP_T; | |
1498 const TRIANGLES = RenderingContext.TRIANGLES; | |
1499 const TRIANGLE_FAN = RenderingContext.TRIANGLE_FAN; | |
1500 const TRIANGLE_STRIP = RenderingContext.TRIANGLE_STRIP; | |
1501 const UNPACK_ALIGNMENT = RenderingContext.UNPACK_ALIGNMENT; | |
1502 const UNPACK_COLORSPACE_CONVERSION_WEBGL = RenderingContext.UNPACK_COLORSPACE_
CONVERSION_WEBGL; | |
1503 const UNPACK_FLIP_Y_WEBGL = RenderingContext.UNPACK_FLIP_Y_WEBGL; | |
1504 const UNPACK_PREMULTIPLY_ALPHA_WEBGL = RenderingContext.UNPACK_PREMULTIPLY_ALP
HA_WEBGL; | |
1505 const UNSIGNED_BYTE = RenderingContext.UNSIGNED_BYTE; | |
1506 const UNSIGNED_INT = RenderingContext.UNSIGNED_INT; | |
1507 const UNSIGNED_SHORT = RenderingContext.UNSIGNED_SHORT; | |
1508 const UNSIGNED_SHORT_4_4_4_4 = RenderingContext.UNSIGNED_SHORT_4_4_4_4; | |
1509 const UNSIGNED_SHORT_5_5_5_1 = RenderingContext.UNSIGNED_SHORT_5_5_5_1; | |
1510 const UNSIGNED_SHORT_5_6_5 = RenderingContext.UNSIGNED_SHORT_5_6_5; | |
1511 const VALIDATE_STATUS = RenderingContext.VALIDATE_STATUS; | |
1512 const VENDOR = RenderingContext.VENDOR; | |
1513 const VERSION = RenderingContext.VERSION; | |
1514 const VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = RenderingContext.VERTEX_ATTRIB_ARRA
Y_BUFFER_BINDING; | |
1515 const VERTEX_ATTRIB_ARRAY_ENABLED = RenderingContext.VERTEX_ATTRIB_ARRAY_ENABL
ED; | |
1516 const VERTEX_ATTRIB_ARRAY_NORMALIZED = RenderingContext.VERTEX_ATTRIB_ARRAY_NO
RMALIZED; | |
1517 const VERTEX_ATTRIB_ARRAY_POINTER = RenderingContext.VERTEX_ATTRIB_ARRAY_POINT
ER; | |
1518 const VERTEX_ATTRIB_ARRAY_SIZE = RenderingContext.VERTEX_ATTRIB_ARRAY_SIZE; | |
1519 const VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE
; | |
1520 const VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; | |
1521 const VERTEX_SHADER = RenderingContext.VERTEX_SHADER; | |
1522 const VIEWPORT = RenderingContext.VIEWPORT; | |
1523 const ZERO = RenderingContext.ZERO; | |
1524 dart.defineExtensionNames([ | |
1525 'name', | |
1526 'size', | |
1527 'type' | |
1528 ]); | |
1529 class ActiveInfo extends _interceptors.Interceptor { | |
1530 static _() { | |
1531 dart.throw(new core.UnsupportedError("Not supported")); | |
1532 } | |
1533 get [dartx.name]() { | |
1534 return this.name; | |
1535 } | |
1536 get [dartx.size]() { | |
1537 return this.size; | |
1538 } | |
1539 get [dartx.type]() { | |
1540 return this.type; | |
1541 } | |
1542 } | |
1543 dart.setSignature(ActiveInfo, { | |
1544 constructors: () => ({_: [ActiveInfo, []]}) | |
1545 }); | |
1546 ActiveInfo[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()), d
art.const(new _metadata.DomName('WebGLActiveInfo')), dart.const(new _metadata.Un
stable()), dart.const(new _js_helper.Native("WebGLActiveInfo"))]; | |
1547 dart.registerExtension(dart.global.WebGLActiveInfo, ActiveInfo); | |
1548 dart.defineExtensionNames([ | |
1549 'drawArraysInstancedAngle', | |
1550 'drawElementsInstancedAngle', | |
1551 'vertexAttribDivisorAngle' | |
1552 ]); | |
1553 class AngleInstancedArrays extends _interceptors.Interceptor { | |
1554 static _() { | |
1555 dart.throw(new core.UnsupportedError("Not supported")); | |
1556 } | |
1557 [dartx.drawArraysInstancedAngle](mode, first, count, primcount) { | |
1558 return this.drawArraysInstancedANGLE(mode, first, count, primcount); | |
1559 } | |
1560 [dartx.drawElementsInstancedAngle](mode, count, type, offset, primcount) { | |
1561 return this.drawElementsInstancedANGLE(mode, count, type, offset, primcoun
t); | |
1562 } | |
1563 [dartx.vertexAttribDivisorAngle](index, divisor) { | |
1564 return this.vertexAttribDivisorANGLE(index, divisor); | |
1565 } | |
1566 } | |
1567 dart.setSignature(AngleInstancedArrays, { | |
1568 constructors: () => ({_: [AngleInstancedArrays, []]}), | |
1569 methods: () => ({ | |
1570 [dartx.drawArraysInstancedAngle]: [dart.void, [core.int, core.int, core.in
t, core.int]], | |
1571 [dartx.drawElementsInstancedAngle]: [dart.void, [core.int, core.int, core.
int, core.int, core.int]], | |
1572 [dartx.vertexAttribDivisorAngle]: [dart.void, [core.int, core.int]] | |
1573 }) | |
1574 }); | |
1575 AngleInstancedArrays[dart.metadata] = () => [dart.const(new _metadata.DocsEdit
able()), dart.const(new _metadata.DomName('ANGLEInstancedArrays')), dart.const(n
ew _metadata.Experimental()), dart.const(new _js_helper.Native("ANGLEInstancedAr
rays"))]; | |
1576 AngleInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 35070; | |
1577 dart.registerExtension(dart.global.ANGLEInstancedArrays, AngleInstancedArrays)
; | |
1578 class Buffer extends _interceptors.Interceptor { | |
1579 static _() { | |
1580 dart.throw(new core.UnsupportedError("Not supported")); | |
1581 } | |
1582 } | |
1583 dart.setSignature(Buffer, { | |
1584 constructors: () => ({_: [Buffer, []]}) | |
1585 }); | |
1586 Buffer[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()), dart.
const(new _metadata.DomName('WebGLBuffer')), dart.const(new _metadata.Unstable()
), dart.const(new _js_helper.Native("WebGLBuffer"))]; | |
1587 dart.registerExtension(dart.global.WebGLBuffer, Buffer); | |
1588 class CompressedTextureAtc extends _interceptors.Interceptor { | |
1589 static _() { | |
1590 dart.throw(new core.UnsupportedError("Not supported")); | |
1591 } | |
1592 } | |
1593 dart.setSignature(CompressedTextureAtc, { | |
1594 constructors: () => ({_: [CompressedTextureAtc, []]}) | |
1595 }); | |
1596 CompressedTextureAtc[dart.metadata] = () => [dart.const(new _metadata.DocsEdit
able()), dart.const(new _metadata.DomName('WebGLCompressedTextureATC')), dart.co
nst(new _metadata.Experimental()), dart.const(new _js_helper.Native("WebGLCompre
ssedTextureATC"))]; | |
1597 CompressedTextureAtc.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 35987; | |
1598 CompressedTextureAtc.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 34798; | |
1599 CompressedTextureAtc.COMPRESSED_RGB_ATC_WEBGL = 35986; | |
1600 dart.registerExtension(dart.global.WebGLCompressedTextureATC, CompressedTextur
eAtc); | |
1601 class CompressedTextureETC1 extends _interceptors.Interceptor { | |
1602 static _() { | |
1603 dart.throw(new core.UnsupportedError("Not supported")); | |
1604 } | |
1605 } | |
1606 dart.setSignature(CompressedTextureETC1, { | |
1607 constructors: () => ({_: [CompressedTextureETC1, []]}) | |
1608 }); | |
1609 CompressedTextureETC1[dart.metadata] = () => [dart.const(new _metadata.DocsEdi
table()), dart.const(new _metadata.DomName('WebGLCompressedTextureETC1')), dart.
const(new _metadata.Experimental()), dart.const(new _js_helper.Native("WebGLComp
ressedTextureETC1"))]; | |
1610 CompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL = 36196; | |
1611 dart.registerExtension(dart.global.WebGLCompressedTextureETC1, CompressedTextu
reETC1); | |
1612 class CompressedTexturePvrtc extends _interceptors.Interceptor { | |
1613 static _() { | |
1614 dart.throw(new core.UnsupportedError("Not supported")); | |
1615 } | |
1616 } | |
1617 dart.setSignature(CompressedTexturePvrtc, { | |
1618 constructors: () => ({_: [CompressedTexturePvrtc, []]}) | |
1619 }); | |
1620 CompressedTexturePvrtc[dart.metadata] = () => [dart.const(new _metadata.DocsEd
itable()), dart.const(new _metadata.DomName('WebGLCompressedTexturePVRTC')), dar
t.const(new _metadata.Experimental()), dart.const(new _js_helper.Native("WebGLCo
mpressedTexturePVRTC"))]; | |
1621 CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 35843; | |
1622 CompressedTexturePvrtc.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 35842; | |
1623 CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 35841; | |
1624 CompressedTexturePvrtc.COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 35840; | |
1625 dart.registerExtension(dart.global.WebGLCompressedTexturePVRTC, CompressedText
urePvrtc); | |
1626 class CompressedTextureS3TC extends _interceptors.Interceptor { | |
1627 static _() { | |
1628 dart.throw(new core.UnsupportedError("Not supported")); | |
1629 } | |
1630 } | |
1631 dart.setSignature(CompressedTextureS3TC, { | |
1632 constructors: () => ({_: [CompressedTextureS3TC, []]}) | |
1633 }); | |
1634 CompressedTextureS3TC[dart.metadata] = () => [dart.const(new _metadata.DocsEdi
table()), dart.const(new _metadata.DomName('WebGLCompressedTextureS3TC')), dart.
const(new _metadata.Experimental()), dart.const(new _js_helper.Native("WebGLComp
ressedTextureS3TC"))]; | |
1635 CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT = 33777; | |
1636 CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT = 33778; | |
1637 CompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT = 33779; | |
1638 CompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT = 33776; | |
1639 dart.registerExtension(dart.global.WebGLCompressedTextureS3TC, CompressedTextu
reS3TC); | |
1640 dart.defineExtensionNames([ | |
1641 'alpha', | |
1642 'antialias', | |
1643 'depth', | |
1644 'failIfMajorPerformanceCaveat', | |
1645 'premultipliedAlpha', | |
1646 'preserveDrawingBuffer', | |
1647 'stencil' | |
1648 ]); | |
1649 class ContextAttributes extends _interceptors.Interceptor { | |
1650 static _() { | |
1651 dart.throw(new core.UnsupportedError("Not supported")); | |
1652 } | |
1653 get [dartx.alpha]() { | |
1654 return this.alpha; | |
1655 } | |
1656 set [dartx.alpha](value) { | |
1657 this.alpha = value; | |
1658 } | |
1659 get [dartx.antialias]() { | |
1660 return this.antialias; | |
1661 } | |
1662 set [dartx.antialias](value) { | |
1663 this.antialias = value; | |
1664 } | |
1665 get [dartx.depth]() { | |
1666 return this.depth; | |
1667 } | |
1668 set [dartx.depth](value) { | |
1669 this.depth = value; | |
1670 } | |
1671 get [dartx.failIfMajorPerformanceCaveat]() { | |
1672 return this.failIfMajorPerformanceCaveat; | |
1673 } | |
1674 set [dartx.failIfMajorPerformanceCaveat](value) { | |
1675 this.failIfMajorPerformanceCaveat = value; | |
1676 } | |
1677 get [dartx.premultipliedAlpha]() { | |
1678 return this.premultipliedAlpha; | |
1679 } | |
1680 set [dartx.premultipliedAlpha](value) { | |
1681 this.premultipliedAlpha = value; | |
1682 } | |
1683 get [dartx.preserveDrawingBuffer]() { | |
1684 return this.preserveDrawingBuffer; | |
1685 } | |
1686 set [dartx.preserveDrawingBuffer](value) { | |
1687 this.preserveDrawingBuffer = value; | |
1688 } | |
1689 get [dartx.stencil]() { | |
1690 return this.stencil; | |
1691 } | |
1692 set [dartx.stencil](value) { | |
1693 this.stencil = value; | |
1694 } | |
1695 } | |
1696 dart.setSignature(ContextAttributes, { | |
1697 constructors: () => ({_: [ContextAttributes, []]}) | |
1698 }); | |
1699 ContextAttributes[dart.metadata] = () => [dart.const(new _metadata.DocsEditabl
e()), dart.const(new _metadata.DomName('WebGLContextAttributes')), dart.const(ne
w _metadata.Unstable()), dart.const(new _js_helper.Native("WebGLContextAttribute
s"))]; | |
1700 dart.registerExtension(dart.global.WebGLContextAttributes, ContextAttributes); | |
1701 dart.defineExtensionNames([ | |
1702 'statusMessage' | |
1703 ]); | |
1704 class ContextEvent extends html.Event { | |
1705 static _() { | |
1706 dart.throw(new core.UnsupportedError("Not supported")); | |
1707 } | |
1708 get [dartx.statusMessage]() { | |
1709 return this.statusMessage; | |
1710 } | |
1711 } | |
1712 dart.setSignature(ContextEvent, { | |
1713 constructors: () => ({_: [ContextEvent, []]}) | |
1714 }); | |
1715 ContextEvent[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()),
dart.const(new _metadata.DomName('WebGLContextEvent')), dart.const(new _metadat
a.Unstable()), dart.const(new _js_helper.Native("WebGLContextEvent"))]; | |
1716 dart.registerExtension(dart.global.WebGLContextEvent, ContextEvent); | |
1717 class DebugRendererInfo extends _interceptors.Interceptor { | |
1718 static _() { | |
1719 dart.throw(new core.UnsupportedError("Not supported")); | |
1720 } | |
1721 } | |
1722 dart.setSignature(DebugRendererInfo, { | |
1723 constructors: () => ({_: [DebugRendererInfo, []]}) | |
1724 }); | |
1725 DebugRendererInfo[dart.metadata] = () => [dart.const(new _metadata.DocsEditabl
e()), dart.const(new _metadata.DomName('WebGLDebugRendererInfo')), dart.const(ne
w _metadata.Experimental()), dart.const(new _js_helper.Native("WebGLDebugRendere
rInfo"))]; | |
1726 DebugRendererInfo.UNMASKED_RENDERER_WEBGL = 37446; | |
1727 DebugRendererInfo.UNMASKED_VENDOR_WEBGL = 37445; | |
1728 dart.registerExtension(dart.global.WebGLDebugRendererInfo, DebugRendererInfo); | |
1729 dart.defineExtensionNames([ | |
1730 'getTranslatedShaderSource' | |
1731 ]); | |
1732 class DebugShaders extends _interceptors.Interceptor { | |
1733 static _() { | |
1734 dart.throw(new core.UnsupportedError("Not supported")); | |
1735 } | |
1736 [dartx.getTranslatedShaderSource](shader) { | |
1737 return this.getTranslatedShaderSource(shader); | |
1738 } | |
1739 } | |
1740 dart.setSignature(DebugShaders, { | |
1741 constructors: () => ({_: [DebugShaders, []]}), | |
1742 methods: () => ({[dartx.getTranslatedShaderSource]: [core.String, [Shader]]}
) | |
1743 }); | |
1744 DebugShaders[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()),
dart.const(new _metadata.DomName('WebGLDebugShaders')), dart.const(new _metadat
a.Experimental()), dart.const(new _js_helper.Native("WebGLDebugShaders"))]; | |
1745 dart.registerExtension(dart.global.WebGLDebugShaders, DebugShaders); | |
1746 class DepthTexture extends _interceptors.Interceptor { | |
1747 static _() { | |
1748 dart.throw(new core.UnsupportedError("Not supported")); | |
1749 } | |
1750 } | |
1751 dart.setSignature(DepthTexture, { | |
1752 constructors: () => ({_: [DepthTexture, []]}) | |
1753 }); | |
1754 DepthTexture[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()),
dart.const(new _metadata.DomName('WebGLDepthTexture')), dart.const(new _metadat
a.Experimental()), dart.const(new _js_helper.Native("WebGLDepthTexture"))]; | |
1755 DepthTexture.UNSIGNED_INT_24_8_WEBGL = 34042; | |
1756 dart.registerExtension(dart.global.WebGLDepthTexture, DepthTexture); | |
1757 dart.defineExtensionNames([ | |
1758 'drawBuffersWebgl' | |
1759 ]); | |
1760 class DrawBuffers extends _interceptors.Interceptor { | |
1761 static _() { | |
1762 dart.throw(new core.UnsupportedError("Not supported")); | |
1763 } | |
1764 [dartx.drawBuffersWebgl](buffers) { | |
1765 return this.drawBuffersWEBGL(buffers); | |
1766 } | |
1767 } | |
1768 dart.setSignature(DrawBuffers, { | |
1769 constructors: () => ({_: [DrawBuffers, []]}), | |
1770 methods: () => ({[dartx.drawBuffersWebgl]: [dart.void, [core.List$(core.int)
]]}) | |
1771 }); | |
1772 DrawBuffers[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()),
dart.const(new _metadata.DomName('WebGLDrawBuffers')), dart.const(new _metadata.
Experimental()), dart.const(new _js_helper.Native("WebGLDrawBuffers"))]; | |
1773 DrawBuffers.COLOR_ATTACHMENT0_WEBGL = 36064; | |
1774 DrawBuffers.COLOR_ATTACHMENT10_WEBGL = 36074; | |
1775 DrawBuffers.COLOR_ATTACHMENT11_WEBGL = 36075; | |
1776 DrawBuffers.COLOR_ATTACHMENT12_WEBGL = 36076; | |
1777 DrawBuffers.COLOR_ATTACHMENT13_WEBGL = 36077; | |
1778 DrawBuffers.COLOR_ATTACHMENT14_WEBGL = 36078; | |
1779 DrawBuffers.COLOR_ATTACHMENT15_WEBGL = 36079; | |
1780 DrawBuffers.COLOR_ATTACHMENT1_WEBGL = 36065; | |
1781 DrawBuffers.COLOR_ATTACHMENT2_WEBGL = 36066; | |
1782 DrawBuffers.COLOR_ATTACHMENT3_WEBGL = 36067; | |
1783 DrawBuffers.COLOR_ATTACHMENT4_WEBGL = 36068; | |
1784 DrawBuffers.COLOR_ATTACHMENT5_WEBGL = 36069; | |
1785 DrawBuffers.COLOR_ATTACHMENT6_WEBGL = 36070; | |
1786 DrawBuffers.COLOR_ATTACHMENT7_WEBGL = 36071; | |
1787 DrawBuffers.COLOR_ATTACHMENT8_WEBGL = 36072; | |
1788 DrawBuffers.COLOR_ATTACHMENT9_WEBGL = 36073; | |
1789 DrawBuffers.DRAW_BUFFER0_WEBGL = 34853; | |
1790 DrawBuffers.DRAW_BUFFER10_WEBGL = 34863; | |
1791 DrawBuffers.DRAW_BUFFER11_WEBGL = 34864; | |
1792 DrawBuffers.DRAW_BUFFER12_WEBGL = 34865; | |
1793 DrawBuffers.DRAW_BUFFER13_WEBGL = 34866; | |
1794 DrawBuffers.DRAW_BUFFER14_WEBGL = 34867; | |
1795 DrawBuffers.DRAW_BUFFER15_WEBGL = 34868; | |
1796 DrawBuffers.DRAW_BUFFER1_WEBGL = 34854; | |
1797 DrawBuffers.DRAW_BUFFER2_WEBGL = 34855; | |
1798 DrawBuffers.DRAW_BUFFER3_WEBGL = 34856; | |
1799 DrawBuffers.DRAW_BUFFER4_WEBGL = 34857; | |
1800 DrawBuffers.DRAW_BUFFER5_WEBGL = 34858; | |
1801 DrawBuffers.DRAW_BUFFER6_WEBGL = 34859; | |
1802 DrawBuffers.DRAW_BUFFER7_WEBGL = 34860; | |
1803 DrawBuffers.DRAW_BUFFER8_WEBGL = 34861; | |
1804 DrawBuffers.DRAW_BUFFER9_WEBGL = 34862; | |
1805 DrawBuffers.MAX_COLOR_ATTACHMENTS_WEBGL = 36063; | |
1806 DrawBuffers.MAX_DRAW_BUFFERS_WEBGL = 34852; | |
1807 dart.registerExtension(dart.global.WebGLDrawBuffers, DrawBuffers); | |
1808 class ExtBlendMinMax extends _interceptors.Interceptor { | |
1809 static _() { | |
1810 dart.throw(new core.UnsupportedError("Not supported")); | |
1811 } | |
1812 } | |
1813 dart.setSignature(ExtBlendMinMax, { | |
1814 constructors: () => ({_: [ExtBlendMinMax, []]}) | |
1815 }); | |
1816 ExtBlendMinMax[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()
), dart.const(new _metadata.DomName('EXTBlendMinMax')), dart.const(new _metadata
.Experimental()), dart.const(new _js_helper.Native("EXTBlendMinMax"))]; | |
1817 ExtBlendMinMax.MAX_EXT = 32776; | |
1818 ExtBlendMinMax.MIN_EXT = 32775; | |
1819 dart.registerExtension(dart.global.EXTBlendMinMax, ExtBlendMinMax); | |
1820 class ExtFragDepth extends _interceptors.Interceptor { | |
1821 static _() { | |
1822 dart.throw(new core.UnsupportedError("Not supported")); | |
1823 } | |
1824 } | |
1825 dart.setSignature(ExtFragDepth, { | |
1826 constructors: () => ({_: [ExtFragDepth, []]}) | |
1827 }); | |
1828 ExtFragDepth[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()),
dart.const(new _metadata.DomName('EXTFragDepth')), dart.const(new _metadata.Exp
erimental()), dart.const(new _js_helper.Native("EXTFragDepth"))]; | |
1829 dart.registerExtension(dart.global.EXTFragDepth, ExtFragDepth); | |
1830 class ExtShaderTextureLod extends _interceptors.Interceptor { | |
1831 static _() { | |
1832 dart.throw(new core.UnsupportedError("Not supported")); | |
1833 } | |
1834 } | |
1835 dart.setSignature(ExtShaderTextureLod, { | |
1836 constructors: () => ({_: [ExtShaderTextureLod, []]}) | |
1837 }); | |
1838 ExtShaderTextureLod[dart.metadata] = () => [dart.const(new _metadata.DocsEdita
ble()), dart.const(new _metadata.DomName('EXTShaderTextureLOD')), dart.const(new
_metadata.Experimental()), dart.const(new _js_helper.Native("EXTShaderTextureLO
D"))]; | |
1839 dart.registerExtension(dart.global.EXTShaderTextureLOD, ExtShaderTextureLod); | |
1840 class ExtTextureFilterAnisotropic extends _interceptors.Interceptor { | |
1841 static _() { | |
1842 dart.throw(new core.UnsupportedError("Not supported")); | |
1843 } | |
1844 } | |
1845 dart.setSignature(ExtTextureFilterAnisotropic, { | |
1846 constructors: () => ({_: [ExtTextureFilterAnisotropic, []]}) | |
1847 }); | |
1848 ExtTextureFilterAnisotropic[dart.metadata] = () => [dart.const(new _metadata.D
ocsEditable()), dart.const(new _metadata.DomName('EXTTextureFilterAnisotropic'))
, dart.const(new _metadata.Experimental()), dart.const(new _js_helper.Native("EX
TTextureFilterAnisotropic"))]; | |
1849 ExtTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT = 34047; | |
1850 ExtTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT = 34046; | |
1851 dart.registerExtension(dart.global.EXTTextureFilterAnisotropic, ExtTextureFilt
erAnisotropic); | |
1852 class Framebuffer extends _interceptors.Interceptor { | |
1853 static _() { | |
1854 dart.throw(new core.UnsupportedError("Not supported")); | |
1855 } | |
1856 } | |
1857 dart.setSignature(Framebuffer, { | |
1858 constructors: () => ({_: [Framebuffer, []]}) | |
1859 }); | |
1860 Framebuffer[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()),
dart.const(new _metadata.DomName('WebGLFramebuffer')), dart.const(new _metadata.
Unstable()), dart.const(new _js_helper.Native("WebGLFramebuffer"))]; | |
1861 dart.registerExtension(dart.global.WebGLFramebuffer, Framebuffer); | |
1862 dart.defineExtensionNames([ | |
1863 'loseContext', | |
1864 'restoreContext' | |
1865 ]); | |
1866 class LoseContext extends _interceptors.Interceptor { | |
1867 static _() { | |
1868 dart.throw(new core.UnsupportedError("Not supported")); | |
1869 } | |
1870 [dartx.loseContext]() { | |
1871 return this.loseContext(); | |
1872 } | |
1873 [dartx.restoreContext]() { | |
1874 return this.restoreContext(); | |
1875 } | |
1876 } | |
1877 dart.setSignature(LoseContext, { | |
1878 constructors: () => ({_: [LoseContext, []]}), | |
1879 methods: () => ({ | |
1880 [dartx.loseContext]: [dart.void, []], | |
1881 [dartx.restoreContext]: [dart.void, []] | |
1882 }) | |
1883 }); | |
1884 LoseContext[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()),
dart.const(new _metadata.DomName('WebGLLoseContext')), dart.const(new _metadata.
Experimental()), dart.const(new _js_helper.Native("WebGLLoseContext,WebGLExtensi
onLoseContext"))]; | |
1885 dart.registerExtension(dart.global.WebGLLoseContext, LoseContext); | |
1886 class OesElementIndexUint extends _interceptors.Interceptor { | |
1887 static _() { | |
1888 dart.throw(new core.UnsupportedError("Not supported")); | |
1889 } | |
1890 } | |
1891 dart.setSignature(OesElementIndexUint, { | |
1892 constructors: () => ({_: [OesElementIndexUint, []]}) | |
1893 }); | |
1894 OesElementIndexUint[dart.metadata] = () => [dart.const(new _metadata.DocsEdita
ble()), dart.const(new _metadata.DomName('OESElementIndexUint')), dart.const(new
_metadata.Experimental()), dart.const(new _js_helper.Native("OESElementIndexUin
t"))]; | |
1895 dart.registerExtension(dart.global.OESElementIndexUint, OesElementIndexUint); | |
1896 class OesStandardDerivatives extends _interceptors.Interceptor { | |
1897 static _() { | |
1898 dart.throw(new core.UnsupportedError("Not supported")); | |
1899 } | |
1900 } | |
1901 dart.setSignature(OesStandardDerivatives, { | |
1902 constructors: () => ({_: [OesStandardDerivatives, []]}) | |
1903 }); | |
1904 OesStandardDerivatives[dart.metadata] = () => [dart.const(new _metadata.DocsEd
itable()), dart.const(new _metadata.DomName('OESStandardDerivatives')), dart.con
st(new _metadata.Experimental()), dart.const(new _js_helper.Native("OESStandardD
erivatives"))]; | |
1905 OesStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 35723; | |
1906 dart.registerExtension(dart.global.OESStandardDerivatives, OesStandardDerivati
ves); | |
1907 class OesTextureFloat extends _interceptors.Interceptor { | |
1908 static _() { | |
1909 dart.throw(new core.UnsupportedError("Not supported")); | |
1910 } | |
1911 } | |
1912 dart.setSignature(OesTextureFloat, { | |
1913 constructors: () => ({_: [OesTextureFloat, []]}) | |
1914 }); | |
1915 OesTextureFloat[dart.metadata] = () => [dart.const(new _metadata.DocsEditable(
)), dart.const(new _metadata.DomName('OESTextureFloat')), dart.const(new _metada
ta.Experimental()), dart.const(new _js_helper.Native("OESTextureFloat"))]; | |
1916 dart.registerExtension(dart.global.OESTextureFloat, OesTextureFloat); | |
1917 class OesTextureFloatLinear extends _interceptors.Interceptor { | |
1918 static _() { | |
1919 dart.throw(new core.UnsupportedError("Not supported")); | |
1920 } | |
1921 } | |
1922 dart.setSignature(OesTextureFloatLinear, { | |
1923 constructors: () => ({_: [OesTextureFloatLinear, []]}) | |
1924 }); | |
1925 OesTextureFloatLinear[dart.metadata] = () => [dart.const(new _metadata.DocsEdi
table()), dart.const(new _metadata.DomName('OESTextureFloatLinear')), dart.const
(new _metadata.Experimental()), dart.const(new _js_helper.Native("OESTextureFloa
tLinear"))]; | |
1926 dart.registerExtension(dart.global.OESTextureFloatLinear, OesTextureFloatLinea
r); | |
1927 class OesTextureHalfFloatLinear extends _interceptors.Interceptor { | |
1928 static _() { | |
1929 dart.throw(new core.UnsupportedError("Not supported")); | |
1930 } | |
1931 } | |
1932 dart.setSignature(OesTextureHalfFloatLinear, { | |
1933 constructors: () => ({_: [OesTextureHalfFloatLinear, []]}) | |
1934 }); | |
1935 OesTextureHalfFloatLinear[dart.metadata] = () => [dart.const(new _metadata.Doc
sEditable()), dart.const(new _metadata.DomName('OESTextureHalfFloatLinear')), da
rt.const(new _metadata.Experimental()), dart.const(new _js_helper.Native("OESTex
tureHalfFloatLinear"))]; | |
1936 dart.registerExtension(dart.global.OESTextureHalfFloatLinear, OesTextureHalfFl
oatLinear); | |
1937 dart.defineExtensionNames([ | |
1938 'bindVertexArray', | |
1939 'createVertexArray', | |
1940 'deleteVertexArray', | |
1941 'isVertexArray' | |
1942 ]); | |
1943 class OesVertexArrayObject extends _interceptors.Interceptor { | |
1944 static _() { | |
1945 dart.throw(new core.UnsupportedError("Not supported")); | |
1946 } | |
1947 [dartx.bindVertexArray](arrayObject) { | |
1948 return this.bindVertexArrayOES(arrayObject); | |
1949 } | |
1950 [dartx.createVertexArray]() { | |
1951 return this.createVertexArrayOES(); | |
1952 } | |
1953 [dartx.deleteVertexArray](arrayObject) { | |
1954 return this.deleteVertexArrayOES(arrayObject); | |
1955 } | |
1956 [dartx.isVertexArray](arrayObject) { | |
1957 return this.isVertexArrayOES(arrayObject); | |
1958 } | |
1959 } | |
1960 dart.setSignature(OesVertexArrayObject, { | |
1961 constructors: () => ({_: [OesVertexArrayObject, []]}), | |
1962 methods: () => ({ | |
1963 [dartx.bindVertexArray]: [dart.void, [VertexArrayObject]], | |
1964 [dartx.createVertexArray]: [VertexArrayObject, []], | |
1965 [dartx.deleteVertexArray]: [dart.void, [VertexArrayObject]], | |
1966 [dartx.isVertexArray]: [core.bool, [VertexArrayObject]] | |
1967 }) | |
1968 }); | |
1969 OesVertexArrayObject[dart.metadata] = () => [dart.const(new _metadata.DocsEdit
able()), dart.const(new _metadata.DomName('OESVertexArrayObject')), dart.const(n
ew _metadata.Experimental()), dart.const(new _js_helper.Native("OESVertexArrayOb
ject"))]; | |
1970 OesVertexArrayObject.VERTEX_ARRAY_BINDING_OES = 34229; | |
1971 dart.registerExtension(dart.global.OESVertexArrayObject, OesVertexArrayObject)
; | |
1972 class Program extends _interceptors.Interceptor { | |
1973 static _() { | |
1974 dart.throw(new core.UnsupportedError("Not supported")); | |
1975 } | |
1976 } | |
1977 dart.setSignature(Program, { | |
1978 constructors: () => ({_: [Program, []]}) | |
1979 }); | |
1980 Program[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()), dart
.const(new _metadata.DomName('WebGLProgram')), dart.const(new _metadata.Unstable
()), dart.const(new _js_helper.Native("WebGLProgram"))]; | |
1981 dart.registerExtension(dart.global.WebGLProgram, Program); | |
1982 class Renderbuffer extends _interceptors.Interceptor { | |
1983 static _() { | |
1984 dart.throw(new core.UnsupportedError("Not supported")); | |
1985 } | |
1986 } | |
1987 dart.setSignature(Renderbuffer, { | |
1988 constructors: () => ({_: [Renderbuffer, []]}) | |
1989 }); | |
1990 Renderbuffer[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()),
dart.const(new _metadata.DomName('WebGLRenderbuffer')), dart.const(new _metadat
a.Unstable()), dart.const(new _js_helper.Native("WebGLRenderbuffer"))]; | |
1991 dart.registerExtension(dart.global.WebGLRenderbuffer, Renderbuffer); | |
1992 class Shader extends _interceptors.Interceptor { | |
1993 static _() { | |
1994 dart.throw(new core.UnsupportedError("Not supported")); | |
1995 } | |
1996 } | |
1997 dart.setSignature(Shader, { | |
1998 constructors: () => ({_: [Shader, []]}) | |
1999 }); | |
2000 Shader[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()), dart.
const(new _metadata.DomName('WebGLShader')), dart.const(new _js_helper.Native("W
ebGLShader"))]; | |
2001 dart.registerExtension(dart.global.WebGLShader, Shader); | |
2002 dart.defineExtensionNames([ | |
2003 'precision', | |
2004 'rangeMax', | |
2005 'rangeMin' | |
2006 ]); | |
2007 class ShaderPrecisionFormat extends _interceptors.Interceptor { | |
2008 static _() { | |
2009 dart.throw(new core.UnsupportedError("Not supported")); | |
2010 } | |
2011 get [dartx.precision]() { | |
2012 return this.precision; | |
2013 } | |
2014 get [dartx.rangeMax]() { | |
2015 return this.rangeMax; | |
2016 } | |
2017 get [dartx.rangeMin]() { | |
2018 return this.rangeMin; | |
2019 } | |
2020 } | |
2021 dart.setSignature(ShaderPrecisionFormat, { | |
2022 constructors: () => ({_: [ShaderPrecisionFormat, []]}) | |
2023 }); | |
2024 ShaderPrecisionFormat[dart.metadata] = () => [dart.const(new _metadata.DocsEdi
table()), dart.const(new _metadata.DomName('WebGLShaderPrecisionFormat')), dart.
const(new _js_helper.Native("WebGLShaderPrecisionFormat"))]; | |
2025 dart.registerExtension(dart.global.WebGLShaderPrecisionFormat, ShaderPrecision
Format); | |
2026 class Texture extends _interceptors.Interceptor { | |
2027 static _() { | |
2028 dart.throw(new core.UnsupportedError("Not supported")); | |
2029 } | |
2030 } | |
2031 dart.setSignature(Texture, { | |
2032 constructors: () => ({_: [Texture, []]}) | |
2033 }); | |
2034 Texture[dart.metadata] = () => [dart.const(new _metadata.DocsEditable()), dart
.const(new _metadata.DomName('WebGLTexture')), dart.const(new _js_helper.Native(
"WebGLTexture"))]; | |
2035 dart.registerExtension(dart.global.WebGLTexture, Texture); | |
2036 class UniformLocation extends _interceptors.Interceptor { | |
2037 static _() { | |
2038 dart.throw(new core.UnsupportedError("Not supported")); | |
2039 } | |
2040 } | |
2041 dart.setSignature(UniformLocation, { | |
2042 constructors: () => ({_: [UniformLocation, []]}) | |
2043 }); | |
2044 UniformLocation[dart.metadata] = () => [dart.const(new _metadata.DocsEditable(
)), dart.const(new _metadata.DomName('WebGLUniformLocation')), dart.const(new _j
s_helper.Native("WebGLUniformLocation"))]; | |
2045 dart.registerExtension(dart.global.WebGLUniformLocation, UniformLocation); | |
2046 class VertexArrayObject extends _interceptors.Interceptor { | |
2047 static _() { | |
2048 dart.throw(new core.UnsupportedError("Not supported")); | |
2049 } | |
2050 } | |
2051 dart.setSignature(VertexArrayObject, { | |
2052 constructors: () => ({_: [VertexArrayObject, []]}) | |
2053 }); | |
2054 VertexArrayObject[dart.metadata] = () => [dart.const(new _metadata.DocsEditabl
e()), dart.const(new _metadata.DomName('WebGLVertexArrayObjectOES')), dart.const
(new _metadata.Experimental()), dart.const(new _js_helper.Native("WebGLVertexArr
ayObjectOES"))]; | |
2055 dart.registerExtension(dart.global.WebGLVertexArrayObjectOES, VertexArrayObjec
t); | |
2056 class _WebGLRenderingContextBase extends _interceptors.Interceptor { | |
2057 static _() { | |
2058 dart.throw(new core.UnsupportedError("Not supported")); | |
2059 } | |
2060 } | |
2061 dart.setSignature(_WebGLRenderingContextBase, { | |
2062 constructors: () => ({_: [_WebGLRenderingContextBase, []]}) | |
2063 }); | |
2064 _WebGLRenderingContextBase[dart.metadata] = () => [dart.const(new _metadata.Do
csEditable()), dart.const(new _metadata.DomName('WebGLRenderingContextBase')), d
art.const(new _metadata.Experimental())]; | |
2065 // Exports: | |
2066 exports.RenderingContext = RenderingContext; | |
2067 exports.ACTIVE_ATTRIBUTES = ACTIVE_ATTRIBUTES; | |
2068 exports.ACTIVE_TEXTURE = ACTIVE_TEXTURE; | |
2069 exports.ACTIVE_UNIFORMS = ACTIVE_UNIFORMS; | |
2070 exports.ALIASED_LINE_WIDTH_RANGE = ALIASED_LINE_WIDTH_RANGE; | |
2071 exports.ALIASED_POINT_SIZE_RANGE = ALIASED_POINT_SIZE_RANGE; | |
2072 exports.ALPHA = ALPHA; | |
2073 exports.ALPHA_BITS = ALPHA_BITS; | |
2074 exports.ALWAYS = ALWAYS; | |
2075 exports.ARRAY_BUFFER = ARRAY_BUFFER; | |
2076 exports.ARRAY_BUFFER_BINDING = ARRAY_BUFFER_BINDING; | |
2077 exports.ATTACHED_SHADERS = ATTACHED_SHADERS; | |
2078 exports.BACK = BACK; | |
2079 exports.BLEND = BLEND; | |
2080 exports.BLEND_COLOR = BLEND_COLOR; | |
2081 exports.BLEND_DST_ALPHA = BLEND_DST_ALPHA; | |
2082 exports.BLEND_DST_RGB = BLEND_DST_RGB; | |
2083 exports.BLEND_EQUATION = BLEND_EQUATION; | |
2084 exports.BLEND_EQUATION_ALPHA = BLEND_EQUATION_ALPHA; | |
2085 exports.BLEND_EQUATION_RGB = BLEND_EQUATION_RGB; | |
2086 exports.BLEND_SRC_ALPHA = BLEND_SRC_ALPHA; | |
2087 exports.BLEND_SRC_RGB = BLEND_SRC_RGB; | |
2088 exports.BLUE_BITS = BLUE_BITS; | |
2089 exports.BOOL = BOOL; | |
2090 exports.BOOL_VEC2 = BOOL_VEC2; | |
2091 exports.BOOL_VEC3 = BOOL_VEC3; | |
2092 exports.BOOL_VEC4 = BOOL_VEC4; | |
2093 exports.BROWSER_DEFAULT_WEBGL = BROWSER_DEFAULT_WEBGL; | |
2094 exports.BUFFER_SIZE = BUFFER_SIZE; | |
2095 exports.BUFFER_USAGE = BUFFER_USAGE; | |
2096 exports.BYTE = BYTE; | |
2097 exports.CCW = CCW; | |
2098 exports.CLAMP_TO_EDGE = CLAMP_TO_EDGE; | |
2099 exports.COLOR_ATTACHMENT0 = COLOR_ATTACHMENT0; | |
2100 exports.COLOR_BUFFER_BIT = COLOR_BUFFER_BIT; | |
2101 exports.COLOR_CLEAR_VALUE = COLOR_CLEAR_VALUE; | |
2102 exports.COLOR_WRITEMASK = COLOR_WRITEMASK; | |
2103 exports.COMPILE_STATUS = COMPILE_STATUS; | |
2104 exports.COMPRESSED_TEXTURE_FORMATS = COMPRESSED_TEXTURE_FORMATS; | |
2105 exports.CONSTANT_ALPHA = CONSTANT_ALPHA; | |
2106 exports.CONSTANT_COLOR = CONSTANT_COLOR; | |
2107 exports.CONTEXT_LOST_WEBGL = CONTEXT_LOST_WEBGL; | |
2108 exports.CULL_FACE = CULL_FACE; | |
2109 exports.CULL_FACE_MODE = CULL_FACE_MODE; | |
2110 exports.CURRENT_PROGRAM = CURRENT_PROGRAM; | |
2111 exports.CURRENT_VERTEX_ATTRIB = CURRENT_VERTEX_ATTRIB; | |
2112 exports.CW = CW; | |
2113 exports.DECR = DECR; | |
2114 exports.DECR_WRAP = DECR_WRAP; | |
2115 exports.DELETE_STATUS = DELETE_STATUS; | |
2116 exports.DEPTH_ATTACHMENT = DEPTH_ATTACHMENT; | |
2117 exports.DEPTH_BITS = DEPTH_BITS; | |
2118 exports.DEPTH_BUFFER_BIT = DEPTH_BUFFER_BIT; | |
2119 exports.DEPTH_CLEAR_VALUE = DEPTH_CLEAR_VALUE; | |
2120 exports.DEPTH_COMPONENT = DEPTH_COMPONENT; | |
2121 exports.DEPTH_COMPONENT16 = DEPTH_COMPONENT16; | |
2122 exports.DEPTH_FUNC = DEPTH_FUNC; | |
2123 exports.DEPTH_RANGE = DEPTH_RANGE; | |
2124 exports.DEPTH_STENCIL = DEPTH_STENCIL; | |
2125 exports.DEPTH_STENCIL_ATTACHMENT = DEPTH_STENCIL_ATTACHMENT; | |
2126 exports.DEPTH_TEST = DEPTH_TEST; | |
2127 exports.DEPTH_WRITEMASK = DEPTH_WRITEMASK; | |
2128 exports.DITHER = DITHER; | |
2129 exports.DONT_CARE = DONT_CARE; | |
2130 exports.DST_ALPHA = DST_ALPHA; | |
2131 exports.DST_COLOR = DST_COLOR; | |
2132 exports.DYNAMIC_DRAW = DYNAMIC_DRAW; | |
2133 exports.ELEMENT_ARRAY_BUFFER = ELEMENT_ARRAY_BUFFER; | |
2134 exports.ELEMENT_ARRAY_BUFFER_BINDING = ELEMENT_ARRAY_BUFFER_BINDING; | |
2135 exports.EQUAL = EQUAL; | |
2136 exports.FASTEST = FASTEST; | |
2137 exports.FLOAT = FLOAT; | |
2138 exports.FLOAT_MAT2 = FLOAT_MAT2; | |
2139 exports.FLOAT_MAT3 = FLOAT_MAT3; | |
2140 exports.FLOAT_MAT4 = FLOAT_MAT4; | |
2141 exports.FLOAT_VEC2 = FLOAT_VEC2; | |
2142 exports.FLOAT_VEC3 = FLOAT_VEC3; | |
2143 exports.FLOAT_VEC4 = FLOAT_VEC4; | |
2144 exports.FRAGMENT_SHADER = FRAGMENT_SHADER; | |
2145 exports.FRAMEBUFFER = FRAMEBUFFER; | |
2146 exports.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = FRAMEBUFFER_ATTACHMENT_OBJECT_NAM
E; | |
2147 exports.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = FRAMEBUFFER_ATTACHMENT_OBJECT_TYP
E; | |
2148 exports.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = FRAMEBUFFER_ATTACHMENT_
TEXTURE_CUBE_MAP_FACE; | |
2149 exports.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = FRAMEBUFFER_ATTACHMENT_TEXTURE_
LEVEL; | |
2150 exports.FRAMEBUFFER_BINDING = FRAMEBUFFER_BINDING; | |
2151 exports.FRAMEBUFFER_COMPLETE = FRAMEBUFFER_COMPLETE; | |
2152 exports.FRAMEBUFFER_INCOMPLETE_ATTACHMENT = FRAMEBUFFER_INCOMPLETE_ATTACHMENT; | |
2153 exports.FRAMEBUFFER_INCOMPLETE_DIMENSIONS = FRAMEBUFFER_INCOMPLETE_DIMENSIONS; | |
2154 exports.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = FRAMEBUFFER_INCOMPLETE_MIS
SING_ATTACHMENT; | |
2155 exports.FRAMEBUFFER_UNSUPPORTED = FRAMEBUFFER_UNSUPPORTED; | |
2156 exports.FRONT = FRONT; | |
2157 exports.FRONT_AND_BACK = FRONT_AND_BACK; | |
2158 exports.FRONT_FACE = FRONT_FACE; | |
2159 exports.FUNC_ADD = FUNC_ADD; | |
2160 exports.FUNC_REVERSE_SUBTRACT = FUNC_REVERSE_SUBTRACT; | |
2161 exports.FUNC_SUBTRACT = FUNC_SUBTRACT; | |
2162 exports.GENERATE_MIPMAP_HINT = GENERATE_MIPMAP_HINT; | |
2163 exports.GEQUAL = GEQUAL; | |
2164 exports.GREATER = GREATER; | |
2165 exports.GREEN_BITS = GREEN_BITS; | |
2166 exports.OesTextureHalfFloat = OesTextureHalfFloat; | |
2167 exports.HALF_FLOAT_OES = HALF_FLOAT_OES; | |
2168 exports.HIGH_FLOAT = HIGH_FLOAT; | |
2169 exports.HIGH_INT = HIGH_INT; | |
2170 exports.INCR = INCR; | |
2171 exports.INCR_WRAP = INCR_WRAP; | |
2172 exports.INT = INT; | |
2173 exports.INT_VEC2 = INT_VEC2; | |
2174 exports.INT_VEC3 = INT_VEC3; | |
2175 exports.INT_VEC4 = INT_VEC4; | |
2176 exports.INVALID_ENUM = INVALID_ENUM; | |
2177 exports.INVALID_FRAMEBUFFER_OPERATION = INVALID_FRAMEBUFFER_OPERATION; | |
2178 exports.INVALID_OPERATION = INVALID_OPERATION; | |
2179 exports.INVALID_VALUE = INVALID_VALUE; | |
2180 exports.INVERT = INVERT; | |
2181 exports.KEEP = KEEP; | |
2182 exports.LEQUAL = LEQUAL; | |
2183 exports.LESS = LESS; | |
2184 exports.LINEAR = LINEAR; | |
2185 exports.LINEAR_MIPMAP_LINEAR = LINEAR_MIPMAP_LINEAR; | |
2186 exports.LINEAR_MIPMAP_NEAREST = LINEAR_MIPMAP_NEAREST; | |
2187 exports.LINES = LINES; | |
2188 exports.LINE_LOOP = LINE_LOOP; | |
2189 exports.LINE_STRIP = LINE_STRIP; | |
2190 exports.LINE_WIDTH = LINE_WIDTH; | |
2191 exports.LINK_STATUS = LINK_STATUS; | |
2192 exports.LOW_FLOAT = LOW_FLOAT; | |
2193 exports.LOW_INT = LOW_INT; | |
2194 exports.LUMINANCE = LUMINANCE; | |
2195 exports.LUMINANCE_ALPHA = LUMINANCE_ALPHA; | |
2196 exports.MAX_COMBINED_TEXTURE_IMAGE_UNITS = MAX_COMBINED_TEXTURE_IMAGE_UNITS; | |
2197 exports.MAX_CUBE_MAP_TEXTURE_SIZE = MAX_CUBE_MAP_TEXTURE_SIZE; | |
2198 exports.MAX_FRAGMENT_UNIFORM_VECTORS = MAX_FRAGMENT_UNIFORM_VECTORS; | |
2199 exports.MAX_RENDERBUFFER_SIZE = MAX_RENDERBUFFER_SIZE; | |
2200 exports.MAX_TEXTURE_IMAGE_UNITS = MAX_TEXTURE_IMAGE_UNITS; | |
2201 exports.MAX_TEXTURE_SIZE = MAX_TEXTURE_SIZE; | |
2202 exports.MAX_VARYING_VECTORS = MAX_VARYING_VECTORS; | |
2203 exports.MAX_VERTEX_ATTRIBS = MAX_VERTEX_ATTRIBS; | |
2204 exports.MAX_VERTEX_TEXTURE_IMAGE_UNITS = MAX_VERTEX_TEXTURE_IMAGE_UNITS; | |
2205 exports.MAX_VERTEX_UNIFORM_VECTORS = MAX_VERTEX_UNIFORM_VECTORS; | |
2206 exports.MAX_VIEWPORT_DIMS = MAX_VIEWPORT_DIMS; | |
2207 exports.MEDIUM_FLOAT = MEDIUM_FLOAT; | |
2208 exports.MEDIUM_INT = MEDIUM_INT; | |
2209 exports.MIRRORED_REPEAT = MIRRORED_REPEAT; | |
2210 exports.NEAREST = NEAREST; | |
2211 exports.NEAREST_MIPMAP_LINEAR = NEAREST_MIPMAP_LINEAR; | |
2212 exports.NEAREST_MIPMAP_NEAREST = NEAREST_MIPMAP_NEAREST; | |
2213 exports.NEVER = NEVER; | |
2214 exports.NICEST = NICEST; | |
2215 exports.NONE = NONE; | |
2216 exports.NOTEQUAL = NOTEQUAL; | |
2217 exports.NO_ERROR = NO_ERROR; | |
2218 exports.ONE = ONE; | |
2219 exports.ONE_MINUS_CONSTANT_ALPHA = ONE_MINUS_CONSTANT_ALPHA; | |
2220 exports.ONE_MINUS_CONSTANT_COLOR = ONE_MINUS_CONSTANT_COLOR; | |
2221 exports.ONE_MINUS_DST_ALPHA = ONE_MINUS_DST_ALPHA; | |
2222 exports.ONE_MINUS_DST_COLOR = ONE_MINUS_DST_COLOR; | |
2223 exports.ONE_MINUS_SRC_ALPHA = ONE_MINUS_SRC_ALPHA; | |
2224 exports.ONE_MINUS_SRC_COLOR = ONE_MINUS_SRC_COLOR; | |
2225 exports.OUT_OF_MEMORY = OUT_OF_MEMORY; | |
2226 exports.PACK_ALIGNMENT = PACK_ALIGNMENT; | |
2227 exports.POINTS = POINTS; | |
2228 exports.POLYGON_OFFSET_FACTOR = POLYGON_OFFSET_FACTOR; | |
2229 exports.POLYGON_OFFSET_FILL = POLYGON_OFFSET_FILL; | |
2230 exports.POLYGON_OFFSET_UNITS = POLYGON_OFFSET_UNITS; | |
2231 exports.RED_BITS = RED_BITS; | |
2232 exports.RENDERBUFFER = RENDERBUFFER; | |
2233 exports.RENDERBUFFER_ALPHA_SIZE = RENDERBUFFER_ALPHA_SIZE; | |
2234 exports.RENDERBUFFER_BINDING = RENDERBUFFER_BINDING; | |
2235 exports.RENDERBUFFER_BLUE_SIZE = RENDERBUFFER_BLUE_SIZE; | |
2236 exports.RENDERBUFFER_DEPTH_SIZE = RENDERBUFFER_DEPTH_SIZE; | |
2237 exports.RENDERBUFFER_GREEN_SIZE = RENDERBUFFER_GREEN_SIZE; | |
2238 exports.RENDERBUFFER_HEIGHT = RENDERBUFFER_HEIGHT; | |
2239 exports.RENDERBUFFER_INTERNAL_FORMAT = RENDERBUFFER_INTERNAL_FORMAT; | |
2240 exports.RENDERBUFFER_RED_SIZE = RENDERBUFFER_RED_SIZE; | |
2241 exports.RENDERBUFFER_STENCIL_SIZE = RENDERBUFFER_STENCIL_SIZE; | |
2242 exports.RENDERBUFFER_WIDTH = RENDERBUFFER_WIDTH; | |
2243 exports.RENDERER = RENDERER; | |
2244 exports.REPEAT = REPEAT; | |
2245 exports.REPLACE = REPLACE; | |
2246 exports.RGB = RGB; | |
2247 exports.RGB565 = RGB565; | |
2248 exports.RGB5_A1 = RGB5_A1; | |
2249 exports.RGBA = RGBA; | |
2250 exports.RGBA4 = RGBA4; | |
2251 exports.SAMPLER_2D = SAMPLER_2D; | |
2252 exports.SAMPLER_CUBE = SAMPLER_CUBE; | |
2253 exports.SAMPLES = SAMPLES; | |
2254 exports.SAMPLE_ALPHA_TO_COVERAGE = SAMPLE_ALPHA_TO_COVERAGE; | |
2255 exports.SAMPLE_BUFFERS = SAMPLE_BUFFERS; | |
2256 exports.SAMPLE_COVERAGE = SAMPLE_COVERAGE; | |
2257 exports.SAMPLE_COVERAGE_INVERT = SAMPLE_COVERAGE_INVERT; | |
2258 exports.SAMPLE_COVERAGE_VALUE = SAMPLE_COVERAGE_VALUE; | |
2259 exports.SCISSOR_BOX = SCISSOR_BOX; | |
2260 exports.SCISSOR_TEST = SCISSOR_TEST; | |
2261 exports.SHADER_TYPE = SHADER_TYPE; | |
2262 exports.SHADING_LANGUAGE_VERSION = SHADING_LANGUAGE_VERSION; | |
2263 exports.SHORT = SHORT; | |
2264 exports.SRC_ALPHA = SRC_ALPHA; | |
2265 exports.SRC_ALPHA_SATURATE = SRC_ALPHA_SATURATE; | |
2266 exports.SRC_COLOR = SRC_COLOR; | |
2267 exports.STATIC_DRAW = STATIC_DRAW; | |
2268 exports.STENCIL_ATTACHMENT = STENCIL_ATTACHMENT; | |
2269 exports.STENCIL_BACK_FAIL = STENCIL_BACK_FAIL; | |
2270 exports.STENCIL_BACK_FUNC = STENCIL_BACK_FUNC; | |
2271 exports.STENCIL_BACK_PASS_DEPTH_FAIL = STENCIL_BACK_PASS_DEPTH_FAIL; | |
2272 exports.STENCIL_BACK_PASS_DEPTH_PASS = STENCIL_BACK_PASS_DEPTH_PASS; | |
2273 exports.STENCIL_BACK_REF = STENCIL_BACK_REF; | |
2274 exports.STENCIL_BACK_VALUE_MASK = STENCIL_BACK_VALUE_MASK; | |
2275 exports.STENCIL_BACK_WRITEMASK = STENCIL_BACK_WRITEMASK; | |
2276 exports.STENCIL_BITS = STENCIL_BITS; | |
2277 exports.STENCIL_BUFFER_BIT = STENCIL_BUFFER_BIT; | |
2278 exports.STENCIL_CLEAR_VALUE = STENCIL_CLEAR_VALUE; | |
2279 exports.STENCIL_FAIL = STENCIL_FAIL; | |
2280 exports.STENCIL_FUNC = STENCIL_FUNC; | |
2281 exports.STENCIL_INDEX = STENCIL_INDEX; | |
2282 exports.STENCIL_INDEX8 = STENCIL_INDEX8; | |
2283 exports.STENCIL_PASS_DEPTH_FAIL = STENCIL_PASS_DEPTH_FAIL; | |
2284 exports.STENCIL_PASS_DEPTH_PASS = STENCIL_PASS_DEPTH_PASS; | |
2285 exports.STENCIL_REF = STENCIL_REF; | |
2286 exports.STENCIL_TEST = STENCIL_TEST; | |
2287 exports.STENCIL_VALUE_MASK = STENCIL_VALUE_MASK; | |
2288 exports.STENCIL_WRITEMASK = STENCIL_WRITEMASK; | |
2289 exports.STREAM_DRAW = STREAM_DRAW; | |
2290 exports.SUBPIXEL_BITS = SUBPIXEL_BITS; | |
2291 exports.TEXTURE = TEXTURE; | |
2292 exports.TEXTURE0 = TEXTURE0; | |
2293 exports.TEXTURE1 = TEXTURE1; | |
2294 exports.TEXTURE10 = TEXTURE10; | |
2295 exports.TEXTURE11 = TEXTURE11; | |
2296 exports.TEXTURE12 = TEXTURE12; | |
2297 exports.TEXTURE13 = TEXTURE13; | |
2298 exports.TEXTURE14 = TEXTURE14; | |
2299 exports.TEXTURE15 = TEXTURE15; | |
2300 exports.TEXTURE16 = TEXTURE16; | |
2301 exports.TEXTURE17 = TEXTURE17; | |
2302 exports.TEXTURE18 = TEXTURE18; | |
2303 exports.TEXTURE19 = TEXTURE19; | |
2304 exports.TEXTURE2 = TEXTURE2; | |
2305 exports.TEXTURE20 = TEXTURE20; | |
2306 exports.TEXTURE21 = TEXTURE21; | |
2307 exports.TEXTURE22 = TEXTURE22; | |
2308 exports.TEXTURE23 = TEXTURE23; | |
2309 exports.TEXTURE24 = TEXTURE24; | |
2310 exports.TEXTURE25 = TEXTURE25; | |
2311 exports.TEXTURE26 = TEXTURE26; | |
2312 exports.TEXTURE27 = TEXTURE27; | |
2313 exports.TEXTURE28 = TEXTURE28; | |
2314 exports.TEXTURE29 = TEXTURE29; | |
2315 exports.TEXTURE3 = TEXTURE3; | |
2316 exports.TEXTURE30 = TEXTURE30; | |
2317 exports.TEXTURE31 = TEXTURE31; | |
2318 exports.TEXTURE4 = TEXTURE4; | |
2319 exports.TEXTURE5 = TEXTURE5; | |
2320 exports.TEXTURE6 = TEXTURE6; | |
2321 exports.TEXTURE7 = TEXTURE7; | |
2322 exports.TEXTURE8 = TEXTURE8; | |
2323 exports.TEXTURE9 = TEXTURE9; | |
2324 exports.TEXTURE_2D = TEXTURE_2D; | |
2325 exports.TEXTURE_BINDING_2D = TEXTURE_BINDING_2D; | |
2326 exports.TEXTURE_BINDING_CUBE_MAP = TEXTURE_BINDING_CUBE_MAP; | |
2327 exports.TEXTURE_CUBE_MAP = TEXTURE_CUBE_MAP; | |
2328 exports.TEXTURE_CUBE_MAP_NEGATIVE_X = TEXTURE_CUBE_MAP_NEGATIVE_X; | |
2329 exports.TEXTURE_CUBE_MAP_NEGATIVE_Y = TEXTURE_CUBE_MAP_NEGATIVE_Y; | |
2330 exports.TEXTURE_CUBE_MAP_NEGATIVE_Z = TEXTURE_CUBE_MAP_NEGATIVE_Z; | |
2331 exports.TEXTURE_CUBE_MAP_POSITIVE_X = TEXTURE_CUBE_MAP_POSITIVE_X; | |
2332 exports.TEXTURE_CUBE_MAP_POSITIVE_Y = TEXTURE_CUBE_MAP_POSITIVE_Y; | |
2333 exports.TEXTURE_CUBE_MAP_POSITIVE_Z = TEXTURE_CUBE_MAP_POSITIVE_Z; | |
2334 exports.TEXTURE_MAG_FILTER = TEXTURE_MAG_FILTER; | |
2335 exports.TEXTURE_MIN_FILTER = TEXTURE_MIN_FILTER; | |
2336 exports.TEXTURE_WRAP_S = TEXTURE_WRAP_S; | |
2337 exports.TEXTURE_WRAP_T = TEXTURE_WRAP_T; | |
2338 exports.TRIANGLES = TRIANGLES; | |
2339 exports.TRIANGLE_FAN = TRIANGLE_FAN; | |
2340 exports.TRIANGLE_STRIP = TRIANGLE_STRIP; | |
2341 exports.UNPACK_ALIGNMENT = UNPACK_ALIGNMENT; | |
2342 exports.UNPACK_COLORSPACE_CONVERSION_WEBGL = UNPACK_COLORSPACE_CONVERSION_WEBG
L; | |
2343 exports.UNPACK_FLIP_Y_WEBGL = UNPACK_FLIP_Y_WEBGL; | |
2344 exports.UNPACK_PREMULTIPLY_ALPHA_WEBGL = UNPACK_PREMULTIPLY_ALPHA_WEBGL; | |
2345 exports.UNSIGNED_BYTE = UNSIGNED_BYTE; | |
2346 exports.UNSIGNED_INT = UNSIGNED_INT; | |
2347 exports.UNSIGNED_SHORT = UNSIGNED_SHORT; | |
2348 exports.UNSIGNED_SHORT_4_4_4_4 = UNSIGNED_SHORT_4_4_4_4; | |
2349 exports.UNSIGNED_SHORT_5_5_5_1 = UNSIGNED_SHORT_5_5_5_1; | |
2350 exports.UNSIGNED_SHORT_5_6_5 = UNSIGNED_SHORT_5_6_5; | |
2351 exports.VALIDATE_STATUS = VALIDATE_STATUS; | |
2352 exports.VENDOR = VENDOR; | |
2353 exports.VERSION = VERSION; | |
2354 exports.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = VERTEX_ATTRIB_ARRAY_BUFFER_BINDIN
G; | |
2355 exports.VERTEX_ATTRIB_ARRAY_ENABLED = VERTEX_ATTRIB_ARRAY_ENABLED; | |
2356 exports.VERTEX_ATTRIB_ARRAY_NORMALIZED = VERTEX_ATTRIB_ARRAY_NORMALIZED; | |
2357 exports.VERTEX_ATTRIB_ARRAY_POINTER = VERTEX_ATTRIB_ARRAY_POINTER; | |
2358 exports.VERTEX_ATTRIB_ARRAY_SIZE = VERTEX_ATTRIB_ARRAY_SIZE; | |
2359 exports.VERTEX_ATTRIB_ARRAY_STRIDE = VERTEX_ATTRIB_ARRAY_STRIDE; | |
2360 exports.VERTEX_ATTRIB_ARRAY_TYPE = VERTEX_ATTRIB_ARRAY_TYPE; | |
2361 exports.VERTEX_SHADER = VERTEX_SHADER; | |
2362 exports.VIEWPORT = VIEWPORT; | |
2363 exports.ZERO = ZERO; | |
2364 exports.ActiveInfo = ActiveInfo; | |
2365 exports.AngleInstancedArrays = AngleInstancedArrays; | |
2366 exports.Buffer = Buffer; | |
2367 exports.CompressedTextureAtc = CompressedTextureAtc; | |
2368 exports.CompressedTextureETC1 = CompressedTextureETC1; | |
2369 exports.CompressedTexturePvrtc = CompressedTexturePvrtc; | |
2370 exports.CompressedTextureS3TC = CompressedTextureS3TC; | |
2371 exports.ContextAttributes = ContextAttributes; | |
2372 exports.ContextEvent = ContextEvent; | |
2373 exports.DebugRendererInfo = DebugRendererInfo; | |
2374 exports.DebugShaders = DebugShaders; | |
2375 exports.DepthTexture = DepthTexture; | |
2376 exports.DrawBuffers = DrawBuffers; | |
2377 exports.ExtBlendMinMax = ExtBlendMinMax; | |
2378 exports.ExtFragDepth = ExtFragDepth; | |
2379 exports.ExtShaderTextureLod = ExtShaderTextureLod; | |
2380 exports.ExtTextureFilterAnisotropic = ExtTextureFilterAnisotropic; | |
2381 exports.Framebuffer = Framebuffer; | |
2382 exports.LoseContext = LoseContext; | |
2383 exports.OesElementIndexUint = OesElementIndexUint; | |
2384 exports.OesStandardDerivatives = OesStandardDerivatives; | |
2385 exports.OesTextureFloat = OesTextureFloat; | |
2386 exports.OesTextureFloatLinear = OesTextureFloatLinear; | |
2387 exports.OesTextureHalfFloatLinear = OesTextureHalfFloatLinear; | |
2388 exports.OesVertexArrayObject = OesVertexArrayObject; | |
2389 exports.Program = Program; | |
2390 exports.Renderbuffer = Renderbuffer; | |
2391 exports.Shader = Shader; | |
2392 exports.ShaderPrecisionFormat = ShaderPrecisionFormat; | |
2393 exports.Texture = Texture; | |
2394 exports.UniformLocation = UniformLocation; | |
2395 exports.VertexArrayObject = VertexArrayObject; | |
2396 }); | |
OLD | NEW |