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

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

Issue 18182010: Make html metadata follow the spec. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed DocsEditable, Experimental, Unstable Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library dart.dom.web_gl; 1 library dart.dom.web_gl;
2 2
3 import 'dart:collection'; 3 import 'dart:collection';
4 import 'dart:_collection-dev'; 4 import 'dart:_collection-dev';
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:typed_data'; 7 import 'dart:typed_data';
8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure ToJS; 8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure ToJS;
9 import 'dart:_foreign_helper' show JS; 9 import 'dart:_foreign_helper' show JS;
10 import 'dart:_interceptors' show Interceptor, JSExtendableArray; 10 import 'dart:_interceptors' show Interceptor, JSExtendableArray;
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRI DE; 315 const int VERTEX_ATTRIB_ARRAY_STRIDE = RenderingContext.VERTEX_ATTRIB_ARRAY_STRI DE;
316 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE; 316 const int VERTEX_ATTRIB_ARRAY_TYPE = RenderingContext.VERTEX_ATTRIB_ARRAY_TYPE;
317 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER; 317 const int VERTEX_SHADER = RenderingContext.VERTEX_SHADER;
318 const int VIEWPORT = RenderingContext.VIEWPORT; 318 const int VIEWPORT = RenderingContext.VIEWPORT;
319 const int ZERO = RenderingContext.ZERO; 319 const int ZERO = RenderingContext.ZERO;
320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 320 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
321 // for details. All rights reserved. Use of this source code is governed by a 321 // for details. All rights reserved. Use of this source code is governed by a
322 // BSD-style license that can be found in the LICENSE file. 322 // BSD-style license that can be found in the LICENSE file.
323 323
324 324
325 @DocsEditable 325 @DocsEditable()
326 @DomName('WebGLActiveInfo') 326 @DomName('WebGLActiveInfo')
327 @Unstable 327 @Unstable()
328 class ActiveInfo extends Interceptor native "WebGLActiveInfo" { 328 class ActiveInfo extends Interceptor native "WebGLActiveInfo" {
329 329
330 @DomName('WebGLActiveInfo.name') 330 @DomName('WebGLActiveInfo.name')
331 @DocsEditable 331 @DocsEditable()
332 final String name; 332 final String name;
333 333
334 @DomName('WebGLActiveInfo.size') 334 @DomName('WebGLActiveInfo.size')
335 @DocsEditable 335 @DocsEditable()
336 final int size; 336 final int size;
337 337
338 @DomName('WebGLActiveInfo.type') 338 @DomName('WebGLActiveInfo.type')
339 @DocsEditable 339 @DocsEditable()
340 final int type; 340 final int type;
341 } 341 }
342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
343 // for details. All rights reserved. Use of this source code is governed by a 343 // for details. All rights reserved. Use of this source code is governed by a
344 // BSD-style license that can be found in the LICENSE file. 344 // BSD-style license that can be found in the LICENSE file.
345 345
346 346
347 @DocsEditable 347 @DocsEditable()
348 @DomName('WebGLBuffer') 348 @DomName('WebGLBuffer')
349 @Unstable 349 @Unstable()
350 class Buffer extends Interceptor native "WebGLBuffer" { 350 class Buffer extends Interceptor native "WebGLBuffer" {
351 } 351 }
352 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 352 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
353 // for details. All rights reserved. Use of this source code is governed by a 353 // for details. All rights reserved. Use of this source code is governed by a
354 // BSD-style license that can be found in the LICENSE file. 354 // BSD-style license that can be found in the LICENSE file.
355 355
356 356
357 @DocsEditable 357 @DocsEditable()
358 @DomName('WebGLCompressedTextureATC') 358 @DomName('WebGLCompressedTextureATC')
359 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc / 359 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc /
360 @Experimental 360 @Experimental()
361 class CompressedTextureAtc extends Interceptor native "WebGLCompressedTextureATC " { 361 class CompressedTextureAtc extends Interceptor native "WebGLCompressedTextureATC " {
362 362
363 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') 363 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
364 @DocsEditable 364 @DocsEditable()
365 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; 365 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
366 366
367 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL') 367 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL')
368 @DocsEditable 368 @DocsEditable()
369 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; 369 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
370 370
371 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') 371 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL')
372 @DocsEditable 372 @DocsEditable()
373 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; 373 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
374 } 374 }
375 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 375 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
376 // for details. All rights reserved. Use of this source code is governed by a 376 // for details. All rights reserved. Use of this source code is governed by a
377 // BSD-style license that can be found in the LICENSE file. 377 // BSD-style license that can be found in the LICENSE file.
378 378
379 379
380 @DocsEditable 380 @DocsEditable()
381 @DomName('WebGLCompressedTexturePVRTC') 381 @DomName('WebGLCompressedTexturePVRTC')
382 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/ 382 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_pvr tc/
383 @Experimental // experimental 383 @Experimental() // experimental
384 class CompressedTexturePvrtc extends Interceptor native "WebGLCompressedTextureP VRTC" { 384 class CompressedTexturePvrtc extends Interceptor native "WebGLCompressedTextureP VRTC" {
385 385
386 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') 386 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
387 @DocsEditable 387 @DocsEditable()
388 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; 388 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
389 389
390 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') 390 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG')
391 @DocsEditable 391 @DocsEditable()
392 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; 392 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
393 393
394 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') 394 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG')
395 @DocsEditable 395 @DocsEditable()
396 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; 396 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01;
397 397
398 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG') 398 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG')
399 @DocsEditable 399 @DocsEditable()
400 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; 400 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
401 } 401 }
402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 402 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
403 // for details. All rights reserved. Use of this source code is governed by a 403 // for details. All rights reserved. Use of this source code is governed by a
404 // BSD-style license that can be found in the LICENSE file. 404 // BSD-style license that can be found in the LICENSE file.
405 405
406 406
407 @DocsEditable 407 @DocsEditable()
408 @DomName('WebGLCompressedTextureS3TC') 408 @DomName('WebGLCompressedTextureS3TC')
409 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/ 409 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_s3t c/
410 @Experimental // experimental 410 @Experimental() // experimental
411 class CompressedTextureS3TC extends Interceptor native "WebGLCompressedTextureS3 TC" { 411 class CompressedTextureS3TC extends Interceptor native "WebGLCompressedTextureS3 TC" {
412 412
413 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') 413 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
414 @DocsEditable 414 @DocsEditable()
415 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 415 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
416 416
417 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') 417 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT')
418 @DocsEditable 418 @DocsEditable()
419 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; 419 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
420 420
421 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') 421 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT')
422 @DocsEditable 422 @DocsEditable()
423 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; 423 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
424 424
425 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT') 425 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT')
426 @DocsEditable 426 @DocsEditable()
427 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; 427 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
428 } 428 }
429 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 429 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
430 // for details. All rights reserved. Use of this source code is governed by a 430 // for details. All rights reserved. Use of this source code is governed by a
431 // BSD-style license that can be found in the LICENSE file. 431 // BSD-style license that can be found in the LICENSE file.
432 432
433 433
434 @DocsEditable 434 @DocsEditable()
435 @DomName('WebGLContextAttributes') 435 @DomName('WebGLContextAttributes')
436 @Unstable 436 @Unstable()
437 class ContextAttributes extends Interceptor native "WebGLContextAttributes" { 437 class ContextAttributes extends Interceptor native "WebGLContextAttributes" {
438 438
439 @DomName('WebGLContextAttributes.alpha') 439 @DomName('WebGLContextAttributes.alpha')
440 @DocsEditable 440 @DocsEditable()
441 bool alpha; 441 bool alpha;
442 442
443 @DomName('WebGLContextAttributes.antialias') 443 @DomName('WebGLContextAttributes.antialias')
444 @DocsEditable 444 @DocsEditable()
445 bool antialias; 445 bool antialias;
446 446
447 @DomName('WebGLContextAttributes.depth') 447 @DomName('WebGLContextAttributes.depth')
448 @DocsEditable 448 @DocsEditable()
449 bool depth; 449 bool depth;
450 450
451 @DomName('WebGLContextAttributes.premultipliedAlpha') 451 @DomName('WebGLContextAttributes.premultipliedAlpha')
452 @DocsEditable 452 @DocsEditable()
453 bool premultipliedAlpha; 453 bool premultipliedAlpha;
454 454
455 @DomName('WebGLContextAttributes.preserveDrawingBuffer') 455 @DomName('WebGLContextAttributes.preserveDrawingBuffer')
456 @DocsEditable 456 @DocsEditable()
457 bool preserveDrawingBuffer; 457 bool preserveDrawingBuffer;
458 458
459 @DomName('WebGLContextAttributes.stencil') 459 @DomName('WebGLContextAttributes.stencil')
460 @DocsEditable 460 @DocsEditable()
461 bool stencil; 461 bool stencil;
462 } 462 }
463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
464 // for details. All rights reserved. Use of this source code is governed by a 464 // for details. All rights reserved. Use of this source code is governed by a
465 // BSD-style license that can be found in the LICENSE file. 465 // BSD-style license that can be found in the LICENSE file.
466 466
467 467
468 @DocsEditable 468 @DocsEditable()
469 @DomName('WebGLContextEvent') 469 @DomName('WebGLContextEvent')
470 @Unstable 470 @Unstable()
471 class ContextEvent extends Event native "WebGLContextEvent" { 471 class ContextEvent extends Event native "WebGLContextEvent" {
472 // To suppress missing implicit constructor warnings. 472 // To suppress missing implicit constructor warnings.
473 factory ContextEvent._() { throw new UnsupportedError("Not supported"); } 473 factory ContextEvent._() { throw new UnsupportedError("Not supported"); }
474 474
475 @DomName('WebGLContextEvent.statusMessage') 475 @DomName('WebGLContextEvent.statusMessage')
476 @DocsEditable 476 @DocsEditable()
477 final String statusMessage; 477 final String statusMessage;
478 } 478 }
479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 479 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
480 // for details. All rights reserved. Use of this source code is governed by a 480 // for details. All rights reserved. Use of this source code is governed by a
481 // BSD-style license that can be found in the LICENSE file. 481 // BSD-style license that can be found in the LICENSE file.
482 482
483 483
484 @DocsEditable 484 @DocsEditable()
485 @DomName('WebGLDebugRendererInfo') 485 @DomName('WebGLDebugRendererInfo')
486 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/ 486 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_renderer_info/
487 @Experimental // experimental 487 @Experimental() // experimental
488 class DebugRendererInfo extends Interceptor native "WebGLDebugRendererInfo" { 488 class DebugRendererInfo extends Interceptor native "WebGLDebugRendererInfo" {
489 489
490 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') 490 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
491 @DocsEditable 491 @DocsEditable()
492 static const int UNMASKED_RENDERER_WEBGL = 0x9246; 492 static const int UNMASKED_RENDERER_WEBGL = 0x9246;
493 493
494 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') 494 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL')
495 @DocsEditable 495 @DocsEditable()
496 static const int UNMASKED_VENDOR_WEBGL = 0x9245; 496 static const int UNMASKED_VENDOR_WEBGL = 0x9245;
497 } 497 }
498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
499 // for details. All rights reserved. Use of this source code is governed by a 499 // for details. All rights reserved. Use of this source code is governed by a
500 // BSD-style license that can be found in the LICENSE file. 500 // BSD-style license that can be found in the LICENSE file.
501 501
502 502
503 @DocsEditable 503 @DocsEditable()
504 @DomName('WebGLDebugShaders') 504 @DomName('WebGLDebugShaders')
505 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/ 505 // http://www.khronos.org/registry/webgl/extensions/WEBGL_debug_shaders/
506 @Experimental // experimental 506 @Experimental() // experimental
507 class DebugShaders extends Interceptor native "WebGLDebugShaders" { 507 class DebugShaders extends Interceptor native "WebGLDebugShaders" {
508 508
509 @DomName('WebGLDebugShaders.getTranslatedShaderSource') 509 @DomName('WebGLDebugShaders.getTranslatedShaderSource')
510 @DocsEditable 510 @DocsEditable()
511 String getTranslatedShaderSource(Shader shader) native; 511 String getTranslatedShaderSource(Shader shader) native;
512 } 512 }
513 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 513 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
514 // for details. All rights reserved. Use of this source code is governed by a 514 // for details. All rights reserved. Use of this source code is governed by a
515 // BSD-style license that can be found in the LICENSE file. 515 // BSD-style license that can be found in the LICENSE file.
516 516
517 517
518 @DocsEditable 518 @DocsEditable()
519 @DomName('WebGLDepthTexture') 519 @DomName('WebGLDepthTexture')
520 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/ 520 // http://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/
521 @Experimental // experimental 521 @Experimental() // experimental
522 class DepthTexture extends Interceptor native "WebGLDepthTexture" { 522 class DepthTexture extends Interceptor native "WebGLDepthTexture" {
523 523
524 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') 524 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
525 @DocsEditable 525 @DocsEditable()
526 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; 526 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
527 } 527 }
528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 528 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
529 // for details. All rights reserved. Use of this source code is governed by a 529 // for details. All rights reserved. Use of this source code is governed by a
530 // BSD-style license that can be found in the LICENSE file. 530 // BSD-style license that can be found in the LICENSE file.
531 531
532 532
533 @DocsEditable 533 @DocsEditable()
534 @DomName('EXTDrawBuffers') 534 @DomName('EXTDrawBuffers')
535 // http://www.khronos.org/registry/webgl/specs/latest/ 535 // http://www.khronos.org/registry/webgl/specs/latest/
536 @Experimental // stable 536 @Experimental() // stable
537 class ExtDrawBuffers extends Interceptor native "EXTDrawBuffers" { 537 class ExtDrawBuffers extends Interceptor native "EXTDrawBuffers" {
538 538
539 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT') 539 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT')
540 @DocsEditable 540 @DocsEditable()
541 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0; 541 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0;
542 542
543 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT10_EXT') 543 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT10_EXT')
544 @DocsEditable 544 @DocsEditable()
545 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA; 545 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA;
546 546
547 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT11_EXT') 547 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT11_EXT')
548 @DocsEditable 548 @DocsEditable()
549 static const int COLOR_ATTACHMENT11_EXT = 0x8CEB; 549 static const int COLOR_ATTACHMENT11_EXT = 0x8CEB;
550 550
551 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT12_EXT') 551 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT12_EXT')
552 @DocsEditable 552 @DocsEditable()
553 static const int COLOR_ATTACHMENT12_EXT = 0x8CEC; 553 static const int COLOR_ATTACHMENT12_EXT = 0x8CEC;
554 554
555 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT13_EXT') 555 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT13_EXT')
556 @DocsEditable 556 @DocsEditable()
557 static const int COLOR_ATTACHMENT13_EXT = 0x8CED; 557 static const int COLOR_ATTACHMENT13_EXT = 0x8CED;
558 558
559 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT14_EXT') 559 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT14_EXT')
560 @DocsEditable 560 @DocsEditable()
561 static const int COLOR_ATTACHMENT14_EXT = 0x8CEE; 561 static const int COLOR_ATTACHMENT14_EXT = 0x8CEE;
562 562
563 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT15_EXT') 563 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT15_EXT')
564 @DocsEditable 564 @DocsEditable()
565 static const int COLOR_ATTACHMENT15_EXT = 0x8CEF; 565 static const int COLOR_ATTACHMENT15_EXT = 0x8CEF;
566 566
567 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT1_EXT') 567 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT1_EXT')
568 @DocsEditable 568 @DocsEditable()
569 static const int COLOR_ATTACHMENT1_EXT = 0x8CE1; 569 static const int COLOR_ATTACHMENT1_EXT = 0x8CE1;
570 570
571 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT2_EXT') 571 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT2_EXT')
572 @DocsEditable 572 @DocsEditable()
573 static const int COLOR_ATTACHMENT2_EXT = 0x8CE2; 573 static const int COLOR_ATTACHMENT2_EXT = 0x8CE2;
574 574
575 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT3_EXT') 575 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT3_EXT')
576 @DocsEditable 576 @DocsEditable()
577 static const int COLOR_ATTACHMENT3_EXT = 0x8CE3; 577 static const int COLOR_ATTACHMENT3_EXT = 0x8CE3;
578 578
579 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT4_EXT') 579 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT4_EXT')
580 @DocsEditable 580 @DocsEditable()
581 static const int COLOR_ATTACHMENT4_EXT = 0x8CE4; 581 static const int COLOR_ATTACHMENT4_EXT = 0x8CE4;
582 582
583 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT5_EXT') 583 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT5_EXT')
584 @DocsEditable 584 @DocsEditable()
585 static const int COLOR_ATTACHMENT5_EXT = 0x8CE5; 585 static const int COLOR_ATTACHMENT5_EXT = 0x8CE5;
586 586
587 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT6_EXT') 587 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT6_EXT')
588 @DocsEditable 588 @DocsEditable()
589 static const int COLOR_ATTACHMENT6_EXT = 0x8CE6; 589 static const int COLOR_ATTACHMENT6_EXT = 0x8CE6;
590 590
591 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT7_EXT') 591 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT7_EXT')
592 @DocsEditable 592 @DocsEditable()
593 static const int COLOR_ATTACHMENT7_EXT = 0x8CE7; 593 static const int COLOR_ATTACHMENT7_EXT = 0x8CE7;
594 594
595 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT8_EXT') 595 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT8_EXT')
596 @DocsEditable 596 @DocsEditable()
597 static const int COLOR_ATTACHMENT8_EXT = 0x8CE8; 597 static const int COLOR_ATTACHMENT8_EXT = 0x8CE8;
598 598
599 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT9_EXT') 599 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT9_EXT')
600 @DocsEditable 600 @DocsEditable()
601 static const int COLOR_ATTACHMENT9_EXT = 0x8CE9; 601 static const int COLOR_ATTACHMENT9_EXT = 0x8CE9;
602 602
603 @DomName('EXTDrawBuffers.DRAW_BUFFER0_EXT') 603 @DomName('EXTDrawBuffers.DRAW_BUFFER0_EXT')
604 @DocsEditable 604 @DocsEditable()
605 static const int DRAW_BUFFER0_EXT = 0x8825; 605 static const int DRAW_BUFFER0_EXT = 0x8825;
606 606
607 @DomName('EXTDrawBuffers.DRAW_BUFFER10_EXT') 607 @DomName('EXTDrawBuffers.DRAW_BUFFER10_EXT')
608 @DocsEditable 608 @DocsEditable()
609 static const int DRAW_BUFFER10_EXT = 0x882F; 609 static const int DRAW_BUFFER10_EXT = 0x882F;
610 610
611 @DomName('EXTDrawBuffers.DRAW_BUFFER11_EXT') 611 @DomName('EXTDrawBuffers.DRAW_BUFFER11_EXT')
612 @DocsEditable 612 @DocsEditable()
613 static const int DRAW_BUFFER11_EXT = 0x8830; 613 static const int DRAW_BUFFER11_EXT = 0x8830;
614 614
615 @DomName('EXTDrawBuffers.DRAW_BUFFER12_EXT') 615 @DomName('EXTDrawBuffers.DRAW_BUFFER12_EXT')
616 @DocsEditable 616 @DocsEditable()
617 static const int DRAW_BUFFER12_EXT = 0x8831; 617 static const int DRAW_BUFFER12_EXT = 0x8831;
618 618
619 @DomName('EXTDrawBuffers.DRAW_BUFFER13_EXT') 619 @DomName('EXTDrawBuffers.DRAW_BUFFER13_EXT')
620 @DocsEditable 620 @DocsEditable()
621 static const int DRAW_BUFFER13_EXT = 0x8832; 621 static const int DRAW_BUFFER13_EXT = 0x8832;
622 622
623 @DomName('EXTDrawBuffers.DRAW_BUFFER14_EXT') 623 @DomName('EXTDrawBuffers.DRAW_BUFFER14_EXT')
624 @DocsEditable 624 @DocsEditable()
625 static const int DRAW_BUFFER14_EXT = 0x8833; 625 static const int DRAW_BUFFER14_EXT = 0x8833;
626 626
627 @DomName('EXTDrawBuffers.DRAW_BUFFER15_EXT') 627 @DomName('EXTDrawBuffers.DRAW_BUFFER15_EXT')
628 @DocsEditable 628 @DocsEditable()
629 static const int DRAW_BUFFER15_EXT = 0x8834; 629 static const int DRAW_BUFFER15_EXT = 0x8834;
630 630
631 @DomName('EXTDrawBuffers.DRAW_BUFFER1_EXT') 631 @DomName('EXTDrawBuffers.DRAW_BUFFER1_EXT')
632 @DocsEditable 632 @DocsEditable()
633 static const int DRAW_BUFFER1_EXT = 0x8826; 633 static const int DRAW_BUFFER1_EXT = 0x8826;
634 634
635 @DomName('EXTDrawBuffers.DRAW_BUFFER2_EXT') 635 @DomName('EXTDrawBuffers.DRAW_BUFFER2_EXT')
636 @DocsEditable 636 @DocsEditable()
637 static const int DRAW_BUFFER2_EXT = 0x8827; 637 static const int DRAW_BUFFER2_EXT = 0x8827;
638 638
639 @DomName('EXTDrawBuffers.DRAW_BUFFER3_EXT') 639 @DomName('EXTDrawBuffers.DRAW_BUFFER3_EXT')
640 @DocsEditable 640 @DocsEditable()
641 static const int DRAW_BUFFER3_EXT = 0x8828; 641 static const int DRAW_BUFFER3_EXT = 0x8828;
642 642
643 @DomName('EXTDrawBuffers.DRAW_BUFFER4_EXT') 643 @DomName('EXTDrawBuffers.DRAW_BUFFER4_EXT')
644 @DocsEditable 644 @DocsEditable()
645 static const int DRAW_BUFFER4_EXT = 0x8829; 645 static const int DRAW_BUFFER4_EXT = 0x8829;
646 646
647 @DomName('EXTDrawBuffers.DRAW_BUFFER5_EXT') 647 @DomName('EXTDrawBuffers.DRAW_BUFFER5_EXT')
648 @DocsEditable 648 @DocsEditable()
649 static const int DRAW_BUFFER5_EXT = 0x882A; 649 static const int DRAW_BUFFER5_EXT = 0x882A;
650 650
651 @DomName('EXTDrawBuffers.DRAW_BUFFER6_EXT') 651 @DomName('EXTDrawBuffers.DRAW_BUFFER6_EXT')
652 @DocsEditable 652 @DocsEditable()
653 static const int DRAW_BUFFER6_EXT = 0x882B; 653 static const int DRAW_BUFFER6_EXT = 0x882B;
654 654
655 @DomName('EXTDrawBuffers.DRAW_BUFFER7_EXT') 655 @DomName('EXTDrawBuffers.DRAW_BUFFER7_EXT')
656 @DocsEditable 656 @DocsEditable()
657 static const int DRAW_BUFFER7_EXT = 0x882C; 657 static const int DRAW_BUFFER7_EXT = 0x882C;
658 658
659 @DomName('EXTDrawBuffers.DRAW_BUFFER8_EXT') 659 @DomName('EXTDrawBuffers.DRAW_BUFFER8_EXT')
660 @DocsEditable 660 @DocsEditable()
661 static const int DRAW_BUFFER8_EXT = 0x882D; 661 static const int DRAW_BUFFER8_EXT = 0x882D;
662 662
663 @DomName('EXTDrawBuffers.DRAW_BUFFER9_EXT') 663 @DomName('EXTDrawBuffers.DRAW_BUFFER9_EXT')
664 @DocsEditable 664 @DocsEditable()
665 static const int DRAW_BUFFER9_EXT = 0x882E; 665 static const int DRAW_BUFFER9_EXT = 0x882E;
666 666
667 @DomName('EXTDrawBuffers.MAX_COLOR_ATTACHMENTS_EXT') 667 @DomName('EXTDrawBuffers.MAX_COLOR_ATTACHMENTS_EXT')
668 @DocsEditable 668 @DocsEditable()
669 static const int MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF; 669 static const int MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF;
670 670
671 @DomName('EXTDrawBuffers.MAX_DRAW_BUFFERS_EXT') 671 @DomName('EXTDrawBuffers.MAX_DRAW_BUFFERS_EXT')
672 @DocsEditable 672 @DocsEditable()
673 static const int MAX_DRAW_BUFFERS_EXT = 0x8824; 673 static const int MAX_DRAW_BUFFERS_EXT = 0x8824;
674 674
675 @JSName('drawBuffersEXT') 675 @JSName('drawBuffersEXT')
676 @DomName('EXTDrawBuffers.drawBuffersEXT') 676 @DomName('EXTDrawBuffers.drawBuffersEXT')
677 @DocsEditable 677 @DocsEditable()
678 void drawBuffersExt(List<int> buffers) native; 678 void drawBuffersExt(List<int> buffers) native;
679 } 679 }
680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 680 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
681 // for details. All rights reserved. Use of this source code is governed by a 681 // for details. All rights reserved. Use of this source code is governed by a
682 // BSD-style license that can be found in the LICENSE file. 682 // BSD-style license that can be found in the LICENSE file.
683 683
684 684
685 @DocsEditable 685 @DocsEditable()
686 @DomName('EXTFragDepth') 686 @DomName('EXTFragDepth')
687 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ 687 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
688 @Experimental 688 @Experimental()
689 class ExtFragDepth extends Interceptor native "EXTFragDepth" { 689 class ExtFragDepth extends Interceptor native "EXTFragDepth" {
690 } 690 }
691 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 691 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
692 // for details. All rights reserved. Use of this source code is governed by a 692 // for details. All rights reserved. Use of this source code is governed by a
693 // BSD-style license that can be found in the LICENSE file. 693 // BSD-style license that can be found in the LICENSE file.
694 694
695 695
696 @DocsEditable 696 @DocsEditable()
697 @DomName('EXTTextureFilterAnisotropic') 697 @DomName('EXTTextureFilterAnisotropic')
698 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/ 698 // http://www.khronos.org/registry/webgl/extensions/EXT_texture_filter_anisotrop ic/
699 @Experimental 699 @Experimental()
700 class ExtTextureFilterAnisotropic extends Interceptor native "EXTTextureFilterAn isotropic" { 700 class ExtTextureFilterAnisotropic extends Interceptor native "EXTTextureFilterAn isotropic" {
701 701
702 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') 702 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
703 @DocsEditable 703 @DocsEditable()
704 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 704 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
705 705
706 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') 706 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT')
707 @DocsEditable 707 @DocsEditable()
708 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 708 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
709 } 709 }
710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
711 // for details. All rights reserved. Use of this source code is governed by a 711 // for details. All rights reserved. Use of this source code is governed by a
712 // BSD-style license that can be found in the LICENSE file. 712 // BSD-style license that can be found in the LICENSE file.
713 713
714 714
715 @DocsEditable 715 @DocsEditable()
716 @DomName('WebGLFramebuffer') 716 @DomName('WebGLFramebuffer')
717 @Unstable 717 @Unstable()
718 class Framebuffer extends Interceptor native "WebGLFramebuffer" { 718 class Framebuffer extends Interceptor native "WebGLFramebuffer" {
719 } 719 }
720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
721 // for details. All rights reserved. Use of this source code is governed by a 721 // for details. All rights reserved. Use of this source code is governed by a
722 // BSD-style license that can be found in the LICENSE file. 722 // BSD-style license that can be found in the LICENSE file.
723 723
724 724
725 @DocsEditable 725 @DocsEditable()
726 @DomName('WebGLLoseContext') 726 @DomName('WebGLLoseContext')
727 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ 727 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/
728 @Experimental 728 @Experimental()
729 class LoseContext extends Interceptor native "WebGLLoseContext" { 729 class LoseContext extends Interceptor native "WebGLLoseContext" {
730 730
731 @DomName('WebGLLoseContext.loseContext') 731 @DomName('WebGLLoseContext.loseContext')
732 @DocsEditable 732 @DocsEditable()
733 void loseContext() native; 733 void loseContext() native;
734 734
735 @DomName('WebGLLoseContext.restoreContext') 735 @DomName('WebGLLoseContext.restoreContext')
736 @DocsEditable 736 @DocsEditable()
737 void restoreContext() native; 737 void restoreContext() native;
738 } 738 }
739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
740 // for details. All rights reserved. Use of this source code is governed by a 740 // for details. All rights reserved. Use of this source code is governed by a
741 // BSD-style license that can be found in the LICENSE file. 741 // BSD-style license that can be found in the LICENSE file.
742 742
743 743
744 @DocsEditable 744 @DocsEditable()
745 @DomName('OESElementIndexUint') 745 @DomName('OESElementIndexUint')
746 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/ 746 // http://www.khronos.org/registry/webgl/extensions/OES_element_index_uint/
747 @Experimental // experimental 747 @Experimental() // experimental
748 class OesElementIndexUint extends Interceptor native "OESElementIndexUint" { 748 class OesElementIndexUint extends Interceptor native "OESElementIndexUint" {
749 } 749 }
750 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 750 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
751 // for details. All rights reserved. Use of this source code is governed by a 751 // for details. All rights reserved. Use of this source code is governed by a
752 // BSD-style license that can be found in the LICENSE file. 752 // BSD-style license that can be found in the LICENSE file.
753 753
754 754
755 @DocsEditable 755 @DocsEditable()
756 @DomName('OESStandardDerivatives') 756 @DomName('OESStandardDerivatives')
757 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/ 757 // http://www.khronos.org/registry/webgl/extensions/OES_standard_derivatives/
758 @Experimental // experimental 758 @Experimental() // experimental
759 class OesStandardDerivatives extends Interceptor native "OESStandardDerivatives" { 759 class OesStandardDerivatives extends Interceptor native "OESStandardDerivatives" {
760 760
761 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') 761 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
762 @DocsEditable 762 @DocsEditable()
763 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 763 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
764 } 764 }
765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
766 // for details. All rights reserved. Use of this source code is governed by a 766 // for details. All rights reserved. Use of this source code is governed by a
767 // BSD-style license that can be found in the LICENSE file. 767 // BSD-style license that can be found in the LICENSE file.
768 768
769 769
770 @DocsEditable 770 @DocsEditable()
771 @DomName('OESTextureFloat') 771 @DomName('OESTextureFloat')
772 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/ 772 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float/
773 @Experimental // experimental 773 @Experimental() // experimental
774 class OesTextureFloat extends Interceptor native "OESTextureFloat" { 774 class OesTextureFloat extends Interceptor native "OESTextureFloat" {
775 } 775 }
776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
777 // for details. All rights reserved. Use of this source code is governed by a 777 // for details. All rights reserved. Use of this source code is governed by a
778 // BSD-style license that can be found in the LICENSE file. 778 // BSD-style license that can be found in the LICENSE file.
779 779
780 780
781 @DocsEditable 781 @DocsEditable()
782 @DomName('OESTextureFloatLinear') 782 @DomName('OESTextureFloatLinear')
783 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/ 783 // http://www.khronos.org/registry/webgl/extensions/OES_texture_float_linear/
784 @Experimental 784 @Experimental()
785 class OesTextureFloatLinear extends Interceptor native "OESTextureFloatLinear" { 785 class OesTextureFloatLinear extends Interceptor native "OESTextureFloatLinear" {
786 } 786 }
787 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 787 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
788 // for details. All rights reserved. Use of this source code is governed by a 788 // for details. All rights reserved. Use of this source code is governed by a
789 // BSD-style license that can be found in the LICENSE file. 789 // BSD-style license that can be found in the LICENSE file.
790 790
791 791
792 @DocsEditable 792 @DocsEditable()
793 @DomName('OESTextureHalfFloat') 793 @DomName('OESTextureHalfFloat')
794 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/ 794 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float/
795 @Experimental // experimental 795 @Experimental() // experimental
796 class OesTextureHalfFloat extends Interceptor native "OESTextureHalfFloat" { 796 class OesTextureHalfFloat extends Interceptor native "OESTextureHalfFloat" {
797 797
798 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') 798 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES')
799 @DocsEditable 799 @DocsEditable()
800 static const int HALF_FLOAT_OES = 0x8D61; 800 static const int HALF_FLOAT_OES = 0x8D61;
801 } 801 }
802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
803 // for details. All rights reserved. Use of this source code is governed by a 803 // for details. All rights reserved. Use of this source code is governed by a
804 // BSD-style license that can be found in the LICENSE file. 804 // BSD-style license that can be found in the LICENSE file.
805 805
806 806
807 @DocsEditable 807 @DocsEditable()
808 @DomName('OESTextureHalfFloatLinear') 808 @DomName('OESTextureHalfFloatLinear')
809 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/ 809 // http://www.khronos.org/registry/webgl/extensions/OES_texture_half_float_linea r/
810 @Experimental 810 @Experimental()
811 class OesTextureHalfFloatLinear extends Interceptor native "OESTextureHalfFloatL inear" { 811 class OesTextureHalfFloatLinear extends Interceptor native "OESTextureHalfFloatL inear" {
812 } 812 }
813 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 813 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
814 // for details. All rights reserved. Use of this source code is governed by a 814 // for details. All rights reserved. Use of this source code is governed by a
815 // BSD-style license that can be found in the LICENSE file. 815 // BSD-style license that can be found in the LICENSE file.
816 816
817 817
818 @DocsEditable 818 @DocsEditable()
819 @DomName('OESVertexArrayObject') 819 @DomName('OESVertexArrayObject')
820 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 820 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
821 @Experimental // experimental 821 @Experimental() // experimental
822 class OesVertexArrayObject extends Interceptor native "OESVertexArrayObject" { 822 class OesVertexArrayObject extends Interceptor native "OESVertexArrayObject" {
823 823
824 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') 824 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
825 @DocsEditable 825 @DocsEditable()
826 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 826 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
827 827
828 @JSName('bindVertexArrayOES') 828 @JSName('bindVertexArrayOES')
829 @DomName('OESVertexArrayObject.bindVertexArrayOES') 829 @DomName('OESVertexArrayObject.bindVertexArrayOES')
830 @DocsEditable 830 @DocsEditable()
831 void bindVertexArray(VertexArrayObject arrayObject) native; 831 void bindVertexArray(VertexArrayObject arrayObject) native;
832 832
833 @JSName('createVertexArrayOES') 833 @JSName('createVertexArrayOES')
834 @DomName('OESVertexArrayObject.createVertexArrayOES') 834 @DomName('OESVertexArrayObject.createVertexArrayOES')
835 @DocsEditable 835 @DocsEditable()
836 VertexArrayObject createVertexArray() native; 836 VertexArrayObject createVertexArray() native;
837 837
838 @JSName('deleteVertexArrayOES') 838 @JSName('deleteVertexArrayOES')
839 @DomName('OESVertexArrayObject.deleteVertexArrayOES') 839 @DomName('OESVertexArrayObject.deleteVertexArrayOES')
840 @DocsEditable 840 @DocsEditable()
841 void deleteVertexArray(VertexArrayObject arrayObject) native; 841 void deleteVertexArray(VertexArrayObject arrayObject) native;
842 842
843 @JSName('isVertexArrayOES') 843 @JSName('isVertexArrayOES')
844 @DomName('OESVertexArrayObject.isVertexArrayOES') 844 @DomName('OESVertexArrayObject.isVertexArrayOES')
845 @DocsEditable 845 @DocsEditable()
846 bool isVertexArray(VertexArrayObject arrayObject) native; 846 bool isVertexArray(VertexArrayObject arrayObject) native;
847 } 847 }
848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 848 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
849 // for details. All rights reserved. Use of this source code is governed by a 849 // for details. All rights reserved. Use of this source code is governed by a
850 // BSD-style license that can be found in the LICENSE file. 850 // BSD-style license that can be found in the LICENSE file.
851 851
852 852
853 @DocsEditable 853 @DocsEditable()
854 @DomName('WebGLProgram') 854 @DomName('WebGLProgram')
855 @Unstable 855 @Unstable()
856 class Program extends Interceptor native "WebGLProgram" { 856 class Program extends Interceptor native "WebGLProgram" {
857 } 857 }
858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
859 // for details. All rights reserved. Use of this source code is governed by a 859 // for details. All rights reserved. Use of this source code is governed by a
860 // BSD-style license that can be found in the LICENSE file. 860 // BSD-style license that can be found in the LICENSE file.
861 861
862 862
863 @DocsEditable 863 @DocsEditable()
864 @DomName('WebGLRenderbuffer') 864 @DomName('WebGLRenderbuffer')
865 @Unstable 865 @Unstable()
866 class Renderbuffer extends Interceptor native "WebGLRenderbuffer" { 866 class Renderbuffer extends Interceptor native "WebGLRenderbuffer" {
867 } 867 }
868 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 868 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
869 // for details. All rights reserved. Use of this source code is governed by a 869 // for details. All rights reserved. Use of this source code is governed by a
870 // BSD-style license that can be found in the LICENSE file. 870 // BSD-style license that can be found in the LICENSE file.
871 871
872 872
873 @DocsEditable 873 @DocsEditable()
874 @DomName('WebGLRenderingContext') 874 @DomName('WebGLRenderingContext')
875 @SupportedBrowser(SupportedBrowser.CHROME) 875 @SupportedBrowser(SupportedBrowser.CHROME)
876 @SupportedBrowser(SupportedBrowser.FIREFOX) 876 @SupportedBrowser(SupportedBrowser.FIREFOX)
877 @Experimental 877 @Experimental()
878 @Unstable 878 @Unstable()
879 class RenderingContext extends CanvasRenderingContext native "WebGLRenderingCont ext" { 879 class RenderingContext extends CanvasRenderingContext native "WebGLRenderingCont ext" {
880 // To suppress missing implicit constructor warnings. 880 // To suppress missing implicit constructor warnings.
881 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } 881 factory RenderingContext._() { throw new UnsupportedError("Not supported"); }
882 882
883 /// Checks if this type is supported on the current platform. 883 /// Checks if this type is supported on the current platform.
884 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)'); 884 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)');
885 885
886 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') 886 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
887 @DocsEditable 887 @DocsEditable()
888 static const int ACTIVE_ATTRIBUTES = 0x8B89; 888 static const int ACTIVE_ATTRIBUTES = 0x8B89;
889 889
890 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') 890 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
891 @DocsEditable 891 @DocsEditable()
892 static const int ACTIVE_TEXTURE = 0x84E0; 892 static const int ACTIVE_TEXTURE = 0x84E0;
893 893
894 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS') 894 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS')
895 @DocsEditable 895 @DocsEditable()
896 static const int ACTIVE_UNIFORMS = 0x8B86; 896 static const int ACTIVE_UNIFORMS = 0x8B86;
897 897
898 @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE') 898 @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE')
899 @DocsEditable 899 @DocsEditable()
900 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; 900 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E;
901 901
902 @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE') 902 @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE')
903 @DocsEditable 903 @DocsEditable()
904 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; 904 static const int ALIASED_POINT_SIZE_RANGE = 0x846D;
905 905
906 @DomName('WebGLRenderingContext.ALPHA') 906 @DomName('WebGLRenderingContext.ALPHA')
907 @DocsEditable 907 @DocsEditable()
908 static const int ALPHA = 0x1906; 908 static const int ALPHA = 0x1906;
909 909
910 @DomName('WebGLRenderingContext.ALPHA_BITS') 910 @DomName('WebGLRenderingContext.ALPHA_BITS')
911 @DocsEditable 911 @DocsEditable()
912 static const int ALPHA_BITS = 0x0D55; 912 static const int ALPHA_BITS = 0x0D55;
913 913
914 @DomName('WebGLRenderingContext.ALWAYS') 914 @DomName('WebGLRenderingContext.ALWAYS')
915 @DocsEditable 915 @DocsEditable()
916 static const int ALWAYS = 0x0207; 916 static const int ALWAYS = 0x0207;
917 917
918 @DomName('WebGLRenderingContext.ARRAY_BUFFER') 918 @DomName('WebGLRenderingContext.ARRAY_BUFFER')
919 @DocsEditable 919 @DocsEditable()
920 static const int ARRAY_BUFFER = 0x8892; 920 static const int ARRAY_BUFFER = 0x8892;
921 921
922 @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING') 922 @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING')
923 @DocsEditable 923 @DocsEditable()
924 static const int ARRAY_BUFFER_BINDING = 0x8894; 924 static const int ARRAY_BUFFER_BINDING = 0x8894;
925 925
926 @DomName('WebGLRenderingContext.ATTACHED_SHADERS') 926 @DomName('WebGLRenderingContext.ATTACHED_SHADERS')
927 @DocsEditable 927 @DocsEditable()
928 static const int ATTACHED_SHADERS = 0x8B85; 928 static const int ATTACHED_SHADERS = 0x8B85;
929 929
930 @DomName('WebGLRenderingContext.BACK') 930 @DomName('WebGLRenderingContext.BACK')
931 @DocsEditable 931 @DocsEditable()
932 static const int BACK = 0x0405; 932 static const int BACK = 0x0405;
933 933
934 @DomName('WebGLRenderingContext.BLEND') 934 @DomName('WebGLRenderingContext.BLEND')
935 @DocsEditable 935 @DocsEditable()
936 static const int BLEND = 0x0BE2; 936 static const int BLEND = 0x0BE2;
937 937
938 @DomName('WebGLRenderingContext.BLEND_COLOR') 938 @DomName('WebGLRenderingContext.BLEND_COLOR')
939 @DocsEditable 939 @DocsEditable()
940 static const int BLEND_COLOR = 0x8005; 940 static const int BLEND_COLOR = 0x8005;
941 941
942 @DomName('WebGLRenderingContext.BLEND_DST_ALPHA') 942 @DomName('WebGLRenderingContext.BLEND_DST_ALPHA')
943 @DocsEditable 943 @DocsEditable()
944 static const int BLEND_DST_ALPHA = 0x80CA; 944 static const int BLEND_DST_ALPHA = 0x80CA;
945 945
946 @DomName('WebGLRenderingContext.BLEND_DST_RGB') 946 @DomName('WebGLRenderingContext.BLEND_DST_RGB')
947 @DocsEditable 947 @DocsEditable()
948 static const int BLEND_DST_RGB = 0x80C8; 948 static const int BLEND_DST_RGB = 0x80C8;
949 949
950 @DomName('WebGLRenderingContext.BLEND_EQUATION') 950 @DomName('WebGLRenderingContext.BLEND_EQUATION')
951 @DocsEditable 951 @DocsEditable()
952 static const int BLEND_EQUATION = 0x8009; 952 static const int BLEND_EQUATION = 0x8009;
953 953
954 @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA') 954 @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA')
955 @DocsEditable 955 @DocsEditable()
956 static const int BLEND_EQUATION_ALPHA = 0x883D; 956 static const int BLEND_EQUATION_ALPHA = 0x883D;
957 957
958 @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB') 958 @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB')
959 @DocsEditable 959 @DocsEditable()
960 static const int BLEND_EQUATION_RGB = 0x8009; 960 static const int BLEND_EQUATION_RGB = 0x8009;
961 961
962 @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA') 962 @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA')
963 @DocsEditable 963 @DocsEditable()
964 static const int BLEND_SRC_ALPHA = 0x80CB; 964 static const int BLEND_SRC_ALPHA = 0x80CB;
965 965
966 @DomName('WebGLRenderingContext.BLEND_SRC_RGB') 966 @DomName('WebGLRenderingContext.BLEND_SRC_RGB')
967 @DocsEditable 967 @DocsEditable()
968 static const int BLEND_SRC_RGB = 0x80C9; 968 static const int BLEND_SRC_RGB = 0x80C9;
969 969
970 @DomName('WebGLRenderingContext.BLUE_BITS') 970 @DomName('WebGLRenderingContext.BLUE_BITS')
971 @DocsEditable 971 @DocsEditable()
972 static const int BLUE_BITS = 0x0D54; 972 static const int BLUE_BITS = 0x0D54;
973 973
974 @DomName('WebGLRenderingContext.BOOL') 974 @DomName('WebGLRenderingContext.BOOL')
975 @DocsEditable 975 @DocsEditable()
976 static const int BOOL = 0x8B56; 976 static const int BOOL = 0x8B56;
977 977
978 @DomName('WebGLRenderingContext.BOOL_VEC2') 978 @DomName('WebGLRenderingContext.BOOL_VEC2')
979 @DocsEditable 979 @DocsEditable()
980 static const int BOOL_VEC2 = 0x8B57; 980 static const int BOOL_VEC2 = 0x8B57;
981 981
982 @DomName('WebGLRenderingContext.BOOL_VEC3') 982 @DomName('WebGLRenderingContext.BOOL_VEC3')
983 @DocsEditable 983 @DocsEditable()
984 static const int BOOL_VEC3 = 0x8B58; 984 static const int BOOL_VEC3 = 0x8B58;
985 985
986 @DomName('WebGLRenderingContext.BOOL_VEC4') 986 @DomName('WebGLRenderingContext.BOOL_VEC4')
987 @DocsEditable 987 @DocsEditable()
988 static const int BOOL_VEC4 = 0x8B59; 988 static const int BOOL_VEC4 = 0x8B59;
989 989
990 @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL') 990 @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL')
991 @DocsEditable 991 @DocsEditable()
992 static const int BROWSER_DEFAULT_WEBGL = 0x9244; 992 static const int BROWSER_DEFAULT_WEBGL = 0x9244;
993 993
994 @DomName('WebGLRenderingContext.BUFFER_SIZE') 994 @DomName('WebGLRenderingContext.BUFFER_SIZE')
995 @DocsEditable 995 @DocsEditable()
996 static const int BUFFER_SIZE = 0x8764; 996 static const int BUFFER_SIZE = 0x8764;
997 997
998 @DomName('WebGLRenderingContext.BUFFER_USAGE') 998 @DomName('WebGLRenderingContext.BUFFER_USAGE')
999 @DocsEditable 999 @DocsEditable()
1000 static const int BUFFER_USAGE = 0x8765; 1000 static const int BUFFER_USAGE = 0x8765;
1001 1001
1002 @DomName('WebGLRenderingContext.BYTE') 1002 @DomName('WebGLRenderingContext.BYTE')
1003 @DocsEditable 1003 @DocsEditable()
1004 static const int BYTE = 0x1400; 1004 static const int BYTE = 0x1400;
1005 1005
1006 @DomName('WebGLRenderingContext.CCW') 1006 @DomName('WebGLRenderingContext.CCW')
1007 @DocsEditable 1007 @DocsEditable()
1008 static const int CCW = 0x0901; 1008 static const int CCW = 0x0901;
1009 1009
1010 @DomName('WebGLRenderingContext.CLAMP_TO_EDGE') 1010 @DomName('WebGLRenderingContext.CLAMP_TO_EDGE')
1011 @DocsEditable 1011 @DocsEditable()
1012 static const int CLAMP_TO_EDGE = 0x812F; 1012 static const int CLAMP_TO_EDGE = 0x812F;
1013 1013
1014 @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0') 1014 @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0')
1015 @DocsEditable 1015 @DocsEditable()
1016 static const int COLOR_ATTACHMENT0 = 0x8CE0; 1016 static const int COLOR_ATTACHMENT0 = 0x8CE0;
1017 1017
1018 @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT') 1018 @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT')
1019 @DocsEditable 1019 @DocsEditable()
1020 static const int COLOR_BUFFER_BIT = 0x00004000; 1020 static const int COLOR_BUFFER_BIT = 0x00004000;
1021 1021
1022 @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE') 1022 @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE')
1023 @DocsEditable 1023 @DocsEditable()
1024 static const int COLOR_CLEAR_VALUE = 0x0C22; 1024 static const int COLOR_CLEAR_VALUE = 0x0C22;
1025 1025
1026 @DomName('WebGLRenderingContext.COLOR_WRITEMASK') 1026 @DomName('WebGLRenderingContext.COLOR_WRITEMASK')
1027 @DocsEditable 1027 @DocsEditable()
1028 static const int COLOR_WRITEMASK = 0x0C23; 1028 static const int COLOR_WRITEMASK = 0x0C23;
1029 1029
1030 @DomName('WebGLRenderingContext.COMPILE_STATUS') 1030 @DomName('WebGLRenderingContext.COMPILE_STATUS')
1031 @DocsEditable 1031 @DocsEditable()
1032 static const int COMPILE_STATUS = 0x8B81; 1032 static const int COMPILE_STATUS = 0x8B81;
1033 1033
1034 @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS') 1034 @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS')
1035 @DocsEditable 1035 @DocsEditable()
1036 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; 1036 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
1037 1037
1038 @DomName('WebGLRenderingContext.CONSTANT_ALPHA') 1038 @DomName('WebGLRenderingContext.CONSTANT_ALPHA')
1039 @DocsEditable 1039 @DocsEditable()
1040 static const int CONSTANT_ALPHA = 0x8003; 1040 static const int CONSTANT_ALPHA = 0x8003;
1041 1041
1042 @DomName('WebGLRenderingContext.CONSTANT_COLOR') 1042 @DomName('WebGLRenderingContext.CONSTANT_COLOR')
1043 @DocsEditable 1043 @DocsEditable()
1044 static const int CONSTANT_COLOR = 0x8001; 1044 static const int CONSTANT_COLOR = 0x8001;
1045 1045
1046 @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL') 1046 @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL')
1047 @DocsEditable 1047 @DocsEditable()
1048 static const int CONTEXT_LOST_WEBGL = 0x9242; 1048 static const int CONTEXT_LOST_WEBGL = 0x9242;
1049 1049
1050 @DomName('WebGLRenderingContext.CULL_FACE') 1050 @DomName('WebGLRenderingContext.CULL_FACE')
1051 @DocsEditable 1051 @DocsEditable()
1052 static const int CULL_FACE = 0x0B44; 1052 static const int CULL_FACE = 0x0B44;
1053 1053
1054 @DomName('WebGLRenderingContext.CULL_FACE_MODE') 1054 @DomName('WebGLRenderingContext.CULL_FACE_MODE')
1055 @DocsEditable 1055 @DocsEditable()
1056 static const int CULL_FACE_MODE = 0x0B45; 1056 static const int CULL_FACE_MODE = 0x0B45;
1057 1057
1058 @DomName('WebGLRenderingContext.CURRENT_PROGRAM') 1058 @DomName('WebGLRenderingContext.CURRENT_PROGRAM')
1059 @DocsEditable 1059 @DocsEditable()
1060 static const int CURRENT_PROGRAM = 0x8B8D; 1060 static const int CURRENT_PROGRAM = 0x8B8D;
1061 1061
1062 @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB') 1062 @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB')
1063 @DocsEditable 1063 @DocsEditable()
1064 static const int CURRENT_VERTEX_ATTRIB = 0x8626; 1064 static const int CURRENT_VERTEX_ATTRIB = 0x8626;
1065 1065
1066 @DomName('WebGLRenderingContext.CW') 1066 @DomName('WebGLRenderingContext.CW')
1067 @DocsEditable 1067 @DocsEditable()
1068 static const int CW = 0x0900; 1068 static const int CW = 0x0900;
1069 1069
1070 @DomName('WebGLRenderingContext.DECR') 1070 @DomName('WebGLRenderingContext.DECR')
1071 @DocsEditable 1071 @DocsEditable()
1072 static const int DECR = 0x1E03; 1072 static const int DECR = 0x1E03;
1073 1073
1074 @DomName('WebGLRenderingContext.DECR_WRAP') 1074 @DomName('WebGLRenderingContext.DECR_WRAP')
1075 @DocsEditable 1075 @DocsEditable()
1076 static const int DECR_WRAP = 0x8508; 1076 static const int DECR_WRAP = 0x8508;
1077 1077
1078 @DomName('WebGLRenderingContext.DELETE_STATUS') 1078 @DomName('WebGLRenderingContext.DELETE_STATUS')
1079 @DocsEditable 1079 @DocsEditable()
1080 static const int DELETE_STATUS = 0x8B80; 1080 static const int DELETE_STATUS = 0x8B80;
1081 1081
1082 @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT') 1082 @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT')
1083 @DocsEditable 1083 @DocsEditable()
1084 static const int DEPTH_ATTACHMENT = 0x8D00; 1084 static const int DEPTH_ATTACHMENT = 0x8D00;
1085 1085
1086 @DomName('WebGLRenderingContext.DEPTH_BITS') 1086 @DomName('WebGLRenderingContext.DEPTH_BITS')
1087 @DocsEditable 1087 @DocsEditable()
1088 static const int DEPTH_BITS = 0x0D56; 1088 static const int DEPTH_BITS = 0x0D56;
1089 1089
1090 @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT') 1090 @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT')
1091 @DocsEditable 1091 @DocsEditable()
1092 static const int DEPTH_BUFFER_BIT = 0x00000100; 1092 static const int DEPTH_BUFFER_BIT = 0x00000100;
1093 1093
1094 @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE') 1094 @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE')
1095 @DocsEditable 1095 @DocsEditable()
1096 static const int DEPTH_CLEAR_VALUE = 0x0B73; 1096 static const int DEPTH_CLEAR_VALUE = 0x0B73;
1097 1097
1098 @DomName('WebGLRenderingContext.DEPTH_COMPONENT') 1098 @DomName('WebGLRenderingContext.DEPTH_COMPONENT')
1099 @DocsEditable 1099 @DocsEditable()
1100 static const int DEPTH_COMPONENT = 0x1902; 1100 static const int DEPTH_COMPONENT = 0x1902;
1101 1101
1102 @DomName('WebGLRenderingContext.DEPTH_COMPONENT16') 1102 @DomName('WebGLRenderingContext.DEPTH_COMPONENT16')
1103 @DocsEditable 1103 @DocsEditable()
1104 static const int DEPTH_COMPONENT16 = 0x81A5; 1104 static const int DEPTH_COMPONENT16 = 0x81A5;
1105 1105
1106 @DomName('WebGLRenderingContext.DEPTH_FUNC') 1106 @DomName('WebGLRenderingContext.DEPTH_FUNC')
1107 @DocsEditable 1107 @DocsEditable()
1108 static const int DEPTH_FUNC = 0x0B74; 1108 static const int DEPTH_FUNC = 0x0B74;
1109 1109
1110 @DomName('WebGLRenderingContext.DEPTH_RANGE') 1110 @DomName('WebGLRenderingContext.DEPTH_RANGE')
1111 @DocsEditable 1111 @DocsEditable()
1112 static const int DEPTH_RANGE = 0x0B70; 1112 static const int DEPTH_RANGE = 0x0B70;
1113 1113
1114 @DomName('WebGLRenderingContext.DEPTH_STENCIL') 1114 @DomName('WebGLRenderingContext.DEPTH_STENCIL')
1115 @DocsEditable 1115 @DocsEditable()
1116 static const int DEPTH_STENCIL = 0x84F9; 1116 static const int DEPTH_STENCIL = 0x84F9;
1117 1117
1118 @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT') 1118 @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT')
1119 @DocsEditable 1119 @DocsEditable()
1120 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; 1120 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A;
1121 1121
1122 @DomName('WebGLRenderingContext.DEPTH_TEST') 1122 @DomName('WebGLRenderingContext.DEPTH_TEST')
1123 @DocsEditable 1123 @DocsEditable()
1124 static const int DEPTH_TEST = 0x0B71; 1124 static const int DEPTH_TEST = 0x0B71;
1125 1125
1126 @DomName('WebGLRenderingContext.DEPTH_WRITEMASK') 1126 @DomName('WebGLRenderingContext.DEPTH_WRITEMASK')
1127 @DocsEditable 1127 @DocsEditable()
1128 static const int DEPTH_WRITEMASK = 0x0B72; 1128 static const int DEPTH_WRITEMASK = 0x0B72;
1129 1129
1130 @DomName('WebGLRenderingContext.DITHER') 1130 @DomName('WebGLRenderingContext.DITHER')
1131 @DocsEditable 1131 @DocsEditable()
1132 static const int DITHER = 0x0BD0; 1132 static const int DITHER = 0x0BD0;
1133 1133
1134 @DomName('WebGLRenderingContext.DONT_CARE') 1134 @DomName('WebGLRenderingContext.DONT_CARE')
1135 @DocsEditable 1135 @DocsEditable()
1136 static const int DONT_CARE = 0x1100; 1136 static const int DONT_CARE = 0x1100;
1137 1137
1138 @DomName('WebGLRenderingContext.DST_ALPHA') 1138 @DomName('WebGLRenderingContext.DST_ALPHA')
1139 @DocsEditable 1139 @DocsEditable()
1140 static const int DST_ALPHA = 0x0304; 1140 static const int DST_ALPHA = 0x0304;
1141 1141
1142 @DomName('WebGLRenderingContext.DST_COLOR') 1142 @DomName('WebGLRenderingContext.DST_COLOR')
1143 @DocsEditable 1143 @DocsEditable()
1144 static const int DST_COLOR = 0x0306; 1144 static const int DST_COLOR = 0x0306;
1145 1145
1146 @DomName('WebGLRenderingContext.DYNAMIC_DRAW') 1146 @DomName('WebGLRenderingContext.DYNAMIC_DRAW')
1147 @DocsEditable 1147 @DocsEditable()
1148 static const int DYNAMIC_DRAW = 0x88E8; 1148 static const int DYNAMIC_DRAW = 0x88E8;
1149 1149
1150 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER') 1150 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER')
1151 @DocsEditable 1151 @DocsEditable()
1152 static const int ELEMENT_ARRAY_BUFFER = 0x8893; 1152 static const int ELEMENT_ARRAY_BUFFER = 0x8893;
1153 1153
1154 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING') 1154 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING')
1155 @DocsEditable 1155 @DocsEditable()
1156 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; 1156 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
1157 1157
1158 @DomName('WebGLRenderingContext.EQUAL') 1158 @DomName('WebGLRenderingContext.EQUAL')
1159 @DocsEditable 1159 @DocsEditable()
1160 static const int EQUAL = 0x0202; 1160 static const int EQUAL = 0x0202;
1161 1161
1162 @DomName('WebGLRenderingContext.FASTEST') 1162 @DomName('WebGLRenderingContext.FASTEST')
1163 @DocsEditable 1163 @DocsEditable()
1164 static const int FASTEST = 0x1101; 1164 static const int FASTEST = 0x1101;
1165 1165
1166 @DomName('WebGLRenderingContext.FLOAT') 1166 @DomName('WebGLRenderingContext.FLOAT')
1167 @DocsEditable 1167 @DocsEditable()
1168 static const int FLOAT = 0x1406; 1168 static const int FLOAT = 0x1406;
1169 1169
1170 @DomName('WebGLRenderingContext.FLOAT_MAT2') 1170 @DomName('WebGLRenderingContext.FLOAT_MAT2')
1171 @DocsEditable 1171 @DocsEditable()
1172 static const int FLOAT_MAT2 = 0x8B5A; 1172 static const int FLOAT_MAT2 = 0x8B5A;
1173 1173
1174 @DomName('WebGLRenderingContext.FLOAT_MAT3') 1174 @DomName('WebGLRenderingContext.FLOAT_MAT3')
1175 @DocsEditable 1175 @DocsEditable()
1176 static const int FLOAT_MAT3 = 0x8B5B; 1176 static const int FLOAT_MAT3 = 0x8B5B;
1177 1177
1178 @DomName('WebGLRenderingContext.FLOAT_MAT4') 1178 @DomName('WebGLRenderingContext.FLOAT_MAT4')
1179 @DocsEditable 1179 @DocsEditable()
1180 static const int FLOAT_MAT4 = 0x8B5C; 1180 static const int FLOAT_MAT4 = 0x8B5C;
1181 1181
1182 @DomName('WebGLRenderingContext.FLOAT_VEC2') 1182 @DomName('WebGLRenderingContext.FLOAT_VEC2')
1183 @DocsEditable 1183 @DocsEditable()
1184 static const int FLOAT_VEC2 = 0x8B50; 1184 static const int FLOAT_VEC2 = 0x8B50;
1185 1185
1186 @DomName('WebGLRenderingContext.FLOAT_VEC3') 1186 @DomName('WebGLRenderingContext.FLOAT_VEC3')
1187 @DocsEditable 1187 @DocsEditable()
1188 static const int FLOAT_VEC3 = 0x8B51; 1188 static const int FLOAT_VEC3 = 0x8B51;
1189 1189
1190 @DomName('WebGLRenderingContext.FLOAT_VEC4') 1190 @DomName('WebGLRenderingContext.FLOAT_VEC4')
1191 @DocsEditable 1191 @DocsEditable()
1192 static const int FLOAT_VEC4 = 0x8B52; 1192 static const int FLOAT_VEC4 = 0x8B52;
1193 1193
1194 @DomName('WebGLRenderingContext.FRAGMENT_SHADER') 1194 @DomName('WebGLRenderingContext.FRAGMENT_SHADER')
1195 @DocsEditable 1195 @DocsEditable()
1196 static const int FRAGMENT_SHADER = 0x8B30; 1196 static const int FRAGMENT_SHADER = 0x8B30;
1197 1197
1198 @DomName('WebGLRenderingContext.FRAMEBUFFER') 1198 @DomName('WebGLRenderingContext.FRAMEBUFFER')
1199 @DocsEditable 1199 @DocsEditable()
1200 static const int FRAMEBUFFER = 0x8D40; 1200 static const int FRAMEBUFFER = 0x8D40;
1201 1201
1202 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME') 1202 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME')
1203 @DocsEditable 1203 @DocsEditable()
1204 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; 1204 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
1205 1205
1206 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE') 1206 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE')
1207 @DocsEditable 1207 @DocsEditable()
1208 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; 1208 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
1209 1209
1210 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE') 1210 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE')
1211 @DocsEditable 1211 @DocsEditable()
1212 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; 1212 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
1213 1213
1214 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL') 1214 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL')
1215 @DocsEditable 1215 @DocsEditable()
1216 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; 1216 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
1217 1217
1218 @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING') 1218 @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING')
1219 @DocsEditable 1219 @DocsEditable()
1220 static const int FRAMEBUFFER_BINDING = 0x8CA6; 1220 static const int FRAMEBUFFER_BINDING = 0x8CA6;
1221 1221
1222 @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE') 1222 @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE')
1223 @DocsEditable 1223 @DocsEditable()
1224 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; 1224 static const int FRAMEBUFFER_COMPLETE = 0x8CD5;
1225 1225
1226 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT') 1226 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT')
1227 @DocsEditable 1227 @DocsEditable()
1228 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; 1228 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
1229 1229
1230 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS') 1230 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS')
1231 @DocsEditable 1231 @DocsEditable()
1232 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; 1232 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
1233 1233
1234 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT') 1234 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT')
1235 @DocsEditable 1235 @DocsEditable()
1236 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; 1236 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
1237 1237
1238 @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED') 1238 @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED')
1239 @DocsEditable 1239 @DocsEditable()
1240 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; 1240 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
1241 1241
1242 @DomName('WebGLRenderingContext.FRONT') 1242 @DomName('WebGLRenderingContext.FRONT')
1243 @DocsEditable 1243 @DocsEditable()
1244 static const int FRONT = 0x0404; 1244 static const int FRONT = 0x0404;
1245 1245
1246 @DomName('WebGLRenderingContext.FRONT_AND_BACK') 1246 @DomName('WebGLRenderingContext.FRONT_AND_BACK')
1247 @DocsEditable 1247 @DocsEditable()
1248 static const int FRONT_AND_BACK = 0x0408; 1248 static const int FRONT_AND_BACK = 0x0408;
1249 1249
1250 @DomName('WebGLRenderingContext.FRONT_FACE') 1250 @DomName('WebGLRenderingContext.FRONT_FACE')
1251 @DocsEditable 1251 @DocsEditable()
1252 static const int FRONT_FACE = 0x0B46; 1252 static const int FRONT_FACE = 0x0B46;
1253 1253
1254 @DomName('WebGLRenderingContext.FUNC_ADD') 1254 @DomName('WebGLRenderingContext.FUNC_ADD')
1255 @DocsEditable 1255 @DocsEditable()
1256 static const int FUNC_ADD = 0x8006; 1256 static const int FUNC_ADD = 0x8006;
1257 1257
1258 @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT') 1258 @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT')
1259 @DocsEditable 1259 @DocsEditable()
1260 static const int FUNC_REVERSE_SUBTRACT = 0x800B; 1260 static const int FUNC_REVERSE_SUBTRACT = 0x800B;
1261 1261
1262 @DomName('WebGLRenderingContext.FUNC_SUBTRACT') 1262 @DomName('WebGLRenderingContext.FUNC_SUBTRACT')
1263 @DocsEditable 1263 @DocsEditable()
1264 static const int FUNC_SUBTRACT = 0x800A; 1264 static const int FUNC_SUBTRACT = 0x800A;
1265 1265
1266 @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT') 1266 @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT')
1267 @DocsEditable 1267 @DocsEditable()
1268 static const int GENERATE_MIPMAP_HINT = 0x8192; 1268 static const int GENERATE_MIPMAP_HINT = 0x8192;
1269 1269
1270 @DomName('WebGLRenderingContext.GEQUAL') 1270 @DomName('WebGLRenderingContext.GEQUAL')
1271 @DocsEditable 1271 @DocsEditable()
1272 static const int GEQUAL = 0x0206; 1272 static const int GEQUAL = 0x0206;
1273 1273
1274 @DomName('WebGLRenderingContext.GREATER') 1274 @DomName('WebGLRenderingContext.GREATER')
1275 @DocsEditable 1275 @DocsEditable()
1276 static const int GREATER = 0x0204; 1276 static const int GREATER = 0x0204;
1277 1277
1278 @DomName('WebGLRenderingContext.GREEN_BITS') 1278 @DomName('WebGLRenderingContext.GREEN_BITS')
1279 @DocsEditable 1279 @DocsEditable()
1280 static const int GREEN_BITS = 0x0D53; 1280 static const int GREEN_BITS = 0x0D53;
1281 1281
1282 @DomName('WebGLRenderingContext.HIGH_FLOAT') 1282 @DomName('WebGLRenderingContext.HIGH_FLOAT')
1283 @DocsEditable 1283 @DocsEditable()
1284 static const int HIGH_FLOAT = 0x8DF2; 1284 static const int HIGH_FLOAT = 0x8DF2;
1285 1285
1286 @DomName('WebGLRenderingContext.HIGH_INT') 1286 @DomName('WebGLRenderingContext.HIGH_INT')
1287 @DocsEditable 1287 @DocsEditable()
1288 static const int HIGH_INT = 0x8DF5; 1288 static const int HIGH_INT = 0x8DF5;
1289 1289
1290 @DomName('WebGLRenderingContext.INCR') 1290 @DomName('WebGLRenderingContext.INCR')
1291 @DocsEditable 1291 @DocsEditable()
1292 static const int INCR = 0x1E02; 1292 static const int INCR = 0x1E02;
1293 1293
1294 @DomName('WebGLRenderingContext.INCR_WRAP') 1294 @DomName('WebGLRenderingContext.INCR_WRAP')
1295 @DocsEditable 1295 @DocsEditable()
1296 static const int INCR_WRAP = 0x8507; 1296 static const int INCR_WRAP = 0x8507;
1297 1297
1298 @DomName('WebGLRenderingContext.INT') 1298 @DomName('WebGLRenderingContext.INT')
1299 @DocsEditable 1299 @DocsEditable()
1300 static const int INT = 0x1404; 1300 static const int INT = 0x1404;
1301 1301
1302 @DomName('WebGLRenderingContext.INT_VEC2') 1302 @DomName('WebGLRenderingContext.INT_VEC2')
1303 @DocsEditable 1303 @DocsEditable()
1304 static const int INT_VEC2 = 0x8B53; 1304 static const int INT_VEC2 = 0x8B53;
1305 1305
1306 @DomName('WebGLRenderingContext.INT_VEC3') 1306 @DomName('WebGLRenderingContext.INT_VEC3')
1307 @DocsEditable 1307 @DocsEditable()
1308 static const int INT_VEC3 = 0x8B54; 1308 static const int INT_VEC3 = 0x8B54;
1309 1309
1310 @DomName('WebGLRenderingContext.INT_VEC4') 1310 @DomName('WebGLRenderingContext.INT_VEC4')
1311 @DocsEditable 1311 @DocsEditable()
1312 static const int INT_VEC4 = 0x8B55; 1312 static const int INT_VEC4 = 0x8B55;
1313 1313
1314 @DomName('WebGLRenderingContext.INVALID_ENUM') 1314 @DomName('WebGLRenderingContext.INVALID_ENUM')
1315 @DocsEditable 1315 @DocsEditable()
1316 static const int INVALID_ENUM = 0x0500; 1316 static const int INVALID_ENUM = 0x0500;
1317 1317
1318 @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION') 1318 @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION')
1319 @DocsEditable 1319 @DocsEditable()
1320 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; 1320 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
1321 1321
1322 @DomName('WebGLRenderingContext.INVALID_OPERATION') 1322 @DomName('WebGLRenderingContext.INVALID_OPERATION')
1323 @DocsEditable 1323 @DocsEditable()
1324 static const int INVALID_OPERATION = 0x0502; 1324 static const int INVALID_OPERATION = 0x0502;
1325 1325
1326 @DomName('WebGLRenderingContext.INVALID_VALUE') 1326 @DomName('WebGLRenderingContext.INVALID_VALUE')
1327 @DocsEditable 1327 @DocsEditable()
1328 static const int INVALID_VALUE = 0x0501; 1328 static const int INVALID_VALUE = 0x0501;
1329 1329
1330 @DomName('WebGLRenderingContext.INVERT') 1330 @DomName('WebGLRenderingContext.INVERT')
1331 @DocsEditable 1331 @DocsEditable()
1332 static const int INVERT = 0x150A; 1332 static const int INVERT = 0x150A;
1333 1333
1334 @DomName('WebGLRenderingContext.KEEP') 1334 @DomName('WebGLRenderingContext.KEEP')
1335 @DocsEditable 1335 @DocsEditable()
1336 static const int KEEP = 0x1E00; 1336 static const int KEEP = 0x1E00;
1337 1337
1338 @DomName('WebGLRenderingContext.LEQUAL') 1338 @DomName('WebGLRenderingContext.LEQUAL')
1339 @DocsEditable 1339 @DocsEditable()
1340 static const int LEQUAL = 0x0203; 1340 static const int LEQUAL = 0x0203;
1341 1341
1342 @DomName('WebGLRenderingContext.LESS') 1342 @DomName('WebGLRenderingContext.LESS')
1343 @DocsEditable 1343 @DocsEditable()
1344 static const int LESS = 0x0201; 1344 static const int LESS = 0x0201;
1345 1345
1346 @DomName('WebGLRenderingContext.LINEAR') 1346 @DomName('WebGLRenderingContext.LINEAR')
1347 @DocsEditable 1347 @DocsEditable()
1348 static const int LINEAR = 0x2601; 1348 static const int LINEAR = 0x2601;
1349 1349
1350 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR') 1350 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR')
1351 @DocsEditable 1351 @DocsEditable()
1352 static const int LINEAR_MIPMAP_LINEAR = 0x2703; 1352 static const int LINEAR_MIPMAP_LINEAR = 0x2703;
1353 1353
1354 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST') 1354 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST')
1355 @DocsEditable 1355 @DocsEditable()
1356 static const int LINEAR_MIPMAP_NEAREST = 0x2701; 1356 static const int LINEAR_MIPMAP_NEAREST = 0x2701;
1357 1357
1358 @DomName('WebGLRenderingContext.LINES') 1358 @DomName('WebGLRenderingContext.LINES')
1359 @DocsEditable 1359 @DocsEditable()
1360 static const int LINES = 0x0001; 1360 static const int LINES = 0x0001;
1361 1361
1362 @DomName('WebGLRenderingContext.LINE_LOOP') 1362 @DomName('WebGLRenderingContext.LINE_LOOP')
1363 @DocsEditable 1363 @DocsEditable()
1364 static const int LINE_LOOP = 0x0002; 1364 static const int LINE_LOOP = 0x0002;
1365 1365
1366 @DomName('WebGLRenderingContext.LINE_STRIP') 1366 @DomName('WebGLRenderingContext.LINE_STRIP')
1367 @DocsEditable 1367 @DocsEditable()
1368 static const int LINE_STRIP = 0x0003; 1368 static const int LINE_STRIP = 0x0003;
1369 1369
1370 @DomName('WebGLRenderingContext.LINE_WIDTH') 1370 @DomName('WebGLRenderingContext.LINE_WIDTH')
1371 @DocsEditable 1371 @DocsEditable()
1372 static const int LINE_WIDTH = 0x0B21; 1372 static const int LINE_WIDTH = 0x0B21;
1373 1373
1374 @DomName('WebGLRenderingContext.LINK_STATUS') 1374 @DomName('WebGLRenderingContext.LINK_STATUS')
1375 @DocsEditable 1375 @DocsEditable()
1376 static const int LINK_STATUS = 0x8B82; 1376 static const int LINK_STATUS = 0x8B82;
1377 1377
1378 @DomName('WebGLRenderingContext.LOW_FLOAT') 1378 @DomName('WebGLRenderingContext.LOW_FLOAT')
1379 @DocsEditable 1379 @DocsEditable()
1380 static const int LOW_FLOAT = 0x8DF0; 1380 static const int LOW_FLOAT = 0x8DF0;
1381 1381
1382 @DomName('WebGLRenderingContext.LOW_INT') 1382 @DomName('WebGLRenderingContext.LOW_INT')
1383 @DocsEditable 1383 @DocsEditable()
1384 static const int LOW_INT = 0x8DF3; 1384 static const int LOW_INT = 0x8DF3;
1385 1385
1386 @DomName('WebGLRenderingContext.LUMINANCE') 1386 @DomName('WebGLRenderingContext.LUMINANCE')
1387 @DocsEditable 1387 @DocsEditable()
1388 static const int LUMINANCE = 0x1909; 1388 static const int LUMINANCE = 0x1909;
1389 1389
1390 @DomName('WebGLRenderingContext.LUMINANCE_ALPHA') 1390 @DomName('WebGLRenderingContext.LUMINANCE_ALPHA')
1391 @DocsEditable 1391 @DocsEditable()
1392 static const int LUMINANCE_ALPHA = 0x190A; 1392 static const int LUMINANCE_ALPHA = 0x190A;
1393 1393
1394 @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS') 1394 @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS')
1395 @DocsEditable 1395 @DocsEditable()
1396 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; 1396 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
1397 1397
1398 @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE') 1398 @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE')
1399 @DocsEditable 1399 @DocsEditable()
1400 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; 1400 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
1401 1401
1402 @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS') 1402 @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS')
1403 @DocsEditable 1403 @DocsEditable()
1404 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; 1404 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
1405 1405
1406 @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE') 1406 @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE')
1407 @DocsEditable 1407 @DocsEditable()
1408 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; 1408 static const int MAX_RENDERBUFFER_SIZE = 0x84E8;
1409 1409
1410 @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS') 1410 @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS')
1411 @DocsEditable 1411 @DocsEditable()
1412 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; 1412 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
1413 1413
1414 @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE') 1414 @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE')
1415 @DocsEditable 1415 @DocsEditable()
1416 static const int MAX_TEXTURE_SIZE = 0x0D33; 1416 static const int MAX_TEXTURE_SIZE = 0x0D33;
1417 1417
1418 @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS') 1418 @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS')
1419 @DocsEditable 1419 @DocsEditable()
1420 static const int MAX_VARYING_VECTORS = 0x8DFC; 1420 static const int MAX_VARYING_VECTORS = 0x8DFC;
1421 1421
1422 @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS') 1422 @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS')
1423 @DocsEditable 1423 @DocsEditable()
1424 static const int MAX_VERTEX_ATTRIBS = 0x8869; 1424 static const int MAX_VERTEX_ATTRIBS = 0x8869;
1425 1425
1426 @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS') 1426 @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS')
1427 @DocsEditable 1427 @DocsEditable()
1428 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; 1428 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
1429 1429
1430 @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS') 1430 @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS')
1431 @DocsEditable 1431 @DocsEditable()
1432 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; 1432 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
1433 1433
1434 @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS') 1434 @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS')
1435 @DocsEditable 1435 @DocsEditable()
1436 static const int MAX_VIEWPORT_DIMS = 0x0D3A; 1436 static const int MAX_VIEWPORT_DIMS = 0x0D3A;
1437 1437
1438 @DomName('WebGLRenderingContext.MEDIUM_FLOAT') 1438 @DomName('WebGLRenderingContext.MEDIUM_FLOAT')
1439 @DocsEditable 1439 @DocsEditable()
1440 static const int MEDIUM_FLOAT = 0x8DF1; 1440 static const int MEDIUM_FLOAT = 0x8DF1;
1441 1441
1442 @DomName('WebGLRenderingContext.MEDIUM_INT') 1442 @DomName('WebGLRenderingContext.MEDIUM_INT')
1443 @DocsEditable 1443 @DocsEditable()
1444 static const int MEDIUM_INT = 0x8DF4; 1444 static const int MEDIUM_INT = 0x8DF4;
1445 1445
1446 @DomName('WebGLRenderingContext.MIRRORED_REPEAT') 1446 @DomName('WebGLRenderingContext.MIRRORED_REPEAT')
1447 @DocsEditable 1447 @DocsEditable()
1448 static const int MIRRORED_REPEAT = 0x8370; 1448 static const int MIRRORED_REPEAT = 0x8370;
1449 1449
1450 @DomName('WebGLRenderingContext.NEAREST') 1450 @DomName('WebGLRenderingContext.NEAREST')
1451 @DocsEditable 1451 @DocsEditable()
1452 static const int NEAREST = 0x2600; 1452 static const int NEAREST = 0x2600;
1453 1453
1454 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR') 1454 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR')
1455 @DocsEditable 1455 @DocsEditable()
1456 static const int NEAREST_MIPMAP_LINEAR = 0x2702; 1456 static const int NEAREST_MIPMAP_LINEAR = 0x2702;
1457 1457
1458 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST') 1458 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST')
1459 @DocsEditable 1459 @DocsEditable()
1460 static const int NEAREST_MIPMAP_NEAREST = 0x2700; 1460 static const int NEAREST_MIPMAP_NEAREST = 0x2700;
1461 1461
1462 @DomName('WebGLRenderingContext.NEVER') 1462 @DomName('WebGLRenderingContext.NEVER')
1463 @DocsEditable 1463 @DocsEditable()
1464 static const int NEVER = 0x0200; 1464 static const int NEVER = 0x0200;
1465 1465
1466 @DomName('WebGLRenderingContext.NICEST') 1466 @DomName('WebGLRenderingContext.NICEST')
1467 @DocsEditable 1467 @DocsEditable()
1468 static const int NICEST = 0x1102; 1468 static const int NICEST = 0x1102;
1469 1469
1470 @DomName('WebGLRenderingContext.NONE') 1470 @DomName('WebGLRenderingContext.NONE')
1471 @DocsEditable 1471 @DocsEditable()
1472 static const int NONE = 0; 1472 static const int NONE = 0;
1473 1473
1474 @DomName('WebGLRenderingContext.NOTEQUAL') 1474 @DomName('WebGLRenderingContext.NOTEQUAL')
1475 @DocsEditable 1475 @DocsEditable()
1476 static const int NOTEQUAL = 0x0205; 1476 static const int NOTEQUAL = 0x0205;
1477 1477
1478 @DomName('WebGLRenderingContext.NO_ERROR') 1478 @DomName('WebGLRenderingContext.NO_ERROR')
1479 @DocsEditable 1479 @DocsEditable()
1480 static const int NO_ERROR = 0; 1480 static const int NO_ERROR = 0;
1481 1481
1482 @DomName('WebGLRenderingContext.ONE') 1482 @DomName('WebGLRenderingContext.ONE')
1483 @DocsEditable 1483 @DocsEditable()
1484 static const int ONE = 1; 1484 static const int ONE = 1;
1485 1485
1486 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA') 1486 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA')
1487 @DocsEditable 1487 @DocsEditable()
1488 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; 1488 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
1489 1489
1490 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR') 1490 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR')
1491 @DocsEditable 1491 @DocsEditable()
1492 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; 1492 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002;
1493 1493
1494 @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA') 1494 @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA')
1495 @DocsEditable 1495 @DocsEditable()
1496 static const int ONE_MINUS_DST_ALPHA = 0x0305; 1496 static const int ONE_MINUS_DST_ALPHA = 0x0305;
1497 1497
1498 @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR') 1498 @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR')
1499 @DocsEditable 1499 @DocsEditable()
1500 static const int ONE_MINUS_DST_COLOR = 0x0307; 1500 static const int ONE_MINUS_DST_COLOR = 0x0307;
1501 1501
1502 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA') 1502 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA')
1503 @DocsEditable 1503 @DocsEditable()
1504 static const int ONE_MINUS_SRC_ALPHA = 0x0303; 1504 static const int ONE_MINUS_SRC_ALPHA = 0x0303;
1505 1505
1506 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR') 1506 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR')
1507 @DocsEditable 1507 @DocsEditable()
1508 static const int ONE_MINUS_SRC_COLOR = 0x0301; 1508 static const int ONE_MINUS_SRC_COLOR = 0x0301;
1509 1509
1510 @DomName('WebGLRenderingContext.OUT_OF_MEMORY') 1510 @DomName('WebGLRenderingContext.OUT_OF_MEMORY')
1511 @DocsEditable 1511 @DocsEditable()
1512 static const int OUT_OF_MEMORY = 0x0505; 1512 static const int OUT_OF_MEMORY = 0x0505;
1513 1513
1514 @DomName('WebGLRenderingContext.PACK_ALIGNMENT') 1514 @DomName('WebGLRenderingContext.PACK_ALIGNMENT')
1515 @DocsEditable 1515 @DocsEditable()
1516 static const int PACK_ALIGNMENT = 0x0D05; 1516 static const int PACK_ALIGNMENT = 0x0D05;
1517 1517
1518 @DomName('WebGLRenderingContext.POINTS') 1518 @DomName('WebGLRenderingContext.POINTS')
1519 @DocsEditable 1519 @DocsEditable()
1520 static const int POINTS = 0x0000; 1520 static const int POINTS = 0x0000;
1521 1521
1522 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR') 1522 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR')
1523 @DocsEditable 1523 @DocsEditable()
1524 static const int POLYGON_OFFSET_FACTOR = 0x8038; 1524 static const int POLYGON_OFFSET_FACTOR = 0x8038;
1525 1525
1526 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL') 1526 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL')
1527 @DocsEditable 1527 @DocsEditable()
1528 static const int POLYGON_OFFSET_FILL = 0x8037; 1528 static const int POLYGON_OFFSET_FILL = 0x8037;
1529 1529
1530 @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS') 1530 @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS')
1531 @DocsEditable 1531 @DocsEditable()
1532 static const int POLYGON_OFFSET_UNITS = 0x2A00; 1532 static const int POLYGON_OFFSET_UNITS = 0x2A00;
1533 1533
1534 @DomName('WebGLRenderingContext.RED_BITS') 1534 @DomName('WebGLRenderingContext.RED_BITS')
1535 @DocsEditable 1535 @DocsEditable()
1536 static const int RED_BITS = 0x0D52; 1536 static const int RED_BITS = 0x0D52;
1537 1537
1538 @DomName('WebGLRenderingContext.RENDERBUFFER') 1538 @DomName('WebGLRenderingContext.RENDERBUFFER')
1539 @DocsEditable 1539 @DocsEditable()
1540 static const int RENDERBUFFER = 0x8D41; 1540 static const int RENDERBUFFER = 0x8D41;
1541 1541
1542 @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE') 1542 @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE')
1543 @DocsEditable 1543 @DocsEditable()
1544 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; 1544 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
1545 1545
1546 @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING') 1546 @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING')
1547 @DocsEditable 1547 @DocsEditable()
1548 static const int RENDERBUFFER_BINDING = 0x8CA7; 1548 static const int RENDERBUFFER_BINDING = 0x8CA7;
1549 1549
1550 @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE') 1550 @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE')
1551 @DocsEditable 1551 @DocsEditable()
1552 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; 1552 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52;
1553 1553
1554 @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE') 1554 @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE')
1555 @DocsEditable 1555 @DocsEditable()
1556 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; 1556 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
1557 1557
1558 @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE') 1558 @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE')
1559 @DocsEditable 1559 @DocsEditable()
1560 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; 1560 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51;
1561 1561
1562 @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT') 1562 @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT')
1563 @DocsEditable 1563 @DocsEditable()
1564 static const int RENDERBUFFER_HEIGHT = 0x8D43; 1564 static const int RENDERBUFFER_HEIGHT = 0x8D43;
1565 1565
1566 @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT') 1566 @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT')
1567 @DocsEditable 1567 @DocsEditable()
1568 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; 1568 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
1569 1569
1570 @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE') 1570 @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE')
1571 @DocsEditable 1571 @DocsEditable()
1572 static const int RENDERBUFFER_RED_SIZE = 0x8D50; 1572 static const int RENDERBUFFER_RED_SIZE = 0x8D50;
1573 1573
1574 @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE') 1574 @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE')
1575 @DocsEditable 1575 @DocsEditable()
1576 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; 1576 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
1577 1577
1578 @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH') 1578 @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH')
1579 @DocsEditable 1579 @DocsEditable()
1580 static const int RENDERBUFFER_WIDTH = 0x8D42; 1580 static const int RENDERBUFFER_WIDTH = 0x8D42;
1581 1581
1582 @DomName('WebGLRenderingContext.RENDERER') 1582 @DomName('WebGLRenderingContext.RENDERER')
1583 @DocsEditable 1583 @DocsEditable()
1584 static const int RENDERER = 0x1F01; 1584 static const int RENDERER = 0x1F01;
1585 1585
1586 @DomName('WebGLRenderingContext.REPEAT') 1586 @DomName('WebGLRenderingContext.REPEAT')
1587 @DocsEditable 1587 @DocsEditable()
1588 static const int REPEAT = 0x2901; 1588 static const int REPEAT = 0x2901;
1589 1589
1590 @DomName('WebGLRenderingContext.REPLACE') 1590 @DomName('WebGLRenderingContext.REPLACE')
1591 @DocsEditable 1591 @DocsEditable()
1592 static const int REPLACE = 0x1E01; 1592 static const int REPLACE = 0x1E01;
1593 1593
1594 @DomName('WebGLRenderingContext.RGB') 1594 @DomName('WebGLRenderingContext.RGB')
1595 @DocsEditable 1595 @DocsEditable()
1596 static const int RGB = 0x1907; 1596 static const int RGB = 0x1907;
1597 1597
1598 @DomName('WebGLRenderingContext.RGB565') 1598 @DomName('WebGLRenderingContext.RGB565')
1599 @DocsEditable 1599 @DocsEditable()
1600 static const int RGB565 = 0x8D62; 1600 static const int RGB565 = 0x8D62;
1601 1601
1602 @DomName('WebGLRenderingContext.RGB5_A1') 1602 @DomName('WebGLRenderingContext.RGB5_A1')
1603 @DocsEditable 1603 @DocsEditable()
1604 static const int RGB5_A1 = 0x8057; 1604 static const int RGB5_A1 = 0x8057;
1605 1605
1606 @DomName('WebGLRenderingContext.RGBA') 1606 @DomName('WebGLRenderingContext.RGBA')
1607 @DocsEditable 1607 @DocsEditable()
1608 static const int RGBA = 0x1908; 1608 static const int RGBA = 0x1908;
1609 1609
1610 @DomName('WebGLRenderingContext.RGBA4') 1610 @DomName('WebGLRenderingContext.RGBA4')
1611 @DocsEditable 1611 @DocsEditable()
1612 static const int RGBA4 = 0x8056; 1612 static const int RGBA4 = 0x8056;
1613 1613
1614 @DomName('WebGLRenderingContext.SAMPLER_2D') 1614 @DomName('WebGLRenderingContext.SAMPLER_2D')
1615 @DocsEditable 1615 @DocsEditable()
1616 static const int SAMPLER_2D = 0x8B5E; 1616 static const int SAMPLER_2D = 0x8B5E;
1617 1617
1618 @DomName('WebGLRenderingContext.SAMPLER_CUBE') 1618 @DomName('WebGLRenderingContext.SAMPLER_CUBE')
1619 @DocsEditable 1619 @DocsEditable()
1620 static const int SAMPLER_CUBE = 0x8B60; 1620 static const int SAMPLER_CUBE = 0x8B60;
1621 1621
1622 @DomName('WebGLRenderingContext.SAMPLES') 1622 @DomName('WebGLRenderingContext.SAMPLES')
1623 @DocsEditable 1623 @DocsEditable()
1624 static const int SAMPLES = 0x80A9; 1624 static const int SAMPLES = 0x80A9;
1625 1625
1626 @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE') 1626 @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE')
1627 @DocsEditable 1627 @DocsEditable()
1628 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; 1628 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
1629 1629
1630 @DomName('WebGLRenderingContext.SAMPLE_BUFFERS') 1630 @DomName('WebGLRenderingContext.SAMPLE_BUFFERS')
1631 @DocsEditable 1631 @DocsEditable()
1632 static const int SAMPLE_BUFFERS = 0x80A8; 1632 static const int SAMPLE_BUFFERS = 0x80A8;
1633 1633
1634 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE') 1634 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE')
1635 @DocsEditable 1635 @DocsEditable()
1636 static const int SAMPLE_COVERAGE = 0x80A0; 1636 static const int SAMPLE_COVERAGE = 0x80A0;
1637 1637
1638 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT') 1638 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT')
1639 @DocsEditable 1639 @DocsEditable()
1640 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; 1640 static const int SAMPLE_COVERAGE_INVERT = 0x80AB;
1641 1641
1642 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE') 1642 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE')
1643 @DocsEditable 1643 @DocsEditable()
1644 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; 1644 static const int SAMPLE_COVERAGE_VALUE = 0x80AA;
1645 1645
1646 @DomName('WebGLRenderingContext.SCISSOR_BOX') 1646 @DomName('WebGLRenderingContext.SCISSOR_BOX')
1647 @DocsEditable 1647 @DocsEditable()
1648 static const int SCISSOR_BOX = 0x0C10; 1648 static const int SCISSOR_BOX = 0x0C10;
1649 1649
1650 @DomName('WebGLRenderingContext.SCISSOR_TEST') 1650 @DomName('WebGLRenderingContext.SCISSOR_TEST')
1651 @DocsEditable 1651 @DocsEditable()
1652 static const int SCISSOR_TEST = 0x0C11; 1652 static const int SCISSOR_TEST = 0x0C11;
1653 1653
1654 @DomName('WebGLRenderingContext.SHADER_TYPE') 1654 @DomName('WebGLRenderingContext.SHADER_TYPE')
1655 @DocsEditable 1655 @DocsEditable()
1656 static const int SHADER_TYPE = 0x8B4F; 1656 static const int SHADER_TYPE = 0x8B4F;
1657 1657
1658 @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION') 1658 @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION')
1659 @DocsEditable 1659 @DocsEditable()
1660 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; 1660 static const int SHADING_LANGUAGE_VERSION = 0x8B8C;
1661 1661
1662 @DomName('WebGLRenderingContext.SHORT') 1662 @DomName('WebGLRenderingContext.SHORT')
1663 @DocsEditable 1663 @DocsEditable()
1664 static const int SHORT = 0x1402; 1664 static const int SHORT = 0x1402;
1665 1665
1666 @DomName('WebGLRenderingContext.SRC_ALPHA') 1666 @DomName('WebGLRenderingContext.SRC_ALPHA')
1667 @DocsEditable 1667 @DocsEditable()
1668 static const int SRC_ALPHA = 0x0302; 1668 static const int SRC_ALPHA = 0x0302;
1669 1669
1670 @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE') 1670 @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE')
1671 @DocsEditable 1671 @DocsEditable()
1672 static const int SRC_ALPHA_SATURATE = 0x0308; 1672 static const int SRC_ALPHA_SATURATE = 0x0308;
1673 1673
1674 @DomName('WebGLRenderingContext.SRC_COLOR') 1674 @DomName('WebGLRenderingContext.SRC_COLOR')
1675 @DocsEditable 1675 @DocsEditable()
1676 static const int SRC_COLOR = 0x0300; 1676 static const int SRC_COLOR = 0x0300;
1677 1677
1678 @DomName('WebGLRenderingContext.STATIC_DRAW') 1678 @DomName('WebGLRenderingContext.STATIC_DRAW')
1679 @DocsEditable 1679 @DocsEditable()
1680 static const int STATIC_DRAW = 0x88E4; 1680 static const int STATIC_DRAW = 0x88E4;
1681 1681
1682 @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT') 1682 @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT')
1683 @DocsEditable 1683 @DocsEditable()
1684 static const int STENCIL_ATTACHMENT = 0x8D20; 1684 static const int STENCIL_ATTACHMENT = 0x8D20;
1685 1685
1686 @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL') 1686 @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL')
1687 @DocsEditable 1687 @DocsEditable()
1688 static const int STENCIL_BACK_FAIL = 0x8801; 1688 static const int STENCIL_BACK_FAIL = 0x8801;
1689 1689
1690 @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC') 1690 @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC')
1691 @DocsEditable 1691 @DocsEditable()
1692 static const int STENCIL_BACK_FUNC = 0x8800; 1692 static const int STENCIL_BACK_FUNC = 0x8800;
1693 1693
1694 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL') 1694 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL')
1695 @DocsEditable 1695 @DocsEditable()
1696 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; 1696 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
1697 1697
1698 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS') 1698 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS')
1699 @DocsEditable 1699 @DocsEditable()
1700 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; 1700 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
1701 1701
1702 @DomName('WebGLRenderingContext.STENCIL_BACK_REF') 1702 @DomName('WebGLRenderingContext.STENCIL_BACK_REF')
1703 @DocsEditable 1703 @DocsEditable()
1704 static const int STENCIL_BACK_REF = 0x8CA3; 1704 static const int STENCIL_BACK_REF = 0x8CA3;
1705 1705
1706 @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK') 1706 @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK')
1707 @DocsEditable 1707 @DocsEditable()
1708 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; 1708 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4;
1709 1709
1710 @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK') 1710 @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK')
1711 @DocsEditable 1711 @DocsEditable()
1712 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; 1712 static const int STENCIL_BACK_WRITEMASK = 0x8CA5;
1713 1713
1714 @DomName('WebGLRenderingContext.STENCIL_BITS') 1714 @DomName('WebGLRenderingContext.STENCIL_BITS')
1715 @DocsEditable 1715 @DocsEditable()
1716 static const int STENCIL_BITS = 0x0D57; 1716 static const int STENCIL_BITS = 0x0D57;
1717 1717
1718 @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT') 1718 @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT')
1719 @DocsEditable 1719 @DocsEditable()
1720 static const int STENCIL_BUFFER_BIT = 0x00000400; 1720 static const int STENCIL_BUFFER_BIT = 0x00000400;
1721 1721
1722 @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE') 1722 @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE')
1723 @DocsEditable 1723 @DocsEditable()
1724 static const int STENCIL_CLEAR_VALUE = 0x0B91; 1724 static const int STENCIL_CLEAR_VALUE = 0x0B91;
1725 1725
1726 @DomName('WebGLRenderingContext.STENCIL_FAIL') 1726 @DomName('WebGLRenderingContext.STENCIL_FAIL')
1727 @DocsEditable 1727 @DocsEditable()
1728 static const int STENCIL_FAIL = 0x0B94; 1728 static const int STENCIL_FAIL = 0x0B94;
1729 1729
1730 @DomName('WebGLRenderingContext.STENCIL_FUNC') 1730 @DomName('WebGLRenderingContext.STENCIL_FUNC')
1731 @DocsEditable 1731 @DocsEditable()
1732 static const int STENCIL_FUNC = 0x0B92; 1732 static const int STENCIL_FUNC = 0x0B92;
1733 1733
1734 @DomName('WebGLRenderingContext.STENCIL_INDEX') 1734 @DomName('WebGLRenderingContext.STENCIL_INDEX')
1735 @DocsEditable 1735 @DocsEditable()
1736 static const int STENCIL_INDEX = 0x1901; 1736 static const int STENCIL_INDEX = 0x1901;
1737 1737
1738 @DomName('WebGLRenderingContext.STENCIL_INDEX8') 1738 @DomName('WebGLRenderingContext.STENCIL_INDEX8')
1739 @DocsEditable 1739 @DocsEditable()
1740 static const int STENCIL_INDEX8 = 0x8D48; 1740 static const int STENCIL_INDEX8 = 0x8D48;
1741 1741
1742 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL') 1742 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL')
1743 @DocsEditable 1743 @DocsEditable()
1744 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; 1744 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
1745 1745
1746 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS') 1746 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS')
1747 @DocsEditable 1747 @DocsEditable()
1748 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; 1748 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96;
1749 1749
1750 @DomName('WebGLRenderingContext.STENCIL_REF') 1750 @DomName('WebGLRenderingContext.STENCIL_REF')
1751 @DocsEditable 1751 @DocsEditable()
1752 static const int STENCIL_REF = 0x0B97; 1752 static const int STENCIL_REF = 0x0B97;
1753 1753
1754 @DomName('WebGLRenderingContext.STENCIL_TEST') 1754 @DomName('WebGLRenderingContext.STENCIL_TEST')
1755 @DocsEditable 1755 @DocsEditable()
1756 static const int STENCIL_TEST = 0x0B90; 1756 static const int STENCIL_TEST = 0x0B90;
1757 1757
1758 @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK') 1758 @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK')
1759 @DocsEditable 1759 @DocsEditable()
1760 static const int STENCIL_VALUE_MASK = 0x0B93; 1760 static const int STENCIL_VALUE_MASK = 0x0B93;
1761 1761
1762 @DomName('WebGLRenderingContext.STENCIL_WRITEMASK') 1762 @DomName('WebGLRenderingContext.STENCIL_WRITEMASK')
1763 @DocsEditable 1763 @DocsEditable()
1764 static const int STENCIL_WRITEMASK = 0x0B98; 1764 static const int STENCIL_WRITEMASK = 0x0B98;
1765 1765
1766 @DomName('WebGLRenderingContext.STREAM_DRAW') 1766 @DomName('WebGLRenderingContext.STREAM_DRAW')
1767 @DocsEditable 1767 @DocsEditable()
1768 static const int STREAM_DRAW = 0x88E0; 1768 static const int STREAM_DRAW = 0x88E0;
1769 1769
1770 @DomName('WebGLRenderingContext.SUBPIXEL_BITS') 1770 @DomName('WebGLRenderingContext.SUBPIXEL_BITS')
1771 @DocsEditable 1771 @DocsEditable()
1772 static const int SUBPIXEL_BITS = 0x0D50; 1772 static const int SUBPIXEL_BITS = 0x0D50;
1773 1773
1774 @DomName('WebGLRenderingContext.TEXTURE') 1774 @DomName('WebGLRenderingContext.TEXTURE')
1775 @DocsEditable 1775 @DocsEditable()
1776 static const int TEXTURE = 0x1702; 1776 static const int TEXTURE = 0x1702;
1777 1777
1778 @DomName('WebGLRenderingContext.TEXTURE0') 1778 @DomName('WebGLRenderingContext.TEXTURE0')
1779 @DocsEditable 1779 @DocsEditable()
1780 static const int TEXTURE0 = 0x84C0; 1780 static const int TEXTURE0 = 0x84C0;
1781 1781
1782 @DomName('WebGLRenderingContext.TEXTURE1') 1782 @DomName('WebGLRenderingContext.TEXTURE1')
1783 @DocsEditable 1783 @DocsEditable()
1784 static const int TEXTURE1 = 0x84C1; 1784 static const int TEXTURE1 = 0x84C1;
1785 1785
1786 @DomName('WebGLRenderingContext.TEXTURE10') 1786 @DomName('WebGLRenderingContext.TEXTURE10')
1787 @DocsEditable 1787 @DocsEditable()
1788 static const int TEXTURE10 = 0x84CA; 1788 static const int TEXTURE10 = 0x84CA;
1789 1789
1790 @DomName('WebGLRenderingContext.TEXTURE11') 1790 @DomName('WebGLRenderingContext.TEXTURE11')
1791 @DocsEditable 1791 @DocsEditable()
1792 static const int TEXTURE11 = 0x84CB; 1792 static const int TEXTURE11 = 0x84CB;
1793 1793
1794 @DomName('WebGLRenderingContext.TEXTURE12') 1794 @DomName('WebGLRenderingContext.TEXTURE12')
1795 @DocsEditable 1795 @DocsEditable()
1796 static const int TEXTURE12 = 0x84CC; 1796 static const int TEXTURE12 = 0x84CC;
1797 1797
1798 @DomName('WebGLRenderingContext.TEXTURE13') 1798 @DomName('WebGLRenderingContext.TEXTURE13')
1799 @DocsEditable 1799 @DocsEditable()
1800 static const int TEXTURE13 = 0x84CD; 1800 static const int TEXTURE13 = 0x84CD;
1801 1801
1802 @DomName('WebGLRenderingContext.TEXTURE14') 1802 @DomName('WebGLRenderingContext.TEXTURE14')
1803 @DocsEditable 1803 @DocsEditable()
1804 static const int TEXTURE14 = 0x84CE; 1804 static const int TEXTURE14 = 0x84CE;
1805 1805
1806 @DomName('WebGLRenderingContext.TEXTURE15') 1806 @DomName('WebGLRenderingContext.TEXTURE15')
1807 @DocsEditable 1807 @DocsEditable()
1808 static const int TEXTURE15 = 0x84CF; 1808 static const int TEXTURE15 = 0x84CF;
1809 1809
1810 @DomName('WebGLRenderingContext.TEXTURE16') 1810 @DomName('WebGLRenderingContext.TEXTURE16')
1811 @DocsEditable 1811 @DocsEditable()
1812 static const int TEXTURE16 = 0x84D0; 1812 static const int TEXTURE16 = 0x84D0;
1813 1813
1814 @DomName('WebGLRenderingContext.TEXTURE17') 1814 @DomName('WebGLRenderingContext.TEXTURE17')
1815 @DocsEditable 1815 @DocsEditable()
1816 static const int TEXTURE17 = 0x84D1; 1816 static const int TEXTURE17 = 0x84D1;
1817 1817
1818 @DomName('WebGLRenderingContext.TEXTURE18') 1818 @DomName('WebGLRenderingContext.TEXTURE18')
1819 @DocsEditable 1819 @DocsEditable()
1820 static const int TEXTURE18 = 0x84D2; 1820 static const int TEXTURE18 = 0x84D2;
1821 1821
1822 @DomName('WebGLRenderingContext.TEXTURE19') 1822 @DomName('WebGLRenderingContext.TEXTURE19')
1823 @DocsEditable 1823 @DocsEditable()
1824 static const int TEXTURE19 = 0x84D3; 1824 static const int TEXTURE19 = 0x84D3;
1825 1825
1826 @DomName('WebGLRenderingContext.TEXTURE2') 1826 @DomName('WebGLRenderingContext.TEXTURE2')
1827 @DocsEditable 1827 @DocsEditable()
1828 static const int TEXTURE2 = 0x84C2; 1828 static const int TEXTURE2 = 0x84C2;
1829 1829
1830 @DomName('WebGLRenderingContext.TEXTURE20') 1830 @DomName('WebGLRenderingContext.TEXTURE20')
1831 @DocsEditable 1831 @DocsEditable()
1832 static const int TEXTURE20 = 0x84D4; 1832 static const int TEXTURE20 = 0x84D4;
1833 1833
1834 @DomName('WebGLRenderingContext.TEXTURE21') 1834 @DomName('WebGLRenderingContext.TEXTURE21')
1835 @DocsEditable 1835 @DocsEditable()
1836 static const int TEXTURE21 = 0x84D5; 1836 static const int TEXTURE21 = 0x84D5;
1837 1837
1838 @DomName('WebGLRenderingContext.TEXTURE22') 1838 @DomName('WebGLRenderingContext.TEXTURE22')
1839 @DocsEditable 1839 @DocsEditable()
1840 static const int TEXTURE22 = 0x84D6; 1840 static const int TEXTURE22 = 0x84D6;
1841 1841
1842 @DomName('WebGLRenderingContext.TEXTURE23') 1842 @DomName('WebGLRenderingContext.TEXTURE23')
1843 @DocsEditable 1843 @DocsEditable()
1844 static const int TEXTURE23 = 0x84D7; 1844 static const int TEXTURE23 = 0x84D7;
1845 1845
1846 @DomName('WebGLRenderingContext.TEXTURE24') 1846 @DomName('WebGLRenderingContext.TEXTURE24')
1847 @DocsEditable 1847 @DocsEditable()
1848 static const int TEXTURE24 = 0x84D8; 1848 static const int TEXTURE24 = 0x84D8;
1849 1849
1850 @DomName('WebGLRenderingContext.TEXTURE25') 1850 @DomName('WebGLRenderingContext.TEXTURE25')
1851 @DocsEditable 1851 @DocsEditable()
1852 static const int TEXTURE25 = 0x84D9; 1852 static const int TEXTURE25 = 0x84D9;
1853 1853
1854 @DomName('WebGLRenderingContext.TEXTURE26') 1854 @DomName('WebGLRenderingContext.TEXTURE26')
1855 @DocsEditable 1855 @DocsEditable()
1856 static const int TEXTURE26 = 0x84DA; 1856 static const int TEXTURE26 = 0x84DA;
1857 1857
1858 @DomName('WebGLRenderingContext.TEXTURE27') 1858 @DomName('WebGLRenderingContext.TEXTURE27')
1859 @DocsEditable 1859 @DocsEditable()
1860 static const int TEXTURE27 = 0x84DB; 1860 static const int TEXTURE27 = 0x84DB;
1861 1861
1862 @DomName('WebGLRenderingContext.TEXTURE28') 1862 @DomName('WebGLRenderingContext.TEXTURE28')
1863 @DocsEditable 1863 @DocsEditable()
1864 static const int TEXTURE28 = 0x84DC; 1864 static const int TEXTURE28 = 0x84DC;
1865 1865
1866 @DomName('WebGLRenderingContext.TEXTURE29') 1866 @DomName('WebGLRenderingContext.TEXTURE29')
1867 @DocsEditable 1867 @DocsEditable()
1868 static const int TEXTURE29 = 0x84DD; 1868 static const int TEXTURE29 = 0x84DD;
1869 1869
1870 @DomName('WebGLRenderingContext.TEXTURE3') 1870 @DomName('WebGLRenderingContext.TEXTURE3')
1871 @DocsEditable 1871 @DocsEditable()
1872 static const int TEXTURE3 = 0x84C3; 1872 static const int TEXTURE3 = 0x84C3;
1873 1873
1874 @DomName('WebGLRenderingContext.TEXTURE30') 1874 @DomName('WebGLRenderingContext.TEXTURE30')
1875 @DocsEditable 1875 @DocsEditable()
1876 static const int TEXTURE30 = 0x84DE; 1876 static const int TEXTURE30 = 0x84DE;
1877 1877
1878 @DomName('WebGLRenderingContext.TEXTURE31') 1878 @DomName('WebGLRenderingContext.TEXTURE31')
1879 @DocsEditable 1879 @DocsEditable()
1880 static const int TEXTURE31 = 0x84DF; 1880 static const int TEXTURE31 = 0x84DF;
1881 1881
1882 @DomName('WebGLRenderingContext.TEXTURE4') 1882 @DomName('WebGLRenderingContext.TEXTURE4')
1883 @DocsEditable 1883 @DocsEditable()
1884 static const int TEXTURE4 = 0x84C4; 1884 static const int TEXTURE4 = 0x84C4;
1885 1885
1886 @DomName('WebGLRenderingContext.TEXTURE5') 1886 @DomName('WebGLRenderingContext.TEXTURE5')
1887 @DocsEditable 1887 @DocsEditable()
1888 static const int TEXTURE5 = 0x84C5; 1888 static const int TEXTURE5 = 0x84C5;
1889 1889
1890 @DomName('WebGLRenderingContext.TEXTURE6') 1890 @DomName('WebGLRenderingContext.TEXTURE6')
1891 @DocsEditable 1891 @DocsEditable()
1892 static const int TEXTURE6 = 0x84C6; 1892 static const int TEXTURE6 = 0x84C6;
1893 1893
1894 @DomName('WebGLRenderingContext.TEXTURE7') 1894 @DomName('WebGLRenderingContext.TEXTURE7')
1895 @DocsEditable 1895 @DocsEditable()
1896 static const int TEXTURE7 = 0x84C7; 1896 static const int TEXTURE7 = 0x84C7;
1897 1897
1898 @DomName('WebGLRenderingContext.TEXTURE8') 1898 @DomName('WebGLRenderingContext.TEXTURE8')
1899 @DocsEditable 1899 @DocsEditable()
1900 static const int TEXTURE8 = 0x84C8; 1900 static const int TEXTURE8 = 0x84C8;
1901 1901
1902 @DomName('WebGLRenderingContext.TEXTURE9') 1902 @DomName('WebGLRenderingContext.TEXTURE9')
1903 @DocsEditable 1903 @DocsEditable()
1904 static const int TEXTURE9 = 0x84C9; 1904 static const int TEXTURE9 = 0x84C9;
1905 1905
1906 @DomName('WebGLRenderingContext.TEXTURE_2D') 1906 @DomName('WebGLRenderingContext.TEXTURE_2D')
1907 @DocsEditable 1907 @DocsEditable()
1908 static const int TEXTURE_2D = 0x0DE1; 1908 static const int TEXTURE_2D = 0x0DE1;
1909 1909
1910 @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D') 1910 @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D')
1911 @DocsEditable 1911 @DocsEditable()
1912 static const int TEXTURE_BINDING_2D = 0x8069; 1912 static const int TEXTURE_BINDING_2D = 0x8069;
1913 1913
1914 @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP') 1914 @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP')
1915 @DocsEditable 1915 @DocsEditable()
1916 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; 1916 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514;
1917 1917
1918 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP') 1918 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP')
1919 @DocsEditable 1919 @DocsEditable()
1920 static const int TEXTURE_CUBE_MAP = 0x8513; 1920 static const int TEXTURE_CUBE_MAP = 0x8513;
1921 1921
1922 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X') 1922 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X')
1923 @DocsEditable 1923 @DocsEditable()
1924 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; 1924 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
1925 1925
1926 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y') 1926 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y')
1927 @DocsEditable 1927 @DocsEditable()
1928 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; 1928 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
1929 1929
1930 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z') 1930 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z')
1931 @DocsEditable 1931 @DocsEditable()
1932 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; 1932 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
1933 1933
1934 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X') 1934 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X')
1935 @DocsEditable 1935 @DocsEditable()
1936 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; 1936 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
1937 1937
1938 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y') 1938 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y')
1939 @DocsEditable 1939 @DocsEditable()
1940 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; 1940 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
1941 1941
1942 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z') 1942 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z')
1943 @DocsEditable 1943 @DocsEditable()
1944 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; 1944 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
1945 1945
1946 @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER') 1946 @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER')
1947 @DocsEditable 1947 @DocsEditable()
1948 static const int TEXTURE_MAG_FILTER = 0x2800; 1948 static const int TEXTURE_MAG_FILTER = 0x2800;
1949 1949
1950 @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER') 1950 @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER')
1951 @DocsEditable 1951 @DocsEditable()
1952 static const int TEXTURE_MIN_FILTER = 0x2801; 1952 static const int TEXTURE_MIN_FILTER = 0x2801;
1953 1953
1954 @DomName('WebGLRenderingContext.TEXTURE_WRAP_S') 1954 @DomName('WebGLRenderingContext.TEXTURE_WRAP_S')
1955 @DocsEditable 1955 @DocsEditable()
1956 static const int TEXTURE_WRAP_S = 0x2802; 1956 static const int TEXTURE_WRAP_S = 0x2802;
1957 1957
1958 @DomName('WebGLRenderingContext.TEXTURE_WRAP_T') 1958 @DomName('WebGLRenderingContext.TEXTURE_WRAP_T')
1959 @DocsEditable 1959 @DocsEditable()
1960 static const int TEXTURE_WRAP_T = 0x2803; 1960 static const int TEXTURE_WRAP_T = 0x2803;
1961 1961
1962 @DomName('WebGLRenderingContext.TRIANGLES') 1962 @DomName('WebGLRenderingContext.TRIANGLES')
1963 @DocsEditable 1963 @DocsEditable()
1964 static const int TRIANGLES = 0x0004; 1964 static const int TRIANGLES = 0x0004;
1965 1965
1966 @DomName('WebGLRenderingContext.TRIANGLE_FAN') 1966 @DomName('WebGLRenderingContext.TRIANGLE_FAN')
1967 @DocsEditable 1967 @DocsEditable()
1968 static const int TRIANGLE_FAN = 0x0006; 1968 static const int TRIANGLE_FAN = 0x0006;
1969 1969
1970 @DomName('WebGLRenderingContext.TRIANGLE_STRIP') 1970 @DomName('WebGLRenderingContext.TRIANGLE_STRIP')
1971 @DocsEditable 1971 @DocsEditable()
1972 static const int TRIANGLE_STRIP = 0x0005; 1972 static const int TRIANGLE_STRIP = 0x0005;
1973 1973
1974 @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT') 1974 @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT')
1975 @DocsEditable 1975 @DocsEditable()
1976 static const int UNPACK_ALIGNMENT = 0x0CF5; 1976 static const int UNPACK_ALIGNMENT = 0x0CF5;
1977 1977
1978 @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL') 1978 @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL')
1979 @DocsEditable 1979 @DocsEditable()
1980 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; 1980 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
1981 1981
1982 @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL') 1982 @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL')
1983 @DocsEditable 1983 @DocsEditable()
1984 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; 1984 static const int UNPACK_FLIP_Y_WEBGL = 0x9240;
1985 1985
1986 @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL') 1986 @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL')
1987 @DocsEditable 1987 @DocsEditable()
1988 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; 1988 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
1989 1989
1990 @DomName('WebGLRenderingContext.UNSIGNED_BYTE') 1990 @DomName('WebGLRenderingContext.UNSIGNED_BYTE')
1991 @DocsEditable 1991 @DocsEditable()
1992 static const int UNSIGNED_BYTE = 0x1401; 1992 static const int UNSIGNED_BYTE = 0x1401;
1993 1993
1994 @DomName('WebGLRenderingContext.UNSIGNED_INT') 1994 @DomName('WebGLRenderingContext.UNSIGNED_INT')
1995 @DocsEditable 1995 @DocsEditable()
1996 static const int UNSIGNED_INT = 0x1405; 1996 static const int UNSIGNED_INT = 0x1405;
1997 1997
1998 @DomName('WebGLRenderingContext.UNSIGNED_SHORT') 1998 @DomName('WebGLRenderingContext.UNSIGNED_SHORT')
1999 @DocsEditable 1999 @DocsEditable()
2000 static const int UNSIGNED_SHORT = 0x1403; 2000 static const int UNSIGNED_SHORT = 0x1403;
2001 2001
2002 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4') 2002 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4')
2003 @DocsEditable 2003 @DocsEditable()
2004 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; 2004 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
2005 2005
2006 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1') 2006 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1')
2007 @DocsEditable 2007 @DocsEditable()
2008 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; 2008 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
2009 2009
2010 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5') 2010 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5')
2011 @DocsEditable 2011 @DocsEditable()
2012 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; 2012 static const int UNSIGNED_SHORT_5_6_5 = 0x8363;
2013 2013
2014 @DomName('WebGLRenderingContext.VALIDATE_STATUS') 2014 @DomName('WebGLRenderingContext.VALIDATE_STATUS')
2015 @DocsEditable 2015 @DocsEditable()
2016 static const int VALIDATE_STATUS = 0x8B83; 2016 static const int VALIDATE_STATUS = 0x8B83;
2017 2017
2018 @DomName('WebGLRenderingContext.VENDOR') 2018 @DomName('WebGLRenderingContext.VENDOR')
2019 @DocsEditable 2019 @DocsEditable()
2020 static const int VENDOR = 0x1F00; 2020 static const int VENDOR = 0x1F00;
2021 2021
2022 @DomName('WebGLRenderingContext.VERSION') 2022 @DomName('WebGLRenderingContext.VERSION')
2023 @DocsEditable 2023 @DocsEditable()
2024 static const int VERSION = 0x1F02; 2024 static const int VERSION = 0x1F02;
2025 2025
2026 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING') 2026 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING')
2027 @DocsEditable 2027 @DocsEditable()
2028 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; 2028 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
2029 2029
2030 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED') 2030 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED')
2031 @DocsEditable 2031 @DocsEditable()
2032 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; 2032 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
2033 2033
2034 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED') 2034 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED')
2035 @DocsEditable 2035 @DocsEditable()
2036 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; 2036 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
2037 2037
2038 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER') 2038 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER')
2039 @DocsEditable 2039 @DocsEditable()
2040 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; 2040 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
2041 2041
2042 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE') 2042 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE')
2043 @DocsEditable 2043 @DocsEditable()
2044 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; 2044 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
2045 2045
2046 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE') 2046 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE')
2047 @DocsEditable 2047 @DocsEditable()
2048 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; 2048 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
2049 2049
2050 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE') 2050 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE')
2051 @DocsEditable 2051 @DocsEditable()
2052 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; 2052 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
2053 2053
2054 @DomName('WebGLRenderingContext.VERTEX_SHADER') 2054 @DomName('WebGLRenderingContext.VERTEX_SHADER')
2055 @DocsEditable 2055 @DocsEditable()
2056 static const int VERTEX_SHADER = 0x8B31; 2056 static const int VERTEX_SHADER = 0x8B31;
2057 2057
2058 @DomName('WebGLRenderingContext.VIEWPORT') 2058 @DomName('WebGLRenderingContext.VIEWPORT')
2059 @DocsEditable 2059 @DocsEditable()
2060 static const int VIEWPORT = 0x0BA2; 2060 static const int VIEWPORT = 0x0BA2;
2061 2061
2062 @DomName('WebGLRenderingContext.ZERO') 2062 @DomName('WebGLRenderingContext.ZERO')
2063 @DocsEditable 2063 @DocsEditable()
2064 static const int ZERO = 0; 2064 static const int ZERO = 0;
2065 2065
2066 @DomName('WebGLRenderingContext.drawingBufferHeight') 2066 @DomName('WebGLRenderingContext.drawingBufferHeight')
2067 @DocsEditable 2067 @DocsEditable()
2068 final int drawingBufferHeight; 2068 final int drawingBufferHeight;
2069 2069
2070 @DomName('WebGLRenderingContext.drawingBufferWidth') 2070 @DomName('WebGLRenderingContext.drawingBufferWidth')
2071 @DocsEditable 2071 @DocsEditable()
2072 final int drawingBufferWidth; 2072 final int drawingBufferWidth;
2073 2073
2074 @DomName('WebGLRenderingContext.activeTexture') 2074 @DomName('WebGLRenderingContext.activeTexture')
2075 @DocsEditable 2075 @DocsEditable()
2076 void activeTexture(int texture) native; 2076 void activeTexture(int texture) native;
2077 2077
2078 @DomName('WebGLRenderingContext.attachShader') 2078 @DomName('WebGLRenderingContext.attachShader')
2079 @DocsEditable 2079 @DocsEditable()
2080 void attachShader(Program program, Shader shader) native; 2080 void attachShader(Program program, Shader shader) native;
2081 2081
2082 @DomName('WebGLRenderingContext.bindAttribLocation') 2082 @DomName('WebGLRenderingContext.bindAttribLocation')
2083 @DocsEditable 2083 @DocsEditable()
2084 void bindAttribLocation(Program program, int index, String name) native; 2084 void bindAttribLocation(Program program, int index, String name) native;
2085 2085
2086 @DomName('WebGLRenderingContext.bindBuffer') 2086 @DomName('WebGLRenderingContext.bindBuffer')
2087 @DocsEditable 2087 @DocsEditable()
2088 void bindBuffer(int target, Buffer buffer) native; 2088 void bindBuffer(int target, Buffer buffer) native;
2089 2089
2090 @DomName('WebGLRenderingContext.bindFramebuffer') 2090 @DomName('WebGLRenderingContext.bindFramebuffer')
2091 @DocsEditable 2091 @DocsEditable()
2092 void bindFramebuffer(int target, Framebuffer framebuffer) native; 2092 void bindFramebuffer(int target, Framebuffer framebuffer) native;
2093 2093
2094 @DomName('WebGLRenderingContext.bindRenderbuffer') 2094 @DomName('WebGLRenderingContext.bindRenderbuffer')
2095 @DocsEditable 2095 @DocsEditable()
2096 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native; 2096 void bindRenderbuffer(int target, Renderbuffer renderbuffer) native;
2097 2097
2098 @DomName('WebGLRenderingContext.bindTexture') 2098 @DomName('WebGLRenderingContext.bindTexture')
2099 @DocsEditable 2099 @DocsEditable()
2100 void bindTexture(int target, Texture texture) native; 2100 void bindTexture(int target, Texture texture) native;
2101 2101
2102 @DomName('WebGLRenderingContext.blendColor') 2102 @DomName('WebGLRenderingContext.blendColor')
2103 @DocsEditable 2103 @DocsEditable()
2104 void blendColor(num red, num green, num blue, num alpha) native; 2104 void blendColor(num red, num green, num blue, num alpha) native;
2105 2105
2106 @DomName('WebGLRenderingContext.blendEquation') 2106 @DomName('WebGLRenderingContext.blendEquation')
2107 @DocsEditable 2107 @DocsEditable()
2108 void blendEquation(int mode) native; 2108 void blendEquation(int mode) native;
2109 2109
2110 @DomName('WebGLRenderingContext.blendEquationSeparate') 2110 @DomName('WebGLRenderingContext.blendEquationSeparate')
2111 @DocsEditable 2111 @DocsEditable()
2112 void blendEquationSeparate(int modeRGB, int modeAlpha) native; 2112 void blendEquationSeparate(int modeRGB, int modeAlpha) native;
2113 2113
2114 @DomName('WebGLRenderingContext.blendFunc') 2114 @DomName('WebGLRenderingContext.blendFunc')
2115 @DocsEditable 2115 @DocsEditable()
2116 void blendFunc(int sfactor, int dfactor) native; 2116 void blendFunc(int sfactor, int dfactor) native;
2117 2117
2118 @DomName('WebGLRenderingContext.blendFuncSeparate') 2118 @DomName('WebGLRenderingContext.blendFuncSeparate')
2119 @DocsEditable 2119 @DocsEditable()
2120 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive; 2120 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive;
2121 2121
2122 @DomName('WebGLRenderingContext.bufferData') 2122 @DomName('WebGLRenderingContext.bufferData')
2123 @DocsEditable 2123 @DocsEditable()
2124 void bufferData(int target, data_OR_size, int usage) native; 2124 void bufferData(int target, data_OR_size, int usage) native;
2125 2125
2126 @DomName('WebGLRenderingContext.bufferSubData') 2126 @DomName('WebGLRenderingContext.bufferSubData')
2127 @DocsEditable 2127 @DocsEditable()
2128 void bufferSubData(int target, int offset, data) native; 2128 void bufferSubData(int target, int offset, data) native;
2129 2129
2130 @DomName('WebGLRenderingContext.checkFramebufferStatus') 2130 @DomName('WebGLRenderingContext.checkFramebufferStatus')
2131 @DocsEditable 2131 @DocsEditable()
2132 int checkFramebufferStatus(int target) native; 2132 int checkFramebufferStatus(int target) native;
2133 2133
2134 @DomName('WebGLRenderingContext.clear') 2134 @DomName('WebGLRenderingContext.clear')
2135 @DocsEditable 2135 @DocsEditable()
2136 void clear(int mask) native; 2136 void clear(int mask) native;
2137 2137
2138 @DomName('WebGLRenderingContext.clearColor') 2138 @DomName('WebGLRenderingContext.clearColor')
2139 @DocsEditable 2139 @DocsEditable()
2140 void clearColor(num red, num green, num blue, num alpha) native; 2140 void clearColor(num red, num green, num blue, num alpha) native;
2141 2141
2142 @DomName('WebGLRenderingContext.clearDepth') 2142 @DomName('WebGLRenderingContext.clearDepth')
2143 @DocsEditable 2143 @DocsEditable()
2144 void clearDepth(num depth) native; 2144 void clearDepth(num depth) native;
2145 2145
2146 @DomName('WebGLRenderingContext.clearStencil') 2146 @DomName('WebGLRenderingContext.clearStencil')
2147 @DocsEditable 2147 @DocsEditable()
2148 void clearStencil(int s) native; 2148 void clearStencil(int s) native;
2149 2149
2150 @DomName('WebGLRenderingContext.colorMask') 2150 @DomName('WebGLRenderingContext.colorMask')
2151 @DocsEditable 2151 @DocsEditable()
2152 void colorMask(bool red, bool green, bool blue, bool alpha) native; 2152 void colorMask(bool red, bool green, bool blue, bool alpha) native;
2153 2153
2154 @DomName('WebGLRenderingContext.compileShader') 2154 @DomName('WebGLRenderingContext.compileShader')
2155 @DocsEditable 2155 @DocsEditable()
2156 void compileShader(Shader shader) native; 2156 void compileShader(Shader shader) native;
2157 2157
2158 @DomName('WebGLRenderingContext.compressedTexImage2D') 2158 @DomName('WebGLRenderingContext.compressedTexImage2D')
2159 @DocsEditable 2159 @DocsEditable()
2160 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) native; 2160 void compressedTexImage2D(int target, int level, int internalformat, int width , int height, int border, TypedData data) native;
2161 2161
2162 @DomName('WebGLRenderingContext.compressedTexSubImage2D') 2162 @DomName('WebGLRenderingContext.compressedTexSubImage2D')
2163 @DocsEditable 2163 @DocsEditable()
2164 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native; 2164 void compressedTexSubImage2D(int target, int level, int xoffset, int yoffset, int width, int height, int format, TypedData data) native;
2165 2165
2166 @DomName('WebGLRenderingContext.copyTexImage2D') 2166 @DomName('WebGLRenderingContext.copyTexImage2D')
2167 @DocsEditable 2167 @DocsEditable()
2168 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native; 2168 void copyTexImage2D(int target, int level, int internalformat, int x, int y, i nt width, int height, int border) native;
2169 2169
2170 @DomName('WebGLRenderingContext.copyTexSubImage2D') 2170 @DomName('WebGLRenderingContext.copyTexSubImage2D')
2171 @DocsEditable 2171 @DocsEditable()
2172 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native; 2172 void copyTexSubImage2D(int target, int level, int xoffset, int yoffset, int x, int y, int width, int height) native;
2173 2173
2174 @DomName('WebGLRenderingContext.createBuffer') 2174 @DomName('WebGLRenderingContext.createBuffer')
2175 @DocsEditable 2175 @DocsEditable()
2176 Buffer createBuffer() native; 2176 Buffer createBuffer() native;
2177 2177
2178 @DomName('WebGLRenderingContext.createFramebuffer') 2178 @DomName('WebGLRenderingContext.createFramebuffer')
2179 @DocsEditable 2179 @DocsEditable()
2180 Framebuffer createFramebuffer() native; 2180 Framebuffer createFramebuffer() native;
2181 2181
2182 @DomName('WebGLRenderingContext.createProgram') 2182 @DomName('WebGLRenderingContext.createProgram')
2183 @DocsEditable 2183 @DocsEditable()
2184 Program createProgram() native; 2184 Program createProgram() native;
2185 2185
2186 @DomName('WebGLRenderingContext.createRenderbuffer') 2186 @DomName('WebGLRenderingContext.createRenderbuffer')
2187 @DocsEditable 2187 @DocsEditable()
2188 Renderbuffer createRenderbuffer() native; 2188 Renderbuffer createRenderbuffer() native;
2189 2189
2190 @DomName('WebGLRenderingContext.createShader') 2190 @DomName('WebGLRenderingContext.createShader')
2191 @DocsEditable 2191 @DocsEditable()
2192 Shader createShader(int type) native; 2192 Shader createShader(int type) native;
2193 2193
2194 @DomName('WebGLRenderingContext.createTexture') 2194 @DomName('WebGLRenderingContext.createTexture')
2195 @DocsEditable 2195 @DocsEditable()
2196 Texture createTexture() native; 2196 Texture createTexture() native;
2197 2197
2198 @DomName('WebGLRenderingContext.cullFace') 2198 @DomName('WebGLRenderingContext.cullFace')
2199 @DocsEditable 2199 @DocsEditable()
2200 void cullFace(int mode) native; 2200 void cullFace(int mode) native;
2201 2201
2202 @DomName('WebGLRenderingContext.deleteBuffer') 2202 @DomName('WebGLRenderingContext.deleteBuffer')
2203 @DocsEditable 2203 @DocsEditable()
2204 void deleteBuffer(Buffer buffer) native; 2204 void deleteBuffer(Buffer buffer) native;
2205 2205
2206 @DomName('WebGLRenderingContext.deleteFramebuffer') 2206 @DomName('WebGLRenderingContext.deleteFramebuffer')
2207 @DocsEditable 2207 @DocsEditable()
2208 void deleteFramebuffer(Framebuffer framebuffer) native; 2208 void deleteFramebuffer(Framebuffer framebuffer) native;
2209 2209
2210 @DomName('WebGLRenderingContext.deleteProgram') 2210 @DomName('WebGLRenderingContext.deleteProgram')
2211 @DocsEditable 2211 @DocsEditable()
2212 void deleteProgram(Program program) native; 2212 void deleteProgram(Program program) native;
2213 2213
2214 @DomName('WebGLRenderingContext.deleteRenderbuffer') 2214 @DomName('WebGLRenderingContext.deleteRenderbuffer')
2215 @DocsEditable 2215 @DocsEditable()
2216 void deleteRenderbuffer(Renderbuffer renderbuffer) native; 2216 void deleteRenderbuffer(Renderbuffer renderbuffer) native;
2217 2217
2218 @DomName('WebGLRenderingContext.deleteShader') 2218 @DomName('WebGLRenderingContext.deleteShader')
2219 @DocsEditable 2219 @DocsEditable()
2220 void deleteShader(Shader shader) native; 2220 void deleteShader(Shader shader) native;
2221 2221
2222 @DomName('WebGLRenderingContext.deleteTexture') 2222 @DomName('WebGLRenderingContext.deleteTexture')
2223 @DocsEditable 2223 @DocsEditable()
2224 void deleteTexture(Texture texture) native; 2224 void deleteTexture(Texture texture) native;
2225 2225
2226 @DomName('WebGLRenderingContext.depthFunc') 2226 @DomName('WebGLRenderingContext.depthFunc')
2227 @DocsEditable 2227 @DocsEditable()
2228 void depthFunc(int func) native; 2228 void depthFunc(int func) native;
2229 2229
2230 @DomName('WebGLRenderingContext.depthMask') 2230 @DomName('WebGLRenderingContext.depthMask')
2231 @DocsEditable 2231 @DocsEditable()
2232 void depthMask(bool flag) native; 2232 void depthMask(bool flag) native;
2233 2233
2234 @DomName('WebGLRenderingContext.depthRange') 2234 @DomName('WebGLRenderingContext.depthRange')
2235 @DocsEditable 2235 @DocsEditable()
2236 void depthRange(num zNear, num zFar) native; 2236 void depthRange(num zNear, num zFar) native;
2237 2237
2238 @DomName('WebGLRenderingContext.detachShader') 2238 @DomName('WebGLRenderingContext.detachShader')
2239 @DocsEditable 2239 @DocsEditable()
2240 void detachShader(Program program, Shader shader) native; 2240 void detachShader(Program program, Shader shader) native;
2241 2241
2242 @DomName('WebGLRenderingContext.disable') 2242 @DomName('WebGLRenderingContext.disable')
2243 @DocsEditable 2243 @DocsEditable()
2244 void disable(int cap) native; 2244 void disable(int cap) native;
2245 2245
2246 @DomName('WebGLRenderingContext.disableVertexAttribArray') 2246 @DomName('WebGLRenderingContext.disableVertexAttribArray')
2247 @DocsEditable 2247 @DocsEditable()
2248 void disableVertexAttribArray(int index) native; 2248 void disableVertexAttribArray(int index) native;
2249 2249
2250 @DomName('WebGLRenderingContext.drawArrays') 2250 @DomName('WebGLRenderingContext.drawArrays')
2251 @DocsEditable 2251 @DocsEditable()
2252 void drawArrays(int mode, int first, int count) native; 2252 void drawArrays(int mode, int first, int count) native;
2253 2253
2254 @DomName('WebGLRenderingContext.drawElements') 2254 @DomName('WebGLRenderingContext.drawElements')
2255 @DocsEditable 2255 @DocsEditable()
2256 void drawElements(int mode, int count, int type, int offset) native; 2256 void drawElements(int mode, int count, int type, int offset) native;
2257 2257
2258 @DomName('WebGLRenderingContext.enable') 2258 @DomName('WebGLRenderingContext.enable')
2259 @DocsEditable 2259 @DocsEditable()
2260 void enable(int cap) native; 2260 void enable(int cap) native;
2261 2261
2262 @DomName('WebGLRenderingContext.enableVertexAttribArray') 2262 @DomName('WebGLRenderingContext.enableVertexAttribArray')
2263 @DocsEditable 2263 @DocsEditable()
2264 void enableVertexAttribArray(int index) native; 2264 void enableVertexAttribArray(int index) native;
2265 2265
2266 @DomName('WebGLRenderingContext.finish') 2266 @DomName('WebGLRenderingContext.finish')
2267 @DocsEditable 2267 @DocsEditable()
2268 void finish() native; 2268 void finish() native;
2269 2269
2270 @DomName('WebGLRenderingContext.flush') 2270 @DomName('WebGLRenderingContext.flush')
2271 @DocsEditable 2271 @DocsEditable()
2272 void flush() native; 2272 void flush() native;
2273 2273
2274 @DomName('WebGLRenderingContext.framebufferRenderbuffer') 2274 @DomName('WebGLRenderingContext.framebufferRenderbuffer')
2275 @DocsEditable 2275 @DocsEditable()
2276 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) native; 2276 void framebufferRenderbuffer(int target, int attachment, int renderbuffertarge t, Renderbuffer renderbuffer) native;
2277 2277
2278 @DomName('WebGLRenderingContext.framebufferTexture2D') 2278 @DomName('WebGLRenderingContext.framebufferTexture2D')
2279 @DocsEditable 2279 @DocsEditable()
2280 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) native; 2280 void framebufferTexture2D(int target, int attachment, int textarget, Texture t exture, int level) native;
2281 2281
2282 @DomName('WebGLRenderingContext.frontFace') 2282 @DomName('WebGLRenderingContext.frontFace')
2283 @DocsEditable 2283 @DocsEditable()
2284 void frontFace(int mode) native; 2284 void frontFace(int mode) native;
2285 2285
2286 @DomName('WebGLRenderingContext.generateMipmap') 2286 @DomName('WebGLRenderingContext.generateMipmap')
2287 @DocsEditable 2287 @DocsEditable()
2288 void generateMipmap(int target) native; 2288 void generateMipmap(int target) native;
2289 2289
2290 @DomName('WebGLRenderingContext.getActiveAttrib') 2290 @DomName('WebGLRenderingContext.getActiveAttrib')
2291 @DocsEditable 2291 @DocsEditable()
2292 ActiveInfo getActiveAttrib(Program program, int index) native; 2292 ActiveInfo getActiveAttrib(Program program, int index) native;
2293 2293
2294 @DomName('WebGLRenderingContext.getActiveUniform') 2294 @DomName('WebGLRenderingContext.getActiveUniform')
2295 @DocsEditable 2295 @DocsEditable()
2296 ActiveInfo getActiveUniform(Program program, int index) native; 2296 ActiveInfo getActiveUniform(Program program, int index) native;
2297 2297
2298 @DomName('WebGLRenderingContext.getAttachedShaders') 2298 @DomName('WebGLRenderingContext.getAttachedShaders')
2299 @DocsEditable 2299 @DocsEditable()
2300 void getAttachedShaders(Program program) native; 2300 void getAttachedShaders(Program program) native;
2301 2301
2302 @DomName('WebGLRenderingContext.getAttribLocation') 2302 @DomName('WebGLRenderingContext.getAttribLocation')
2303 @DocsEditable 2303 @DocsEditable()
2304 int getAttribLocation(Program program, String name) native; 2304 int getAttribLocation(Program program, String name) native;
2305 2305
2306 @DomName('WebGLRenderingContext.getBufferParameter') 2306 @DomName('WebGLRenderingContext.getBufferParameter')
2307 @DocsEditable 2307 @DocsEditable()
2308 @Creates('int|Null') 2308 @Creates('int|Null')
2309 @Returns('int|Null') 2309 @Returns('int|Null')
2310 Object getBufferParameter(int target, int pname) native; 2310 Object getBufferParameter(int target, int pname) native;
2311 2311
2312 @DomName('WebGLRenderingContext.getContextAttributes') 2312 @DomName('WebGLRenderingContext.getContextAttributes')
2313 @DocsEditable 2313 @DocsEditable()
2314 ContextAttributes getContextAttributes() native; 2314 ContextAttributes getContextAttributes() native;
2315 2315
2316 @DomName('WebGLRenderingContext.getError') 2316 @DomName('WebGLRenderingContext.getError')
2317 @DocsEditable 2317 @DocsEditable()
2318 int getError() native; 2318 int getError() native;
2319 2319
2320 @DomName('WebGLRenderingContext.getExtension') 2320 @DomName('WebGLRenderingContext.getExtension')
2321 @DocsEditable 2321 @DocsEditable()
2322 Object getExtension(String name) native; 2322 Object getExtension(String name) native;
2323 2323
2324 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') 2324 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter')
2325 @DocsEditable 2325 @DocsEditable()
2326 @Creates('int|Renderbuffer|Texture|Null') 2326 @Creates('int|Renderbuffer|Texture|Null')
2327 @Returns('int|Renderbuffer|Texture|Null') 2327 @Returns('int|Renderbuffer|Texture|Null')
2328 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native; 2328 Object getFramebufferAttachmentParameter(int target, int attachment, int pname ) native;
2329 2329
2330 @DomName('WebGLRenderingContext.getParameter') 2330 @DomName('WebGLRenderingContext.getParameter')
2331 @DocsEditable 2331 @DocsEditable()
2332 @Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L ist|Framebuffer|Renderbuffer|Texture') 2332 @Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L ist|Framebuffer|Renderbuffer|Texture')
2333 @Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L ist|Framebuffer|Renderbuffer|Texture') 2333 @Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L ist|Framebuffer|Renderbuffer|Texture')
2334 Object getParameter(int pname) native; 2334 Object getParameter(int pname) native;
2335 2335
2336 @DomName('WebGLRenderingContext.getProgramInfoLog') 2336 @DomName('WebGLRenderingContext.getProgramInfoLog')
2337 @DocsEditable 2337 @DocsEditable()
2338 String getProgramInfoLog(Program program) native; 2338 String getProgramInfoLog(Program program) native;
2339 2339
2340 @DomName('WebGLRenderingContext.getProgramParameter') 2340 @DomName('WebGLRenderingContext.getProgramParameter')
2341 @DocsEditable 2341 @DocsEditable()
2342 @Creates('int|bool|Null') 2342 @Creates('int|bool|Null')
2343 @Returns('int|bool|Null') 2343 @Returns('int|bool|Null')
2344 Object getProgramParameter(Program program, int pname) native; 2344 Object getProgramParameter(Program program, int pname) native;
2345 2345
2346 @DomName('WebGLRenderingContext.getRenderbufferParameter') 2346 @DomName('WebGLRenderingContext.getRenderbufferParameter')
2347 @DocsEditable 2347 @DocsEditable()
2348 @Creates('int|Null') 2348 @Creates('int|Null')
2349 @Returns('int|Null') 2349 @Returns('int|Null')
2350 Object getRenderbufferParameter(int target, int pname) native; 2350 Object getRenderbufferParameter(int target, int pname) native;
2351 2351
2352 @DomName('WebGLRenderingContext.getShaderInfoLog') 2352 @DomName('WebGLRenderingContext.getShaderInfoLog')
2353 @DocsEditable 2353 @DocsEditable()
2354 String getShaderInfoLog(Shader shader) native; 2354 String getShaderInfoLog(Shader shader) native;
2355 2355
2356 @DomName('WebGLRenderingContext.getShaderParameter') 2356 @DomName('WebGLRenderingContext.getShaderParameter')
2357 @DocsEditable 2357 @DocsEditable()
2358 @Creates('int|bool|Null') 2358 @Creates('int|bool|Null')
2359 @Returns('int|bool|Null') 2359 @Returns('int|bool|Null')
2360 Object getShaderParameter(Shader shader, int pname) native; 2360 Object getShaderParameter(Shader shader, int pname) native;
2361 2361
2362 @DomName('WebGLRenderingContext.getShaderPrecisionFormat') 2362 @DomName('WebGLRenderingContext.getShaderPrecisionFormat')
2363 @DocsEditable 2363 @DocsEditable()
2364 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) native; 2364 ShaderPrecisionFormat getShaderPrecisionFormat(int shadertype, int precisionty pe) native;
2365 2365
2366 @DomName('WebGLRenderingContext.getShaderSource') 2366 @DomName('WebGLRenderingContext.getShaderSource')
2367 @DocsEditable 2367 @DocsEditable()
2368 String getShaderSource(Shader shader) native; 2368 String getShaderSource(Shader shader) native;
2369 2369
2370 @DomName('WebGLRenderingContext.getSupportedExtensions') 2370 @DomName('WebGLRenderingContext.getSupportedExtensions')
2371 @DocsEditable 2371 @DocsEditable()
2372 List<String> getSupportedExtensions() native; 2372 List<String> getSupportedExtensions() native;
2373 2373
2374 @DomName('WebGLRenderingContext.getTexParameter') 2374 @DomName('WebGLRenderingContext.getTexParameter')
2375 @DocsEditable 2375 @DocsEditable()
2376 @Creates('int|Null') 2376 @Creates('int|Null')
2377 @Returns('int|Null') 2377 @Returns('int|Null')
2378 Object getTexParameter(int target, int pname) native; 2378 Object getTexParameter(int target, int pname) native;
2379 2379
2380 @DomName('WebGLRenderingContext.getUniform') 2380 @DomName('WebGLRenderingContext.getUniform')
2381 @DocsEditable 2381 @DocsEditable()
2382 @Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L ist') 2382 @Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L ist')
2383 @Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L ist') 2383 @Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L ist')
2384 Object getUniform(Program program, UniformLocation location) native; 2384 Object getUniform(Program program, UniformLocation location) native;
2385 2385
2386 @DomName('WebGLRenderingContext.getUniformLocation') 2386 @DomName('WebGLRenderingContext.getUniformLocation')
2387 @DocsEditable 2387 @DocsEditable()
2388 UniformLocation getUniformLocation(Program program, String name) native; 2388 UniformLocation getUniformLocation(Program program, String name) native;
2389 2389
2390 @DomName('WebGLRenderingContext.getVertexAttrib') 2390 @DomName('WebGLRenderingContext.getVertexAttrib')
2391 @DocsEditable 2391 @DocsEditable()
2392 @Creates('Null|num|bool|Float32List|Buffer') 2392 @Creates('Null|num|bool|Float32List|Buffer')
2393 @Returns('Null|num|bool|Float32List|Buffer') 2393 @Returns('Null|num|bool|Float32List|Buffer')
2394 Object getVertexAttrib(int index, int pname) native; 2394 Object getVertexAttrib(int index, int pname) native;
2395 2395
2396 @DomName('WebGLRenderingContext.getVertexAttribOffset') 2396 @DomName('WebGLRenderingContext.getVertexAttribOffset')
2397 @DocsEditable 2397 @DocsEditable()
2398 int getVertexAttribOffset(int index, int pname) native; 2398 int getVertexAttribOffset(int index, int pname) native;
2399 2399
2400 @DomName('WebGLRenderingContext.hint') 2400 @DomName('WebGLRenderingContext.hint')
2401 @DocsEditable 2401 @DocsEditable()
2402 void hint(int target, int mode) native; 2402 void hint(int target, int mode) native;
2403 2403
2404 @DomName('WebGLRenderingContext.isBuffer') 2404 @DomName('WebGLRenderingContext.isBuffer')
2405 @DocsEditable 2405 @DocsEditable()
2406 bool isBuffer(Buffer buffer) native; 2406 bool isBuffer(Buffer buffer) native;
2407 2407
2408 @DomName('WebGLRenderingContext.isContextLost') 2408 @DomName('WebGLRenderingContext.isContextLost')
2409 @DocsEditable 2409 @DocsEditable()
2410 bool isContextLost() native; 2410 bool isContextLost() native;
2411 2411
2412 @DomName('WebGLRenderingContext.isEnabled') 2412 @DomName('WebGLRenderingContext.isEnabled')
2413 @DocsEditable 2413 @DocsEditable()
2414 bool isEnabled(int cap) native; 2414 bool isEnabled(int cap) native;
2415 2415
2416 @DomName('WebGLRenderingContext.isFramebuffer') 2416 @DomName('WebGLRenderingContext.isFramebuffer')
2417 @DocsEditable 2417 @DocsEditable()
2418 bool isFramebuffer(Framebuffer framebuffer) native; 2418 bool isFramebuffer(Framebuffer framebuffer) native;
2419 2419
2420 @DomName('WebGLRenderingContext.isProgram') 2420 @DomName('WebGLRenderingContext.isProgram')
2421 @DocsEditable 2421 @DocsEditable()
2422 bool isProgram(Program program) native; 2422 bool isProgram(Program program) native;
2423 2423
2424 @DomName('WebGLRenderingContext.isRenderbuffer') 2424 @DomName('WebGLRenderingContext.isRenderbuffer')
2425 @DocsEditable 2425 @DocsEditable()
2426 bool isRenderbuffer(Renderbuffer renderbuffer) native; 2426 bool isRenderbuffer(Renderbuffer renderbuffer) native;
2427 2427
2428 @DomName('WebGLRenderingContext.isShader') 2428 @DomName('WebGLRenderingContext.isShader')
2429 @DocsEditable 2429 @DocsEditable()
2430 bool isShader(Shader shader) native; 2430 bool isShader(Shader shader) native;
2431 2431
2432 @DomName('WebGLRenderingContext.isTexture') 2432 @DomName('WebGLRenderingContext.isTexture')
2433 @DocsEditable 2433 @DocsEditable()
2434 bool isTexture(Texture texture) native; 2434 bool isTexture(Texture texture) native;
2435 2435
2436 @DomName('WebGLRenderingContext.lineWidth') 2436 @DomName('WebGLRenderingContext.lineWidth')
2437 @DocsEditable 2437 @DocsEditable()
2438 void lineWidth(num width) native; 2438 void lineWidth(num width) native;
2439 2439
2440 @DomName('WebGLRenderingContext.linkProgram') 2440 @DomName('WebGLRenderingContext.linkProgram')
2441 @DocsEditable 2441 @DocsEditable()
2442 void linkProgram(Program program) native; 2442 void linkProgram(Program program) native;
2443 2443
2444 @DomName('WebGLRenderingContext.pixelStorei') 2444 @DomName('WebGLRenderingContext.pixelStorei')
2445 @DocsEditable 2445 @DocsEditable()
2446 void pixelStorei(int pname, int param) native; 2446 void pixelStorei(int pname, int param) native;
2447 2447
2448 @DomName('WebGLRenderingContext.polygonOffset') 2448 @DomName('WebGLRenderingContext.polygonOffset')
2449 @DocsEditable 2449 @DocsEditable()
2450 void polygonOffset(num factor, num units) native; 2450 void polygonOffset(num factor, num units) native;
2451 2451
2452 @DomName('WebGLRenderingContext.readPixels') 2452 @DomName('WebGLRenderingContext.readPixels')
2453 @DocsEditable 2453 @DocsEditable()
2454 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) native; 2454 void readPixels(int x, int y, int width, int height, int format, int type, Typ edData pixels) native;
2455 2455
2456 @DomName('WebGLRenderingContext.renderbufferStorage') 2456 @DomName('WebGLRenderingContext.renderbufferStorage')
2457 @DocsEditable 2457 @DocsEditable()
2458 void renderbufferStorage(int target, int internalformat, int width, int height ) native; 2458 void renderbufferStorage(int target, int internalformat, int width, int height ) native;
2459 2459
2460 @DomName('WebGLRenderingContext.sampleCoverage') 2460 @DomName('WebGLRenderingContext.sampleCoverage')
2461 @DocsEditable 2461 @DocsEditable()
2462 void sampleCoverage(num value, bool invert) native; 2462 void sampleCoverage(num value, bool invert) native;
2463 2463
2464 @DomName('WebGLRenderingContext.scissor') 2464 @DomName('WebGLRenderingContext.scissor')
2465 @DocsEditable 2465 @DocsEditable()
2466 void scissor(int x, int y, int width, int height) native; 2466 void scissor(int x, int y, int width, int height) native;
2467 2467
2468 @DomName('WebGLRenderingContext.shaderSource') 2468 @DomName('WebGLRenderingContext.shaderSource')
2469 @DocsEditable 2469 @DocsEditable()
2470 void shaderSource(Shader shader, String string) native; 2470 void shaderSource(Shader shader, String string) native;
2471 2471
2472 @DomName('WebGLRenderingContext.stencilFunc') 2472 @DomName('WebGLRenderingContext.stencilFunc')
2473 @DocsEditable 2473 @DocsEditable()
2474 void stencilFunc(int func, int ref, int mask) native; 2474 void stencilFunc(int func, int ref, int mask) native;
2475 2475
2476 @DomName('WebGLRenderingContext.stencilFuncSeparate') 2476 @DomName('WebGLRenderingContext.stencilFuncSeparate')
2477 @DocsEditable 2477 @DocsEditable()
2478 void stencilFuncSeparate(int face, int func, int ref, int mask) native; 2478 void stencilFuncSeparate(int face, int func, int ref, int mask) native;
2479 2479
2480 @DomName('WebGLRenderingContext.stencilMask') 2480 @DomName('WebGLRenderingContext.stencilMask')
2481 @DocsEditable 2481 @DocsEditable()
2482 void stencilMask(int mask) native; 2482 void stencilMask(int mask) native;
2483 2483
2484 @DomName('WebGLRenderingContext.stencilMaskSeparate') 2484 @DomName('WebGLRenderingContext.stencilMaskSeparate')
2485 @DocsEditable 2485 @DocsEditable()
2486 void stencilMaskSeparate(int face, int mask) native; 2486 void stencilMaskSeparate(int face, int mask) native;
2487 2487
2488 @DomName('WebGLRenderingContext.stencilOp') 2488 @DomName('WebGLRenderingContext.stencilOp')
2489 @DocsEditable 2489 @DocsEditable()
2490 void stencilOp(int fail, int zfail, int zpass) native; 2490 void stencilOp(int fail, int zfail, int zpass) native;
2491 2491
2492 @DomName('WebGLRenderingContext.stencilOpSeparate') 2492 @DomName('WebGLRenderingContext.stencilOpSeparate')
2493 @DocsEditable 2493 @DocsEditable()
2494 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; 2494 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
2495 2495
2496 @DomName('WebGLRenderingContext.texImage2D') 2496 @DomName('WebGLRenderingContext.texImage2D')
2497 @DocsEditable 2497 @DocsEditable()
2498 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]) { 2498 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]) {
2499 if (pixels != null && type != null && format != null && (border_OR_canvas_OR _image_OR_pixels_OR_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null)) { 2499 if (pixels != null && type != null && format != null && (border_OR_canvas_OR _image_OR_pixels_OR_video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null)) {
2500 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); 2500 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
2501 return; 2501 return;
2502 } 2502 }
2503 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) { 2503 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) {
2504 var pixels_1 = convertDartToNative_ImageData(border_OR_canvas_OR_image_OR_ pixels_OR_video); 2504 var pixels_1 = convertDartToNative_ImageData(border_OR_canvas_OR_image_OR_ pixels_OR_video);
2505 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty pe, pixels_1); 2505 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty pe, pixels_1);
2506 return; 2506 return;
2507 } 2507 }
2508 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) { 2508 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) {
2509 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 2509 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2510 return; 2510 return;
2511 } 2511 }
2512 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border _OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == nul l && pixels == null) { 2512 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border _OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == nul l && pixels == null) {
2513 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 2513 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2514 return; 2514 return;
2515 } 2515 }
2516 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) { 2516 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pixels == null) {
2517 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 2517 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2518 return; 2518 return;
2519 } 2519 }
2520 throw new ArgumentError("Incorrect number or type of arguments"); 2520 throw new ArgumentError("Incorrect number or type of arguments");
2521 } 2521 }
2522 @JSName('texImage2D') 2522 @JSName('texImage2D')
2523 @DomName('WebGLRenderingContext.texImage2D') 2523 @DomName('WebGLRenderingContext.texImage2D')
2524 @DocsEditable 2524 @DocsEditable()
2525 void _texImage2D_1(target, level, internalformat, width, height, int border, f ormat, type, TypedData pixels) native; 2525 void _texImage2D_1(target, level, internalformat, width, height, int border, f ormat, type, TypedData pixels) native;
2526 @JSName('texImage2D') 2526 @JSName('texImage2D')
2527 @DomName('WebGLRenderingContext.texImage2D') 2527 @DomName('WebGLRenderingContext.texImage2D')
2528 @DocsEditable 2528 @DocsEditable()
2529 void _texImage2D_2(target, level, internalformat, format, type, pixels) native ; 2529 void _texImage2D_2(target, level, internalformat, format, type, pixels) native ;
2530 @JSName('texImage2D') 2530 @JSName('texImage2D')
2531 @DomName('WebGLRenderingContext.texImage2D') 2531 @DomName('WebGLRenderingContext.texImage2D')
2532 @DocsEditable 2532 @DocsEditable()
2533 void _texImage2D_3(target, level, internalformat, format, type, ImageElement i mage) native; 2533 void _texImage2D_3(target, level, internalformat, format, type, ImageElement i mage) native;
2534 @JSName('texImage2D') 2534 @JSName('texImage2D')
2535 @DomName('WebGLRenderingContext.texImage2D') 2535 @DomName('WebGLRenderingContext.texImage2D')
2536 @DocsEditable 2536 @DocsEditable()
2537 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement canvas) native; 2537 void _texImage2D_4(target, level, internalformat, format, type, CanvasElement canvas) native;
2538 @JSName('texImage2D') 2538 @JSName('texImage2D')
2539 @DomName('WebGLRenderingContext.texImage2D') 2539 @DomName('WebGLRenderingContext.texImage2D')
2540 @DocsEditable 2540 @DocsEditable()
2541 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v ideo) native; 2541 void _texImage2D_5(target, level, internalformat, format, type, VideoElement v ideo) native;
2542 2542
2543 @DomName('WebGLRenderingContext.texParameterf') 2543 @DomName('WebGLRenderingContext.texParameterf')
2544 @DocsEditable 2544 @DocsEditable()
2545 void texParameterf(int target, int pname, num param) native; 2545 void texParameterf(int target, int pname, num param) native;
2546 2546
2547 @DomName('WebGLRenderingContext.texParameteri') 2547 @DomName('WebGLRenderingContext.texParameteri')
2548 @DocsEditable 2548 @DocsEditable()
2549 void texParameteri(int target, int pname, int param) native; 2549 void texParameteri(int target, int pname, int param) native;
2550 2550
2551 @DomName('WebGLRenderingContext.texSubImage2D') 2551 @DomName('WebGLRenderingContext.texSubImage2D')
2552 @DocsEditable 2552 @DocsEditable()
2553 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in t type, TypedData pixels]) { 2553 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in t type, TypedData pixels]) {
2554 if (pixels != null && type != null && (canvas_OR_format_OR_image_OR_pixels_O R_video is int || canvas_OR_format_OR_image_OR_pixels_OR_video == null)) { 2554 if (pixels != null && type != null && (canvas_OR_format_OR_image_OR_pixels_O R_video is int || canvas_OR_format_OR_image_OR_pixels_OR_video == null)) {
2555 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); 2555 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
2556 return; 2556 return;
2557 } 2557 }
2558 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null) { 2558 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null) {
2559 var pixels_1 = convertDartToNative_ImageData(canvas_OR_format_OR_image_OR_ pixels_OR_video); 2559 var pixels_1 = convertDartToNative_ImageData(canvas_OR_format_OR_image_OR_ pixels_OR_video);
2560 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, pixels_1); 2560 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, pixels_1);
2561 return; 2561 return;
2562 } 2562 }
2563 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null ) { 2563 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null ) {
2564 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 2564 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2565 return; 2565 return;
2566 } 2566 }
2567 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas _OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == nul l) { 2567 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas _OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == nul l) {
2568 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 2568 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2569 return; 2569 return;
2570 } 2570 }
2571 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null ) { 2571 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && type == null && pixels == null ) {
2572 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 2572 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2573 return; 2573 return;
2574 } 2574 }
2575 throw new ArgumentError("Incorrect number or type of arguments"); 2575 throw new ArgumentError("Incorrect number or type of arguments");
2576 } 2576 }
2577 @JSName('texSubImage2D') 2577 @JSName('texSubImage2D')
2578 @DomName('WebGLRenderingContext.texSubImage2D') 2578 @DomName('WebGLRenderingContext.texSubImage2D')
2579 @DocsEditable 2579 @DocsEditable()
2580 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int form at, type, TypedData pixels) native; 2580 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, int form at, type, TypedData pixels) native;
2581 @JSName('texSubImage2D') 2581 @JSName('texSubImage2D')
2582 @DomName('WebGLRenderingContext.texSubImage2D') 2582 @DomName('WebGLRenderingContext.texSubImage2D')
2583 @DocsEditable 2583 @DocsEditable()
2584 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) n ative; 2584 void _texSubImage2D_2(target, level, xoffset, yoffset, format, type, pixels) n ative;
2585 @JSName('texSubImage2D') 2585 @JSName('texSubImage2D')
2586 @DomName('WebGLRenderingContext.texSubImage2D') 2586 @DomName('WebGLRenderingContext.texSubImage2D')
2587 @DocsEditable 2587 @DocsEditable()
2588 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElem ent image) native; 2588 void _texSubImage2D_3(target, level, xoffset, yoffset, format, type, ImageElem ent image) native;
2589 @JSName('texSubImage2D') 2589 @JSName('texSubImage2D')
2590 @DomName('WebGLRenderingContext.texSubImage2D') 2590 @DomName('WebGLRenderingContext.texSubImage2D')
2591 @DocsEditable 2591 @DocsEditable()
2592 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle ment canvas) native; 2592 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, CanvasEle ment canvas) native;
2593 @JSName('texSubImage2D') 2593 @JSName('texSubImage2D')
2594 @DomName('WebGLRenderingContext.texSubImage2D') 2594 @DomName('WebGLRenderingContext.texSubImage2D')
2595 @DocsEditable 2595 @DocsEditable()
2596 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem ent video) native; 2596 void _texSubImage2D_5(target, level, xoffset, yoffset, format, type, VideoElem ent video) native;
2597 2597
2598 @DomName('WebGLRenderingContext.uniform1f') 2598 @DomName('WebGLRenderingContext.uniform1f')
2599 @DocsEditable 2599 @DocsEditable()
2600 void uniform1f(UniformLocation location, num x) native; 2600 void uniform1f(UniformLocation location, num x) native;
2601 2601
2602 @DomName('WebGLRenderingContext.uniform1fv') 2602 @DomName('WebGLRenderingContext.uniform1fv')
2603 @DocsEditable 2603 @DocsEditable()
2604 void uniform1fv(UniformLocation location, Float32List v) native; 2604 void uniform1fv(UniformLocation location, Float32List v) native;
2605 2605
2606 @DomName('WebGLRenderingContext.uniform1i') 2606 @DomName('WebGLRenderingContext.uniform1i')
2607 @DocsEditable 2607 @DocsEditable()
2608 void uniform1i(UniformLocation location, int x) native; 2608 void uniform1i(UniformLocation location, int x) native;
2609 2609
2610 @DomName('WebGLRenderingContext.uniform1iv') 2610 @DomName('WebGLRenderingContext.uniform1iv')
2611 @DocsEditable 2611 @DocsEditable()
2612 void uniform1iv(UniformLocation location, Int32List v) native; 2612 void uniform1iv(UniformLocation location, Int32List v) native;
2613 2613
2614 @DomName('WebGLRenderingContext.uniform2f') 2614 @DomName('WebGLRenderingContext.uniform2f')
2615 @DocsEditable 2615 @DocsEditable()
2616 void uniform2f(UniformLocation location, num x, num y) native; 2616 void uniform2f(UniformLocation location, num x, num y) native;
2617 2617
2618 @DomName('WebGLRenderingContext.uniform2fv') 2618 @DomName('WebGLRenderingContext.uniform2fv')
2619 @DocsEditable 2619 @DocsEditable()
2620 void uniform2fv(UniformLocation location, Float32List v) native; 2620 void uniform2fv(UniformLocation location, Float32List v) native;
2621 2621
2622 @DomName('WebGLRenderingContext.uniform2i') 2622 @DomName('WebGLRenderingContext.uniform2i')
2623 @DocsEditable 2623 @DocsEditable()
2624 void uniform2i(UniformLocation location, int x, int y) native; 2624 void uniform2i(UniformLocation location, int x, int y) native;
2625 2625
2626 @DomName('WebGLRenderingContext.uniform2iv') 2626 @DomName('WebGLRenderingContext.uniform2iv')
2627 @DocsEditable 2627 @DocsEditable()
2628 void uniform2iv(UniformLocation location, Int32List v) native; 2628 void uniform2iv(UniformLocation location, Int32List v) native;
2629 2629
2630 @DomName('WebGLRenderingContext.uniform3f') 2630 @DomName('WebGLRenderingContext.uniform3f')
2631 @DocsEditable 2631 @DocsEditable()
2632 void uniform3f(UniformLocation location, num x, num y, num z) native; 2632 void uniform3f(UniformLocation location, num x, num y, num z) native;
2633 2633
2634 @DomName('WebGLRenderingContext.uniform3fv') 2634 @DomName('WebGLRenderingContext.uniform3fv')
2635 @DocsEditable 2635 @DocsEditable()
2636 void uniform3fv(UniformLocation location, Float32List v) native; 2636 void uniform3fv(UniformLocation location, Float32List v) native;
2637 2637
2638 @DomName('WebGLRenderingContext.uniform3i') 2638 @DomName('WebGLRenderingContext.uniform3i')
2639 @DocsEditable 2639 @DocsEditable()
2640 void uniform3i(UniformLocation location, int x, int y, int z) native; 2640 void uniform3i(UniformLocation location, int x, int y, int z) native;
2641 2641
2642 @DomName('WebGLRenderingContext.uniform3iv') 2642 @DomName('WebGLRenderingContext.uniform3iv')
2643 @DocsEditable 2643 @DocsEditable()
2644 void uniform3iv(UniformLocation location, Int32List v) native; 2644 void uniform3iv(UniformLocation location, Int32List v) native;
2645 2645
2646 @DomName('WebGLRenderingContext.uniform4f') 2646 @DomName('WebGLRenderingContext.uniform4f')
2647 @DocsEditable 2647 @DocsEditable()
2648 void uniform4f(UniformLocation location, num x, num y, num z, num w) native; 2648 void uniform4f(UniformLocation location, num x, num y, num z, num w) native;
2649 2649
2650 @DomName('WebGLRenderingContext.uniform4fv') 2650 @DomName('WebGLRenderingContext.uniform4fv')
2651 @DocsEditable 2651 @DocsEditable()
2652 void uniform4fv(UniformLocation location, Float32List v) native; 2652 void uniform4fv(UniformLocation location, Float32List v) native;
2653 2653
2654 @DomName('WebGLRenderingContext.uniform4i') 2654 @DomName('WebGLRenderingContext.uniform4i')
2655 @DocsEditable 2655 @DocsEditable()
2656 void uniform4i(UniformLocation location, int x, int y, int z, int w) native; 2656 void uniform4i(UniformLocation location, int x, int y, int z, int w) native;
2657 2657
2658 @DomName('WebGLRenderingContext.uniform4iv') 2658 @DomName('WebGLRenderingContext.uniform4iv')
2659 @DocsEditable 2659 @DocsEditable()
2660 void uniform4iv(UniformLocation location, Int32List v) native; 2660 void uniform4iv(UniformLocation location, Int32List v) native;
2661 2661
2662 @DomName('WebGLRenderingContext.uniformMatrix2fv') 2662 @DomName('WebGLRenderingContext.uniformMatrix2fv')
2663 @DocsEditable 2663 @DocsEditable()
2664 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) native; 2664 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) native;
2665 2665
2666 @DomName('WebGLRenderingContext.uniformMatrix3fv') 2666 @DomName('WebGLRenderingContext.uniformMatrix3fv')
2667 @DocsEditable 2667 @DocsEditable()
2668 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) native; 2668 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) native;
2669 2669
2670 @DomName('WebGLRenderingContext.uniformMatrix4fv') 2670 @DomName('WebGLRenderingContext.uniformMatrix4fv')
2671 @DocsEditable 2671 @DocsEditable()
2672 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) native; 2672 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) native;
2673 2673
2674 @DomName('WebGLRenderingContext.useProgram') 2674 @DomName('WebGLRenderingContext.useProgram')
2675 @DocsEditable 2675 @DocsEditable()
2676 void useProgram(Program program) native; 2676 void useProgram(Program program) native;
2677 2677
2678 @DomName('WebGLRenderingContext.validateProgram') 2678 @DomName('WebGLRenderingContext.validateProgram')
2679 @DocsEditable 2679 @DocsEditable()
2680 void validateProgram(Program program) native; 2680 void validateProgram(Program program) native;
2681 2681
2682 @DomName('WebGLRenderingContext.vertexAttrib1f') 2682 @DomName('WebGLRenderingContext.vertexAttrib1f')
2683 @DocsEditable 2683 @DocsEditable()
2684 void vertexAttrib1f(int indx, num x) native; 2684 void vertexAttrib1f(int indx, num x) native;
2685 2685
2686 @DomName('WebGLRenderingContext.vertexAttrib1fv') 2686 @DomName('WebGLRenderingContext.vertexAttrib1fv')
2687 @DocsEditable 2687 @DocsEditable()
2688 void vertexAttrib1fv(int indx, Float32List values) native; 2688 void vertexAttrib1fv(int indx, Float32List values) native;
2689 2689
2690 @DomName('WebGLRenderingContext.vertexAttrib2f') 2690 @DomName('WebGLRenderingContext.vertexAttrib2f')
2691 @DocsEditable 2691 @DocsEditable()
2692 void vertexAttrib2f(int indx, num x, num y) native; 2692 void vertexAttrib2f(int indx, num x, num y) native;
2693 2693
2694 @DomName('WebGLRenderingContext.vertexAttrib2fv') 2694 @DomName('WebGLRenderingContext.vertexAttrib2fv')
2695 @DocsEditable 2695 @DocsEditable()
2696 void vertexAttrib2fv(int indx, Float32List values) native; 2696 void vertexAttrib2fv(int indx, Float32List values) native;
2697 2697
2698 @DomName('WebGLRenderingContext.vertexAttrib3f') 2698 @DomName('WebGLRenderingContext.vertexAttrib3f')
2699 @DocsEditable 2699 @DocsEditable()
2700 void vertexAttrib3f(int indx, num x, num y, num z) native; 2700 void vertexAttrib3f(int indx, num x, num y, num z) native;
2701 2701
2702 @DomName('WebGLRenderingContext.vertexAttrib3fv') 2702 @DomName('WebGLRenderingContext.vertexAttrib3fv')
2703 @DocsEditable 2703 @DocsEditable()
2704 void vertexAttrib3fv(int indx, Float32List values) native; 2704 void vertexAttrib3fv(int indx, Float32List values) native;
2705 2705
2706 @DomName('WebGLRenderingContext.vertexAttrib4f') 2706 @DomName('WebGLRenderingContext.vertexAttrib4f')
2707 @DocsEditable 2707 @DocsEditable()
2708 void vertexAttrib4f(int indx, num x, num y, num z, num w) native; 2708 void vertexAttrib4f(int indx, num x, num y, num z, num w) native;
2709 2709
2710 @DomName('WebGLRenderingContext.vertexAttrib4fv') 2710 @DomName('WebGLRenderingContext.vertexAttrib4fv')
2711 @DocsEditable 2711 @DocsEditable()
2712 void vertexAttrib4fv(int indx, Float32List values) native; 2712 void vertexAttrib4fv(int indx, Float32List values) native;
2713 2713
2714 @DomName('WebGLRenderingContext.vertexAttribPointer') 2714 @DomName('WebGLRenderingContext.vertexAttribPointer')
2715 @DocsEditable 2715 @DocsEditable()
2716 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native; 2716 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native;
2717 2717
2718 @DomName('WebGLRenderingContext.viewport') 2718 @DomName('WebGLRenderingContext.viewport')
2719 @DocsEditable 2719 @DocsEditable()
2720 void viewport(int x, int y, int width, int height) native; 2720 void viewport(int x, int y, int width, int height) native;
2721 } 2721 }
2722 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2722 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2723 // for details. All rights reserved. Use of this source code is governed by a 2723 // for details. All rights reserved. Use of this source code is governed by a
2724 // BSD-style license that can be found in the LICENSE file. 2724 // BSD-style license that can be found in the LICENSE file.
2725 2725
2726 2726
2727 @DocsEditable 2727 @DocsEditable()
2728 @DomName('WebGLShader') 2728 @DomName('WebGLShader')
2729 class Shader extends Interceptor native "WebGLShader" { 2729 class Shader extends Interceptor native "WebGLShader" {
2730 } 2730 }
2731 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2731 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2732 // for details. All rights reserved. Use of this source code is governed by a 2732 // for details. All rights reserved. Use of this source code is governed by a
2733 // BSD-style license that can be found in the LICENSE file. 2733 // BSD-style license that can be found in the LICENSE file.
2734 2734
2735 2735
2736 @DocsEditable 2736 @DocsEditable()
2737 @DomName('WebGLShaderPrecisionFormat') 2737 @DomName('WebGLShaderPrecisionFormat')
2738 class ShaderPrecisionFormat extends Interceptor native "WebGLShaderPrecisionForm at" { 2738 class ShaderPrecisionFormat extends Interceptor native "WebGLShaderPrecisionForm at" {
2739 2739
2740 @DomName('WebGLShaderPrecisionFormat.precision') 2740 @DomName('WebGLShaderPrecisionFormat.precision')
2741 @DocsEditable 2741 @DocsEditable()
2742 final int precision; 2742 final int precision;
2743 2743
2744 @DomName('WebGLShaderPrecisionFormat.rangeMax') 2744 @DomName('WebGLShaderPrecisionFormat.rangeMax')
2745 @DocsEditable 2745 @DocsEditable()
2746 final int rangeMax; 2746 final int rangeMax;
2747 2747
2748 @DomName('WebGLShaderPrecisionFormat.rangeMin') 2748 @DomName('WebGLShaderPrecisionFormat.rangeMin')
2749 @DocsEditable 2749 @DocsEditable()
2750 final int rangeMin; 2750 final int rangeMin;
2751 } 2751 }
2752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2752 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2753 // for details. All rights reserved. Use of this source code is governed by a 2753 // for details. All rights reserved. Use of this source code is governed by a
2754 // BSD-style license that can be found in the LICENSE file. 2754 // BSD-style license that can be found in the LICENSE file.
2755 2755
2756 2756
2757 @DocsEditable 2757 @DocsEditable()
2758 @DomName('WebGLTexture') 2758 @DomName('WebGLTexture')
2759 class Texture extends Interceptor native "WebGLTexture" { 2759 class Texture extends Interceptor native "WebGLTexture" {
2760 } 2760 }
2761 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2761 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2762 // for details. All rights reserved. Use of this source code is governed by a 2762 // for details. All rights reserved. Use of this source code is governed by a
2763 // BSD-style license that can be found in the LICENSE file. 2763 // BSD-style license that can be found in the LICENSE file.
2764 2764
2765 2765
2766 @DocsEditable 2766 @DocsEditable()
2767 @DomName('WebGLUniformLocation') 2767 @DomName('WebGLUniformLocation')
2768 class UniformLocation extends Interceptor native "WebGLUniformLocation" { 2768 class UniformLocation extends Interceptor native "WebGLUniformLocation" {
2769 } 2769 }
2770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2770 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2771 // for details. All rights reserved. Use of this source code is governed by a 2771 // for details. All rights reserved. Use of this source code is governed by a
2772 // BSD-style license that can be found in the LICENSE file. 2772 // BSD-style license that can be found in the LICENSE file.
2773 2773
2774 2774
2775 @DocsEditable 2775 @DocsEditable()
2776 @DomName('WebGLVertexArrayObjectOES') 2776 @DomName('WebGLVertexArrayObjectOES')
2777 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 2777 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
2778 @Experimental // experimental 2778 @Experimental() // experimental
2779 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" { 2779 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" {
2780 } 2780 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | sdk/lib/web_gl/dartium/web_gl_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698