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

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

Issue 15043005: Adding annotations to DOM constants (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 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 // DO NOT EDIT - unless you are editing documentation as per: 10 // DO NOT EDIT - unless you are editing documentation as per:
(...skipping 337 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 } 348 }
349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 349 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
350 // for details. All rights reserved. Use of this source code is governed by a 350 // for details. All rights reserved. Use of this source code is governed by a
351 // BSD-style license that can be found in the LICENSE file. 351 // BSD-style license that can be found in the LICENSE file.
352 352
353 353
354 @DocsEditable 354 @DocsEditable
355 @DomName('WebGLCompressedTextureATC') 355 @DomName('WebGLCompressedTextureATC')
356 class CompressedTextureAtc native "WebGLCompressedTextureATC" { 356 class CompressedTextureAtc native "WebGLCompressedTextureATC" {
357 357
358 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL')
359 @DocsEditable
358 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; 360 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93;
359 361
362 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB GL')
363 @DocsEditable
360 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; 364 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE;
361 365
366 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL')
367 @DocsEditable
362 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92; 368 static const int COMPRESSED_RGB_ATC_WEBGL = 0x8C92;
363 } 369 }
364 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
365 // for details. All rights reserved. Use of this source code is governed by a 371 // for details. All rights reserved. Use of this source code is governed by a
366 // BSD-style license that can be found in the LICENSE file. 372 // BSD-style license that can be found in the LICENSE file.
367 373
368 374
369 @DocsEditable 375 @DocsEditable
370 @DomName('WebGLCompressedTexturePVRTC') 376 @DomName('WebGLCompressedTexturePVRTC')
371 class CompressedTexturePvrtc native "WebGLCompressedTexturePVRTC" { 377 class CompressedTexturePvrtc native "WebGLCompressedTexturePVRTC" {
372 378
379 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG')
380 @DocsEditable
373 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; 381 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03;
374 382
383 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG')
384 @DocsEditable
375 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; 385 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02;
376 386
387 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG')
388 @DocsEditable
377 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01; 389 static const int COMPRESSED_RGB_PVRTC_2BPPV1_IMG = 0x8C01;
378 390
391 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_4BPPV1_IMG')
392 @DocsEditable
379 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00; 393 static const int COMPRESSED_RGB_PVRTC_4BPPV1_IMG = 0x8C00;
380 } 394 }
381 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 395 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
382 // for details. All rights reserved. Use of this source code is governed by a 396 // for details. All rights reserved. Use of this source code is governed by a
383 // BSD-style license that can be found in the LICENSE file. 397 // BSD-style license that can be found in the LICENSE file.
384 398
385 399
386 @DocsEditable 400 @DocsEditable
387 @DomName('WebGLCompressedTextureS3TC') 401 @DomName('WebGLCompressedTextureS3TC')
388 class CompressedTextureS3TC native "WebGLCompressedTextureS3TC" { 402 class CompressedTextureS3TC native "WebGLCompressedTextureS3TC" {
389 403
404 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT')
405 @DocsEditable
390 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; 406 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
391 407
408 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT')
409 @DocsEditable
392 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; 410 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
393 411
412 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT')
413 @DocsEditable
394 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3; 414 static const int COMPRESSED_RGBA_S3TC_DXT5_EXT = 0x83F3;
395 415
416 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGB_S3TC_DXT1_EXT')
417 @DocsEditable
396 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0; 418 static const int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
397 } 419 }
398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 420 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
399 // for details. All rights reserved. Use of this source code is governed by a 421 // for details. All rights reserved. Use of this source code is governed by a
400 // BSD-style license that can be found in the LICENSE file. 422 // BSD-style license that can be found in the LICENSE file.
401 423
402 424
403 @DocsEditable 425 @DocsEditable
404 @DomName('WebGLContextAttributes') 426 @DomName('WebGLContextAttributes')
405 class ContextAttributes native "WebGLContextAttributes" { 427 class ContextAttributes native "WebGLContextAttributes" {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 } 465 }
444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 466 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
445 // for details. All rights reserved. Use of this source code is governed by a 467 // for details. All rights reserved. Use of this source code is governed by a
446 // BSD-style license that can be found in the LICENSE file. 468 // BSD-style license that can be found in the LICENSE file.
447 469
448 470
449 @DocsEditable 471 @DocsEditable
450 @DomName('WebGLDebugRendererInfo') 472 @DomName('WebGLDebugRendererInfo')
451 class DebugRendererInfo native "WebGLDebugRendererInfo" { 473 class DebugRendererInfo native "WebGLDebugRendererInfo" {
452 474
475 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL')
476 @DocsEditable
453 static const int UNMASKED_RENDERER_WEBGL = 0x9246; 477 static const int UNMASKED_RENDERER_WEBGL = 0x9246;
454 478
479 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL')
480 @DocsEditable
455 static const int UNMASKED_VENDOR_WEBGL = 0x9245; 481 static const int UNMASKED_VENDOR_WEBGL = 0x9245;
456 } 482 }
457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
458 // for details. All rights reserved. Use of this source code is governed by a 484 // for details. All rights reserved. Use of this source code is governed by a
459 // BSD-style license that can be found in the LICENSE file. 485 // BSD-style license that can be found in the LICENSE file.
460 486
461 487
462 @DocsEditable 488 @DocsEditable
463 @DomName('WebGLDebugShaders') 489 @DomName('WebGLDebugShaders')
464 class DebugShaders native "WebGLDebugShaders" { 490 class DebugShaders native "WebGLDebugShaders" {
465 491
466 @DomName('WebGLDebugShaders.getTranslatedShaderSource') 492 @DomName('WebGLDebugShaders.getTranslatedShaderSource')
467 @DocsEditable 493 @DocsEditable
468 String getTranslatedShaderSource(Shader shader) native; 494 String getTranslatedShaderSource(Shader shader) native;
469 } 495 }
470 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
471 // for details. All rights reserved. Use of this source code is governed by a 497 // for details. All rights reserved. Use of this source code is governed by a
472 // BSD-style license that can be found in the LICENSE file. 498 // BSD-style license that can be found in the LICENSE file.
473 499
474 500
475 @DocsEditable 501 @DocsEditable
476 @DomName('WebGLDepthTexture') 502 @DomName('WebGLDepthTexture')
477 class DepthTexture native "WebGLDepthTexture" { 503 class DepthTexture native "WebGLDepthTexture" {
478 504
505 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL')
506 @DocsEditable
479 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; 507 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA;
480 } 508 }
481 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 509 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
482 // for details. All rights reserved. Use of this source code is governed by a 510 // for details. All rights reserved. Use of this source code is governed by a
483 // BSD-style license that can be found in the LICENSE file. 511 // BSD-style license that can be found in the LICENSE file.
484 512
485 513
486 @DocsEditable 514 @DocsEditable
487 @DomName('EXTDrawBuffers') 515 @DomName('EXTDrawBuffers')
488 class ExtDrawBuffers native "EXTDrawBuffers" { 516 class ExtDrawBuffers native "EXTDrawBuffers" {
489 517
518 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT0_EXT')
519 @DocsEditable
490 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0; 520 static const int COLOR_ATTACHMENT0_EXT = 0x8CE0;
491 521
522 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT10_EXT')
523 @DocsEditable
492 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA; 524 static const int COLOR_ATTACHMENT10_EXT = 0x8CEA;
493 525
526 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT11_EXT')
527 @DocsEditable
494 static const int COLOR_ATTACHMENT11_EXT = 0x8CEB; 528 static const int COLOR_ATTACHMENT11_EXT = 0x8CEB;
495 529
530 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT12_EXT')
531 @DocsEditable
496 static const int COLOR_ATTACHMENT12_EXT = 0x8CEC; 532 static const int COLOR_ATTACHMENT12_EXT = 0x8CEC;
497 533
534 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT13_EXT')
535 @DocsEditable
498 static const int COLOR_ATTACHMENT13_EXT = 0x8CED; 536 static const int COLOR_ATTACHMENT13_EXT = 0x8CED;
499 537
538 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT14_EXT')
539 @DocsEditable
500 static const int COLOR_ATTACHMENT14_EXT = 0x8CEE; 540 static const int COLOR_ATTACHMENT14_EXT = 0x8CEE;
501 541
542 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT15_EXT')
543 @DocsEditable
502 static const int COLOR_ATTACHMENT15_EXT = 0x8CEF; 544 static const int COLOR_ATTACHMENT15_EXT = 0x8CEF;
503 545
546 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT1_EXT')
547 @DocsEditable
504 static const int COLOR_ATTACHMENT1_EXT = 0x8CE1; 548 static const int COLOR_ATTACHMENT1_EXT = 0x8CE1;
505 549
550 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT2_EXT')
551 @DocsEditable
506 static const int COLOR_ATTACHMENT2_EXT = 0x8CE2; 552 static const int COLOR_ATTACHMENT2_EXT = 0x8CE2;
507 553
554 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT3_EXT')
555 @DocsEditable
508 static const int COLOR_ATTACHMENT3_EXT = 0x8CE3; 556 static const int COLOR_ATTACHMENT3_EXT = 0x8CE3;
509 557
558 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT4_EXT')
559 @DocsEditable
510 static const int COLOR_ATTACHMENT4_EXT = 0x8CE4; 560 static const int COLOR_ATTACHMENT4_EXT = 0x8CE4;
511 561
562 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT5_EXT')
563 @DocsEditable
512 static const int COLOR_ATTACHMENT5_EXT = 0x8CE5; 564 static const int COLOR_ATTACHMENT5_EXT = 0x8CE5;
513 565
566 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT6_EXT')
567 @DocsEditable
514 static const int COLOR_ATTACHMENT6_EXT = 0x8CE6; 568 static const int COLOR_ATTACHMENT6_EXT = 0x8CE6;
515 569
570 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT7_EXT')
571 @DocsEditable
516 static const int COLOR_ATTACHMENT7_EXT = 0x8CE7; 572 static const int COLOR_ATTACHMENT7_EXT = 0x8CE7;
517 573
574 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT8_EXT')
575 @DocsEditable
518 static const int COLOR_ATTACHMENT8_EXT = 0x8CE8; 576 static const int COLOR_ATTACHMENT8_EXT = 0x8CE8;
519 577
578 @DomName('EXTDrawBuffers.COLOR_ATTACHMENT9_EXT')
579 @DocsEditable
520 static const int COLOR_ATTACHMENT9_EXT = 0x8CE9; 580 static const int COLOR_ATTACHMENT9_EXT = 0x8CE9;
521 581
582 @DomName('EXTDrawBuffers.DRAW_BUFFER0_EXT')
583 @DocsEditable
522 static const int DRAW_BUFFER0_EXT = 0x8825; 584 static const int DRAW_BUFFER0_EXT = 0x8825;
523 585
586 @DomName('EXTDrawBuffers.DRAW_BUFFER10_EXT')
587 @DocsEditable
524 static const int DRAW_BUFFER10_EXT = 0x882F; 588 static const int DRAW_BUFFER10_EXT = 0x882F;
525 589
590 @DomName('EXTDrawBuffers.DRAW_BUFFER11_EXT')
591 @DocsEditable
526 static const int DRAW_BUFFER11_EXT = 0x8830; 592 static const int DRAW_BUFFER11_EXT = 0x8830;
527 593
594 @DomName('EXTDrawBuffers.DRAW_BUFFER12_EXT')
595 @DocsEditable
528 static const int DRAW_BUFFER12_EXT = 0x8831; 596 static const int DRAW_BUFFER12_EXT = 0x8831;
529 597
598 @DomName('EXTDrawBuffers.DRAW_BUFFER13_EXT')
599 @DocsEditable
530 static const int DRAW_BUFFER13_EXT = 0x8832; 600 static const int DRAW_BUFFER13_EXT = 0x8832;
531 601
602 @DomName('EXTDrawBuffers.DRAW_BUFFER14_EXT')
603 @DocsEditable
532 static const int DRAW_BUFFER14_EXT = 0x8833; 604 static const int DRAW_BUFFER14_EXT = 0x8833;
533 605
606 @DomName('EXTDrawBuffers.DRAW_BUFFER15_EXT')
607 @DocsEditable
534 static const int DRAW_BUFFER15_EXT = 0x8834; 608 static const int DRAW_BUFFER15_EXT = 0x8834;
535 609
610 @DomName('EXTDrawBuffers.DRAW_BUFFER1_EXT')
611 @DocsEditable
536 static const int DRAW_BUFFER1_EXT = 0x8826; 612 static const int DRAW_BUFFER1_EXT = 0x8826;
537 613
614 @DomName('EXTDrawBuffers.DRAW_BUFFER2_EXT')
615 @DocsEditable
538 static const int DRAW_BUFFER2_EXT = 0x8827; 616 static const int DRAW_BUFFER2_EXT = 0x8827;
539 617
618 @DomName('EXTDrawBuffers.DRAW_BUFFER3_EXT')
619 @DocsEditable
540 static const int DRAW_BUFFER3_EXT = 0x8828; 620 static const int DRAW_BUFFER3_EXT = 0x8828;
541 621
622 @DomName('EXTDrawBuffers.DRAW_BUFFER4_EXT')
623 @DocsEditable
542 static const int DRAW_BUFFER4_EXT = 0x8829; 624 static const int DRAW_BUFFER4_EXT = 0x8829;
543 625
626 @DomName('EXTDrawBuffers.DRAW_BUFFER5_EXT')
627 @DocsEditable
544 static const int DRAW_BUFFER5_EXT = 0x882A; 628 static const int DRAW_BUFFER5_EXT = 0x882A;
545 629
630 @DomName('EXTDrawBuffers.DRAW_BUFFER6_EXT')
631 @DocsEditable
546 static const int DRAW_BUFFER6_EXT = 0x882B; 632 static const int DRAW_BUFFER6_EXT = 0x882B;
547 633
634 @DomName('EXTDrawBuffers.DRAW_BUFFER7_EXT')
635 @DocsEditable
548 static const int DRAW_BUFFER7_EXT = 0x882C; 636 static const int DRAW_BUFFER7_EXT = 0x882C;
549 637
638 @DomName('EXTDrawBuffers.DRAW_BUFFER8_EXT')
639 @DocsEditable
550 static const int DRAW_BUFFER8_EXT = 0x882D; 640 static const int DRAW_BUFFER8_EXT = 0x882D;
551 641
642 @DomName('EXTDrawBuffers.DRAW_BUFFER9_EXT')
643 @DocsEditable
552 static const int DRAW_BUFFER9_EXT = 0x882E; 644 static const int DRAW_BUFFER9_EXT = 0x882E;
553 645
646 @DomName('EXTDrawBuffers.MAX_COLOR_ATTACHMENTS_EXT')
647 @DocsEditable
554 static const int MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF; 648 static const int MAX_COLOR_ATTACHMENTS_EXT = 0x8CDF;
555 649
650 @DomName('EXTDrawBuffers.MAX_DRAW_BUFFERS_EXT')
651 @DocsEditable
556 static const int MAX_DRAW_BUFFERS_EXT = 0x8824; 652 static const int MAX_DRAW_BUFFERS_EXT = 0x8824;
557 } 653 }
558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
559 // for details. All rights reserved. Use of this source code is governed by a 655 // for details. All rights reserved. Use of this source code is governed by a
560 // BSD-style license that can be found in the LICENSE file. 656 // BSD-style license that can be found in the LICENSE file.
561 657
562 658
563 @DocsEditable 659 @DocsEditable
564 @DomName('EXTTextureFilterAnisotropic') 660 @DomName('EXTTextureFilterAnisotropic')
565 class ExtTextureFilterAnisotropic native "EXTTextureFilterAnisotropic" { 661 class ExtTextureFilterAnisotropic native "EXTTextureFilterAnisotropic" {
566 662
663 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT')
664 @DocsEditable
567 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; 665 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF;
568 666
667 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT')
668 @DocsEditable
569 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; 669 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE;
570 } 670 }
571 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 671 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
572 // for details. All rights reserved. Use of this source code is governed by a 672 // for details. All rights reserved. Use of this source code is governed by a
573 // BSD-style license that can be found in the LICENSE file. 673 // BSD-style license that can be found in the LICENSE file.
574 674
575 675
576 @DocsEditable 676 @DocsEditable
577 @DomName('WebGLFramebuffer') 677 @DomName('WebGLFramebuffer')
578 class Framebuffer native "WebGLFramebuffer" { 678 class Framebuffer native "WebGLFramebuffer" {
(...skipping 26 matching lines...) Expand all
605 } 705 }
606 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
607 // for details. All rights reserved. Use of this source code is governed by a 707 // for details. All rights reserved. Use of this source code is governed by a
608 // BSD-style license that can be found in the LICENSE file. 708 // BSD-style license that can be found in the LICENSE file.
609 709
610 710
611 @DocsEditable 711 @DocsEditable
612 @DomName('OESStandardDerivatives') 712 @DomName('OESStandardDerivatives')
613 class OesStandardDerivatives native "OESStandardDerivatives" { 713 class OesStandardDerivatives native "OESStandardDerivatives" {
614 714
715 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES')
716 @DocsEditable
615 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; 717 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
616 } 718 }
617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 719 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
618 // for details. All rights reserved. Use of this source code is governed by a 720 // for details. All rights reserved. Use of this source code is governed by a
619 // BSD-style license that can be found in the LICENSE file. 721 // BSD-style license that can be found in the LICENSE file.
620 722
621 723
622 @DocsEditable 724 @DocsEditable
623 @DomName('OESTextureFloat') 725 @DomName('OESTextureFloat')
624 class OesTextureFloat native "OESTextureFloat" { 726 class OesTextureFloat native "OESTextureFloat" {
625 } 727 }
626 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 728 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
627 // for details. All rights reserved. Use of this source code is governed by a 729 // for details. All rights reserved. Use of this source code is governed by a
628 // BSD-style license that can be found in the LICENSE file. 730 // BSD-style license that can be found in the LICENSE file.
629 731
630 732
631 @DocsEditable 733 @DocsEditable
632 @DomName('OESTextureHalfFloat') 734 @DomName('OESTextureHalfFloat')
633 class OesTextureHalfFloat native "OESTextureHalfFloat" { 735 class OesTextureHalfFloat native "OESTextureHalfFloat" {
634 } 736 }
635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
636 // for details. All rights reserved. Use of this source code is governed by a 738 // for details. All rights reserved. Use of this source code is governed by a
637 // BSD-style license that can be found in the LICENSE file. 739 // BSD-style license that can be found in the LICENSE file.
638 740
639 741
640 @DocsEditable 742 @DocsEditable
641 @DomName('OESVertexArrayObject') 743 @DomName('OESVertexArrayObject')
642 class OesVertexArrayObject native "OESVertexArrayObject" { 744 class OesVertexArrayObject native "OESVertexArrayObject" {
643 745
746 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES')
747 @DocsEditable
644 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; 748 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5;
645 749
646 @JSName('bindVertexArrayOES') 750 @JSName('bindVertexArrayOES')
647 @DomName('OESVertexArrayObject.bindVertexArrayOES') 751 @DomName('OESVertexArrayObject.bindVertexArrayOES')
648 @DocsEditable 752 @DocsEditable
649 void bindVertexArray(VertexArrayObject arrayObject) native; 753 void bindVertexArray(VertexArrayObject arrayObject) native;
650 754
651 @JSName('createVertexArrayOES') 755 @JSName('createVertexArrayOES')
652 @DomName('OESVertexArrayObject.createVertexArrayOES') 756 @DomName('OESVertexArrayObject.createVertexArrayOES')
653 @DocsEditable 757 @DocsEditable
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
689 @DocsEditable 793 @DocsEditable
690 @DomName('WebGLRenderingContext') 794 @DomName('WebGLRenderingContext')
691 @SupportedBrowser(SupportedBrowser.CHROME) 795 @SupportedBrowser(SupportedBrowser.CHROME)
692 @SupportedBrowser(SupportedBrowser.FIREFOX) 796 @SupportedBrowser(SupportedBrowser.FIREFOX)
693 @Experimental 797 @Experimental
694 class RenderingContext extends CanvasRenderingContext native "WebGLRenderingCont ext" { 798 class RenderingContext extends CanvasRenderingContext native "WebGLRenderingCont ext" {
695 799
696 /// Checks if this type is supported on the current platform. 800 /// Checks if this type is supported on the current platform.
697 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)'); 801 static bool get supported => JS('bool', '!!(window.WebGLRenderingContext)');
698 802
803 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES')
804 @DocsEditable
699 static const int ACTIVE_ATTRIBUTES = 0x8B89; 805 static const int ACTIVE_ATTRIBUTES = 0x8B89;
700 806
807 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE')
808 @DocsEditable
701 static const int ACTIVE_TEXTURE = 0x84E0; 809 static const int ACTIVE_TEXTURE = 0x84E0;
702 810
811 @DomName('WebGLRenderingContext.ACTIVE_UNIFORMS')
812 @DocsEditable
703 static const int ACTIVE_UNIFORMS = 0x8B86; 813 static const int ACTIVE_UNIFORMS = 0x8B86;
704 814
815 @DomName('WebGLRenderingContext.ALIASED_LINE_WIDTH_RANGE')
816 @DocsEditable
705 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E; 817 static const int ALIASED_LINE_WIDTH_RANGE = 0x846E;
706 818
819 @DomName('WebGLRenderingContext.ALIASED_POINT_SIZE_RANGE')
820 @DocsEditable
707 static const int ALIASED_POINT_SIZE_RANGE = 0x846D; 821 static const int ALIASED_POINT_SIZE_RANGE = 0x846D;
708 822
823 @DomName('WebGLRenderingContext.ALPHA')
824 @DocsEditable
709 static const int ALPHA = 0x1906; 825 static const int ALPHA = 0x1906;
710 826
827 @DomName('WebGLRenderingContext.ALPHA_BITS')
828 @DocsEditable
711 static const int ALPHA_BITS = 0x0D55; 829 static const int ALPHA_BITS = 0x0D55;
712 830
831 @DomName('WebGLRenderingContext.ALWAYS')
832 @DocsEditable
713 static const int ALWAYS = 0x0207; 833 static const int ALWAYS = 0x0207;
714 834
835 @DomName('WebGLRenderingContext.ARRAY_BUFFER')
836 @DocsEditable
715 static const int ARRAY_BUFFER = 0x8892; 837 static const int ARRAY_BUFFER = 0x8892;
716 838
839 @DomName('WebGLRenderingContext.ARRAY_BUFFER_BINDING')
840 @DocsEditable
717 static const int ARRAY_BUFFER_BINDING = 0x8894; 841 static const int ARRAY_BUFFER_BINDING = 0x8894;
718 842
843 @DomName('WebGLRenderingContext.ATTACHED_SHADERS')
844 @DocsEditable
719 static const int ATTACHED_SHADERS = 0x8B85; 845 static const int ATTACHED_SHADERS = 0x8B85;
720 846
847 @DomName('WebGLRenderingContext.BACK')
848 @DocsEditable
721 static const int BACK = 0x0405; 849 static const int BACK = 0x0405;
722 850
851 @DomName('WebGLRenderingContext.BLEND')
852 @DocsEditable
723 static const int BLEND = 0x0BE2; 853 static const int BLEND = 0x0BE2;
724 854
855 @DomName('WebGLRenderingContext.BLEND_COLOR')
856 @DocsEditable
725 static const int BLEND_COLOR = 0x8005; 857 static const int BLEND_COLOR = 0x8005;
726 858
859 @DomName('WebGLRenderingContext.BLEND_DST_ALPHA')
860 @DocsEditable
727 static const int BLEND_DST_ALPHA = 0x80CA; 861 static const int BLEND_DST_ALPHA = 0x80CA;
728 862
863 @DomName('WebGLRenderingContext.BLEND_DST_RGB')
864 @DocsEditable
729 static const int BLEND_DST_RGB = 0x80C8; 865 static const int BLEND_DST_RGB = 0x80C8;
730 866
867 @DomName('WebGLRenderingContext.BLEND_EQUATION')
868 @DocsEditable
731 static const int BLEND_EQUATION = 0x8009; 869 static const int BLEND_EQUATION = 0x8009;
732 870
871 @DomName('WebGLRenderingContext.BLEND_EQUATION_ALPHA')
872 @DocsEditable
733 static const int BLEND_EQUATION_ALPHA = 0x883D; 873 static const int BLEND_EQUATION_ALPHA = 0x883D;
734 874
875 @DomName('WebGLRenderingContext.BLEND_EQUATION_RGB')
876 @DocsEditable
735 static const int BLEND_EQUATION_RGB = 0x8009; 877 static const int BLEND_EQUATION_RGB = 0x8009;
736 878
879 @DomName('WebGLRenderingContext.BLEND_SRC_ALPHA')
880 @DocsEditable
737 static const int BLEND_SRC_ALPHA = 0x80CB; 881 static const int BLEND_SRC_ALPHA = 0x80CB;
738 882
883 @DomName('WebGLRenderingContext.BLEND_SRC_RGB')
884 @DocsEditable
739 static const int BLEND_SRC_RGB = 0x80C9; 885 static const int BLEND_SRC_RGB = 0x80C9;
740 886
887 @DomName('WebGLRenderingContext.BLUE_BITS')
888 @DocsEditable
741 static const int BLUE_BITS = 0x0D54; 889 static const int BLUE_BITS = 0x0D54;
742 890
891 @DomName('WebGLRenderingContext.BOOL')
892 @DocsEditable
743 static const int BOOL = 0x8B56; 893 static const int BOOL = 0x8B56;
744 894
895 @DomName('WebGLRenderingContext.BOOL_VEC2')
896 @DocsEditable
745 static const int BOOL_VEC2 = 0x8B57; 897 static const int BOOL_VEC2 = 0x8B57;
746 898
899 @DomName('WebGLRenderingContext.BOOL_VEC3')
900 @DocsEditable
747 static const int BOOL_VEC3 = 0x8B58; 901 static const int BOOL_VEC3 = 0x8B58;
748 902
903 @DomName('WebGLRenderingContext.BOOL_VEC4')
904 @DocsEditable
749 static const int BOOL_VEC4 = 0x8B59; 905 static const int BOOL_VEC4 = 0x8B59;
750 906
907 @DomName('WebGLRenderingContext.BROWSER_DEFAULT_WEBGL')
908 @DocsEditable
751 static const int BROWSER_DEFAULT_WEBGL = 0x9244; 909 static const int BROWSER_DEFAULT_WEBGL = 0x9244;
752 910
911 @DomName('WebGLRenderingContext.BUFFER_SIZE')
912 @DocsEditable
753 static const int BUFFER_SIZE = 0x8764; 913 static const int BUFFER_SIZE = 0x8764;
754 914
915 @DomName('WebGLRenderingContext.BUFFER_USAGE')
916 @DocsEditable
755 static const int BUFFER_USAGE = 0x8765; 917 static const int BUFFER_USAGE = 0x8765;
756 918
919 @DomName('WebGLRenderingContext.BYTE')
920 @DocsEditable
757 static const int BYTE = 0x1400; 921 static const int BYTE = 0x1400;
758 922
923 @DomName('WebGLRenderingContext.CCW')
924 @DocsEditable
759 static const int CCW = 0x0901; 925 static const int CCW = 0x0901;
760 926
927 @DomName('WebGLRenderingContext.CLAMP_TO_EDGE')
928 @DocsEditable
761 static const int CLAMP_TO_EDGE = 0x812F; 929 static const int CLAMP_TO_EDGE = 0x812F;
762 930
931 @DomName('WebGLRenderingContext.COLOR_ATTACHMENT0')
932 @DocsEditable
763 static const int COLOR_ATTACHMENT0 = 0x8CE0; 933 static const int COLOR_ATTACHMENT0 = 0x8CE0;
764 934
935 @DomName('WebGLRenderingContext.COLOR_BUFFER_BIT')
936 @DocsEditable
765 static const int COLOR_BUFFER_BIT = 0x00004000; 937 static const int COLOR_BUFFER_BIT = 0x00004000;
766 938
939 @DomName('WebGLRenderingContext.COLOR_CLEAR_VALUE')
940 @DocsEditable
767 static const int COLOR_CLEAR_VALUE = 0x0C22; 941 static const int COLOR_CLEAR_VALUE = 0x0C22;
768 942
943 @DomName('WebGLRenderingContext.COLOR_WRITEMASK')
944 @DocsEditable
769 static const int COLOR_WRITEMASK = 0x0C23; 945 static const int COLOR_WRITEMASK = 0x0C23;
770 946
947 @DomName('WebGLRenderingContext.COMPILE_STATUS')
948 @DocsEditable
771 static const int COMPILE_STATUS = 0x8B81; 949 static const int COMPILE_STATUS = 0x8B81;
772 950
951 @DomName('WebGLRenderingContext.COMPRESSED_TEXTURE_FORMATS')
952 @DocsEditable
773 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3; 953 static const int COMPRESSED_TEXTURE_FORMATS = 0x86A3;
774 954
955 @DomName('WebGLRenderingContext.CONSTANT_ALPHA')
956 @DocsEditable
775 static const int CONSTANT_ALPHA = 0x8003; 957 static const int CONSTANT_ALPHA = 0x8003;
776 958
959 @DomName('WebGLRenderingContext.CONSTANT_COLOR')
960 @DocsEditable
777 static const int CONSTANT_COLOR = 0x8001; 961 static const int CONSTANT_COLOR = 0x8001;
778 962
963 @DomName('WebGLRenderingContext.CONTEXT_LOST_WEBGL')
964 @DocsEditable
779 static const int CONTEXT_LOST_WEBGL = 0x9242; 965 static const int CONTEXT_LOST_WEBGL = 0x9242;
780 966
967 @DomName('WebGLRenderingContext.CULL_FACE')
968 @DocsEditable
781 static const int CULL_FACE = 0x0B44; 969 static const int CULL_FACE = 0x0B44;
782 970
971 @DomName('WebGLRenderingContext.CULL_FACE_MODE')
972 @DocsEditable
783 static const int CULL_FACE_MODE = 0x0B45; 973 static const int CULL_FACE_MODE = 0x0B45;
784 974
975 @DomName('WebGLRenderingContext.CURRENT_PROGRAM')
976 @DocsEditable
785 static const int CURRENT_PROGRAM = 0x8B8D; 977 static const int CURRENT_PROGRAM = 0x8B8D;
786 978
979 @DomName('WebGLRenderingContext.CURRENT_VERTEX_ATTRIB')
980 @DocsEditable
787 static const int CURRENT_VERTEX_ATTRIB = 0x8626; 981 static const int CURRENT_VERTEX_ATTRIB = 0x8626;
788 982
983 @DomName('WebGLRenderingContext.CW')
984 @DocsEditable
789 static const int CW = 0x0900; 985 static const int CW = 0x0900;
790 986
987 @DomName('WebGLRenderingContext.DECR')
988 @DocsEditable
791 static const int DECR = 0x1E03; 989 static const int DECR = 0x1E03;
792 990
991 @DomName('WebGLRenderingContext.DECR_WRAP')
992 @DocsEditable
793 static const int DECR_WRAP = 0x8508; 993 static const int DECR_WRAP = 0x8508;
794 994
995 @DomName('WebGLRenderingContext.DELETE_STATUS')
996 @DocsEditable
795 static const int DELETE_STATUS = 0x8B80; 997 static const int DELETE_STATUS = 0x8B80;
796 998
999 @DomName('WebGLRenderingContext.DEPTH_ATTACHMENT')
1000 @DocsEditable
797 static const int DEPTH_ATTACHMENT = 0x8D00; 1001 static const int DEPTH_ATTACHMENT = 0x8D00;
798 1002
1003 @DomName('WebGLRenderingContext.DEPTH_BITS')
1004 @DocsEditable
799 static const int DEPTH_BITS = 0x0D56; 1005 static const int DEPTH_BITS = 0x0D56;
800 1006
1007 @DomName('WebGLRenderingContext.DEPTH_BUFFER_BIT')
1008 @DocsEditable
801 static const int DEPTH_BUFFER_BIT = 0x00000100; 1009 static const int DEPTH_BUFFER_BIT = 0x00000100;
802 1010
1011 @DomName('WebGLRenderingContext.DEPTH_CLEAR_VALUE')
1012 @DocsEditable
803 static const int DEPTH_CLEAR_VALUE = 0x0B73; 1013 static const int DEPTH_CLEAR_VALUE = 0x0B73;
804 1014
1015 @DomName('WebGLRenderingContext.DEPTH_COMPONENT')
1016 @DocsEditable
805 static const int DEPTH_COMPONENT = 0x1902; 1017 static const int DEPTH_COMPONENT = 0x1902;
806 1018
1019 @DomName('WebGLRenderingContext.DEPTH_COMPONENT16')
1020 @DocsEditable
807 static const int DEPTH_COMPONENT16 = 0x81A5; 1021 static const int DEPTH_COMPONENT16 = 0x81A5;
808 1022
1023 @DomName('WebGLRenderingContext.DEPTH_FUNC')
1024 @DocsEditable
809 static const int DEPTH_FUNC = 0x0B74; 1025 static const int DEPTH_FUNC = 0x0B74;
810 1026
1027 @DomName('WebGLRenderingContext.DEPTH_RANGE')
1028 @DocsEditable
811 static const int DEPTH_RANGE = 0x0B70; 1029 static const int DEPTH_RANGE = 0x0B70;
812 1030
1031 @DomName('WebGLRenderingContext.DEPTH_STENCIL')
1032 @DocsEditable
813 static const int DEPTH_STENCIL = 0x84F9; 1033 static const int DEPTH_STENCIL = 0x84F9;
814 1034
1035 @DomName('WebGLRenderingContext.DEPTH_STENCIL_ATTACHMENT')
1036 @DocsEditable
815 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A; 1037 static const int DEPTH_STENCIL_ATTACHMENT = 0x821A;
816 1038
1039 @DomName('WebGLRenderingContext.DEPTH_TEST')
1040 @DocsEditable
817 static const int DEPTH_TEST = 0x0B71; 1041 static const int DEPTH_TEST = 0x0B71;
818 1042
1043 @DomName('WebGLRenderingContext.DEPTH_WRITEMASK')
1044 @DocsEditable
819 static const int DEPTH_WRITEMASK = 0x0B72; 1045 static const int DEPTH_WRITEMASK = 0x0B72;
820 1046
1047 @DomName('WebGLRenderingContext.DITHER')
1048 @DocsEditable
821 static const int DITHER = 0x0BD0; 1049 static const int DITHER = 0x0BD0;
822 1050
1051 @DomName('WebGLRenderingContext.DONT_CARE')
1052 @DocsEditable
823 static const int DONT_CARE = 0x1100; 1053 static const int DONT_CARE = 0x1100;
824 1054
1055 @DomName('WebGLRenderingContext.DST_ALPHA')
1056 @DocsEditable
825 static const int DST_ALPHA = 0x0304; 1057 static const int DST_ALPHA = 0x0304;
826 1058
1059 @DomName('WebGLRenderingContext.DST_COLOR')
1060 @DocsEditable
827 static const int DST_COLOR = 0x0306; 1061 static const int DST_COLOR = 0x0306;
828 1062
1063 @DomName('WebGLRenderingContext.DYNAMIC_DRAW')
1064 @DocsEditable
829 static const int DYNAMIC_DRAW = 0x88E8; 1065 static const int DYNAMIC_DRAW = 0x88E8;
830 1066
1067 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER')
1068 @DocsEditable
831 static const int ELEMENT_ARRAY_BUFFER = 0x8893; 1069 static const int ELEMENT_ARRAY_BUFFER = 0x8893;
832 1070
1071 @DomName('WebGLRenderingContext.ELEMENT_ARRAY_BUFFER_BINDING')
1072 @DocsEditable
833 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895; 1073 static const int ELEMENT_ARRAY_BUFFER_BINDING = 0x8895;
834 1074
1075 @DomName('WebGLRenderingContext.EQUAL')
1076 @DocsEditable
835 static const int EQUAL = 0x0202; 1077 static const int EQUAL = 0x0202;
836 1078
1079 @DomName('WebGLRenderingContext.FASTEST')
1080 @DocsEditable
837 static const int FASTEST = 0x1101; 1081 static const int FASTEST = 0x1101;
838 1082
1083 @DomName('WebGLRenderingContext.FLOAT')
1084 @DocsEditable
839 static const int FLOAT = 0x1406; 1085 static const int FLOAT = 0x1406;
840 1086
1087 @DomName('WebGLRenderingContext.FLOAT_MAT2')
1088 @DocsEditable
841 static const int FLOAT_MAT2 = 0x8B5A; 1089 static const int FLOAT_MAT2 = 0x8B5A;
842 1090
1091 @DomName('WebGLRenderingContext.FLOAT_MAT3')
1092 @DocsEditable
843 static const int FLOAT_MAT3 = 0x8B5B; 1093 static const int FLOAT_MAT3 = 0x8B5B;
844 1094
1095 @DomName('WebGLRenderingContext.FLOAT_MAT4')
1096 @DocsEditable
845 static const int FLOAT_MAT4 = 0x8B5C; 1097 static const int FLOAT_MAT4 = 0x8B5C;
846 1098
1099 @DomName('WebGLRenderingContext.FLOAT_VEC2')
1100 @DocsEditable
847 static const int FLOAT_VEC2 = 0x8B50; 1101 static const int FLOAT_VEC2 = 0x8B50;
848 1102
1103 @DomName('WebGLRenderingContext.FLOAT_VEC3')
1104 @DocsEditable
849 static const int FLOAT_VEC3 = 0x8B51; 1105 static const int FLOAT_VEC3 = 0x8B51;
850 1106
1107 @DomName('WebGLRenderingContext.FLOAT_VEC4')
1108 @DocsEditable
851 static const int FLOAT_VEC4 = 0x8B52; 1109 static const int FLOAT_VEC4 = 0x8B52;
852 1110
1111 @DomName('WebGLRenderingContext.FRAGMENT_SHADER')
1112 @DocsEditable
853 static const int FRAGMENT_SHADER = 0x8B30; 1113 static const int FRAGMENT_SHADER = 0x8B30;
854 1114
1115 @DomName('WebGLRenderingContext.FRAMEBUFFER')
1116 @DocsEditable
855 static const int FRAMEBUFFER = 0x8D40; 1117 static const int FRAMEBUFFER = 0x8D40;
856 1118
1119 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_NAME')
1120 @DocsEditable
857 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1; 1121 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_NAME = 0x8CD1;
858 1122
1123 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE')
1124 @DocsEditable
859 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0; 1125 static const int FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE = 0x8CD0;
860 1126
1127 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE')
1128 @DocsEditable
861 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3; 1129 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE = 0x8CD3;
862 1130
1131 @DomName('WebGLRenderingContext.FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL')
1132 @DocsEditable
863 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2; 1133 static const int FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL = 0x8CD2;
864 1134
1135 @DomName('WebGLRenderingContext.FRAMEBUFFER_BINDING')
1136 @DocsEditable
865 static const int FRAMEBUFFER_BINDING = 0x8CA6; 1137 static const int FRAMEBUFFER_BINDING = 0x8CA6;
866 1138
1139 @DomName('WebGLRenderingContext.FRAMEBUFFER_COMPLETE')
1140 @DocsEditable
867 static const int FRAMEBUFFER_COMPLETE = 0x8CD5; 1141 static const int FRAMEBUFFER_COMPLETE = 0x8CD5;
868 1142
1143 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_ATTACHMENT')
1144 @DocsEditable
869 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6; 1145 static const int FRAMEBUFFER_INCOMPLETE_ATTACHMENT = 0x8CD6;
870 1146
1147 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_DIMENSIONS')
1148 @DocsEditable
871 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9; 1149 static const int FRAMEBUFFER_INCOMPLETE_DIMENSIONS = 0x8CD9;
872 1150
1151 @DomName('WebGLRenderingContext.FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT')
1152 @DocsEditable
873 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7; 1153 static const int FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT = 0x8CD7;
874 1154
1155 @DomName('WebGLRenderingContext.FRAMEBUFFER_UNSUPPORTED')
1156 @DocsEditable
875 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD; 1157 static const int FRAMEBUFFER_UNSUPPORTED = 0x8CDD;
876 1158
1159 @DomName('WebGLRenderingContext.FRONT')
1160 @DocsEditable
877 static const int FRONT = 0x0404; 1161 static const int FRONT = 0x0404;
878 1162
1163 @DomName('WebGLRenderingContext.FRONT_AND_BACK')
1164 @DocsEditable
879 static const int FRONT_AND_BACK = 0x0408; 1165 static const int FRONT_AND_BACK = 0x0408;
880 1166
1167 @DomName('WebGLRenderingContext.FRONT_FACE')
1168 @DocsEditable
881 static const int FRONT_FACE = 0x0B46; 1169 static const int FRONT_FACE = 0x0B46;
882 1170
1171 @DomName('WebGLRenderingContext.FUNC_ADD')
1172 @DocsEditable
883 static const int FUNC_ADD = 0x8006; 1173 static const int FUNC_ADD = 0x8006;
884 1174
1175 @DomName('WebGLRenderingContext.FUNC_REVERSE_SUBTRACT')
1176 @DocsEditable
885 static const int FUNC_REVERSE_SUBTRACT = 0x800B; 1177 static const int FUNC_REVERSE_SUBTRACT = 0x800B;
886 1178
1179 @DomName('WebGLRenderingContext.FUNC_SUBTRACT')
1180 @DocsEditable
887 static const int FUNC_SUBTRACT = 0x800A; 1181 static const int FUNC_SUBTRACT = 0x800A;
888 1182
1183 @DomName('WebGLRenderingContext.GENERATE_MIPMAP_HINT')
1184 @DocsEditable
889 static const int GENERATE_MIPMAP_HINT = 0x8192; 1185 static const int GENERATE_MIPMAP_HINT = 0x8192;
890 1186
1187 @DomName('WebGLRenderingContext.GEQUAL')
1188 @DocsEditable
891 static const int GEQUAL = 0x0206; 1189 static const int GEQUAL = 0x0206;
892 1190
1191 @DomName('WebGLRenderingContext.GREATER')
1192 @DocsEditable
893 static const int GREATER = 0x0204; 1193 static const int GREATER = 0x0204;
894 1194
1195 @DomName('WebGLRenderingContext.GREEN_BITS')
1196 @DocsEditable
895 static const int GREEN_BITS = 0x0D53; 1197 static const int GREEN_BITS = 0x0D53;
896 1198
1199 @DomName('WebGLRenderingContext.HALF_FLOAT_OES')
1200 @DocsEditable
897 static const int HALF_FLOAT_OES = 0x8D61; 1201 static const int HALF_FLOAT_OES = 0x8D61;
898 1202
1203 @DomName('WebGLRenderingContext.HIGH_FLOAT')
1204 @DocsEditable
899 static const int HIGH_FLOAT = 0x8DF2; 1205 static const int HIGH_FLOAT = 0x8DF2;
900 1206
1207 @DomName('WebGLRenderingContext.HIGH_INT')
1208 @DocsEditable
901 static const int HIGH_INT = 0x8DF5; 1209 static const int HIGH_INT = 0x8DF5;
902 1210
1211 @DomName('WebGLRenderingContext.INCR')
1212 @DocsEditable
903 static const int INCR = 0x1E02; 1213 static const int INCR = 0x1E02;
904 1214
1215 @DomName('WebGLRenderingContext.INCR_WRAP')
1216 @DocsEditable
905 static const int INCR_WRAP = 0x8507; 1217 static const int INCR_WRAP = 0x8507;
906 1218
1219 @DomName('WebGLRenderingContext.INT')
1220 @DocsEditable
907 static const int INT = 0x1404; 1221 static const int INT = 0x1404;
908 1222
1223 @DomName('WebGLRenderingContext.INT_VEC2')
1224 @DocsEditable
909 static const int INT_VEC2 = 0x8B53; 1225 static const int INT_VEC2 = 0x8B53;
910 1226
1227 @DomName('WebGLRenderingContext.INT_VEC3')
1228 @DocsEditable
911 static const int INT_VEC3 = 0x8B54; 1229 static const int INT_VEC3 = 0x8B54;
912 1230
1231 @DomName('WebGLRenderingContext.INT_VEC4')
1232 @DocsEditable
913 static const int INT_VEC4 = 0x8B55; 1233 static const int INT_VEC4 = 0x8B55;
914 1234
1235 @DomName('WebGLRenderingContext.INVALID_ENUM')
1236 @DocsEditable
915 static const int INVALID_ENUM = 0x0500; 1237 static const int INVALID_ENUM = 0x0500;
916 1238
1239 @DomName('WebGLRenderingContext.INVALID_FRAMEBUFFER_OPERATION')
1240 @DocsEditable
917 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506; 1241 static const int INVALID_FRAMEBUFFER_OPERATION = 0x0506;
918 1242
1243 @DomName('WebGLRenderingContext.INVALID_OPERATION')
1244 @DocsEditable
919 static const int INVALID_OPERATION = 0x0502; 1245 static const int INVALID_OPERATION = 0x0502;
920 1246
1247 @DomName('WebGLRenderingContext.INVALID_VALUE')
1248 @DocsEditable
921 static const int INVALID_VALUE = 0x0501; 1249 static const int INVALID_VALUE = 0x0501;
922 1250
1251 @DomName('WebGLRenderingContext.INVERT')
1252 @DocsEditable
923 static const int INVERT = 0x150A; 1253 static const int INVERT = 0x150A;
924 1254
1255 @DomName('WebGLRenderingContext.KEEP')
1256 @DocsEditable
925 static const int KEEP = 0x1E00; 1257 static const int KEEP = 0x1E00;
926 1258
1259 @DomName('WebGLRenderingContext.LEQUAL')
1260 @DocsEditable
927 static const int LEQUAL = 0x0203; 1261 static const int LEQUAL = 0x0203;
928 1262
1263 @DomName('WebGLRenderingContext.LESS')
1264 @DocsEditable
929 static const int LESS = 0x0201; 1265 static const int LESS = 0x0201;
930 1266
1267 @DomName('WebGLRenderingContext.LINEAR')
1268 @DocsEditable
931 static const int LINEAR = 0x2601; 1269 static const int LINEAR = 0x2601;
932 1270
1271 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_LINEAR')
1272 @DocsEditable
933 static const int LINEAR_MIPMAP_LINEAR = 0x2703; 1273 static const int LINEAR_MIPMAP_LINEAR = 0x2703;
934 1274
1275 @DomName('WebGLRenderingContext.LINEAR_MIPMAP_NEAREST')
1276 @DocsEditable
935 static const int LINEAR_MIPMAP_NEAREST = 0x2701; 1277 static const int LINEAR_MIPMAP_NEAREST = 0x2701;
936 1278
1279 @DomName('WebGLRenderingContext.LINES')
1280 @DocsEditable
937 static const int LINES = 0x0001; 1281 static const int LINES = 0x0001;
938 1282
1283 @DomName('WebGLRenderingContext.LINE_LOOP')
1284 @DocsEditable
939 static const int LINE_LOOP = 0x0002; 1285 static const int LINE_LOOP = 0x0002;
940 1286
1287 @DomName('WebGLRenderingContext.LINE_STRIP')
1288 @DocsEditable
941 static const int LINE_STRIP = 0x0003; 1289 static const int LINE_STRIP = 0x0003;
942 1290
1291 @DomName('WebGLRenderingContext.LINE_WIDTH')
1292 @DocsEditable
943 static const int LINE_WIDTH = 0x0B21; 1293 static const int LINE_WIDTH = 0x0B21;
944 1294
1295 @DomName('WebGLRenderingContext.LINK_STATUS')
1296 @DocsEditable
945 static const int LINK_STATUS = 0x8B82; 1297 static const int LINK_STATUS = 0x8B82;
946 1298
1299 @DomName('WebGLRenderingContext.LOW_FLOAT')
1300 @DocsEditable
947 static const int LOW_FLOAT = 0x8DF0; 1301 static const int LOW_FLOAT = 0x8DF0;
948 1302
1303 @DomName('WebGLRenderingContext.LOW_INT')
1304 @DocsEditable
949 static const int LOW_INT = 0x8DF3; 1305 static const int LOW_INT = 0x8DF3;
950 1306
1307 @DomName('WebGLRenderingContext.LUMINANCE')
1308 @DocsEditable
951 static const int LUMINANCE = 0x1909; 1309 static const int LUMINANCE = 0x1909;
952 1310
1311 @DomName('WebGLRenderingContext.LUMINANCE_ALPHA')
1312 @DocsEditable
953 static const int LUMINANCE_ALPHA = 0x190A; 1313 static const int LUMINANCE_ALPHA = 0x190A;
954 1314
1315 @DomName('WebGLRenderingContext.MAX_COMBINED_TEXTURE_IMAGE_UNITS')
1316 @DocsEditable
955 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D; 1317 static const int MAX_COMBINED_TEXTURE_IMAGE_UNITS = 0x8B4D;
956 1318
1319 @DomName('WebGLRenderingContext.MAX_CUBE_MAP_TEXTURE_SIZE')
1320 @DocsEditable
957 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C; 1321 static const int MAX_CUBE_MAP_TEXTURE_SIZE = 0x851C;
958 1322
1323 @DomName('WebGLRenderingContext.MAX_FRAGMENT_UNIFORM_VECTORS')
1324 @DocsEditable
959 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD; 1325 static const int MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD;
960 1326
1327 @DomName('WebGLRenderingContext.MAX_RENDERBUFFER_SIZE')
1328 @DocsEditable
961 static const int MAX_RENDERBUFFER_SIZE = 0x84E8; 1329 static const int MAX_RENDERBUFFER_SIZE = 0x84E8;
962 1330
1331 @DomName('WebGLRenderingContext.MAX_TEXTURE_IMAGE_UNITS')
1332 @DocsEditable
963 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872; 1333 static const int MAX_TEXTURE_IMAGE_UNITS = 0x8872;
964 1334
1335 @DomName('WebGLRenderingContext.MAX_TEXTURE_SIZE')
1336 @DocsEditable
965 static const int MAX_TEXTURE_SIZE = 0x0D33; 1337 static const int MAX_TEXTURE_SIZE = 0x0D33;
966 1338
1339 @DomName('WebGLRenderingContext.MAX_VARYING_VECTORS')
1340 @DocsEditable
967 static const int MAX_VARYING_VECTORS = 0x8DFC; 1341 static const int MAX_VARYING_VECTORS = 0x8DFC;
968 1342
1343 @DomName('WebGLRenderingContext.MAX_VERTEX_ATTRIBS')
1344 @DocsEditable
969 static const int MAX_VERTEX_ATTRIBS = 0x8869; 1345 static const int MAX_VERTEX_ATTRIBS = 0x8869;
970 1346
1347 @DomName('WebGLRenderingContext.MAX_VERTEX_TEXTURE_IMAGE_UNITS')
1348 @DocsEditable
971 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C; 1349 static const int MAX_VERTEX_TEXTURE_IMAGE_UNITS = 0x8B4C;
972 1350
1351 @DomName('WebGLRenderingContext.MAX_VERTEX_UNIFORM_VECTORS')
1352 @DocsEditable
973 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB; 1353 static const int MAX_VERTEX_UNIFORM_VECTORS = 0x8DFB;
974 1354
1355 @DomName('WebGLRenderingContext.MAX_VIEWPORT_DIMS')
1356 @DocsEditable
975 static const int MAX_VIEWPORT_DIMS = 0x0D3A; 1357 static const int MAX_VIEWPORT_DIMS = 0x0D3A;
976 1358
1359 @DomName('WebGLRenderingContext.MEDIUM_FLOAT')
1360 @DocsEditable
977 static const int MEDIUM_FLOAT = 0x8DF1; 1361 static const int MEDIUM_FLOAT = 0x8DF1;
978 1362
1363 @DomName('WebGLRenderingContext.MEDIUM_INT')
1364 @DocsEditable
979 static const int MEDIUM_INT = 0x8DF4; 1365 static const int MEDIUM_INT = 0x8DF4;
980 1366
1367 @DomName('WebGLRenderingContext.MIRRORED_REPEAT')
1368 @DocsEditable
981 static const int MIRRORED_REPEAT = 0x8370; 1369 static const int MIRRORED_REPEAT = 0x8370;
982 1370
1371 @DomName('WebGLRenderingContext.NEAREST')
1372 @DocsEditable
983 static const int NEAREST = 0x2600; 1373 static const int NEAREST = 0x2600;
984 1374
1375 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_LINEAR')
1376 @DocsEditable
985 static const int NEAREST_MIPMAP_LINEAR = 0x2702; 1377 static const int NEAREST_MIPMAP_LINEAR = 0x2702;
986 1378
1379 @DomName('WebGLRenderingContext.NEAREST_MIPMAP_NEAREST')
1380 @DocsEditable
987 static const int NEAREST_MIPMAP_NEAREST = 0x2700; 1381 static const int NEAREST_MIPMAP_NEAREST = 0x2700;
988 1382
1383 @DomName('WebGLRenderingContext.NEVER')
1384 @DocsEditable
989 static const int NEVER = 0x0200; 1385 static const int NEVER = 0x0200;
990 1386
1387 @DomName('WebGLRenderingContext.NICEST')
1388 @DocsEditable
991 static const int NICEST = 0x1102; 1389 static const int NICEST = 0x1102;
992 1390
1391 @DomName('WebGLRenderingContext.NONE')
1392 @DocsEditable
993 static const int NONE = 0; 1393 static const int NONE = 0;
994 1394
1395 @DomName('WebGLRenderingContext.NOTEQUAL')
1396 @DocsEditable
995 static const int NOTEQUAL = 0x0205; 1397 static const int NOTEQUAL = 0x0205;
996 1398
1399 @DomName('WebGLRenderingContext.NO_ERROR')
1400 @DocsEditable
997 static const int NO_ERROR = 0; 1401 static const int NO_ERROR = 0;
998 1402
1403 @DomName('WebGLRenderingContext.ONE')
1404 @DocsEditable
999 static const int ONE = 1; 1405 static const int ONE = 1;
1000 1406
1407 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_ALPHA')
1408 @DocsEditable
1001 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004; 1409 static const int ONE_MINUS_CONSTANT_ALPHA = 0x8004;
1002 1410
1411 @DomName('WebGLRenderingContext.ONE_MINUS_CONSTANT_COLOR')
1412 @DocsEditable
1003 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002; 1413 static const int ONE_MINUS_CONSTANT_COLOR = 0x8002;
1004 1414
1415 @DomName('WebGLRenderingContext.ONE_MINUS_DST_ALPHA')
1416 @DocsEditable
1005 static const int ONE_MINUS_DST_ALPHA = 0x0305; 1417 static const int ONE_MINUS_DST_ALPHA = 0x0305;
1006 1418
1419 @DomName('WebGLRenderingContext.ONE_MINUS_DST_COLOR')
1420 @DocsEditable
1007 static const int ONE_MINUS_DST_COLOR = 0x0307; 1421 static const int ONE_MINUS_DST_COLOR = 0x0307;
1008 1422
1423 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_ALPHA')
1424 @DocsEditable
1009 static const int ONE_MINUS_SRC_ALPHA = 0x0303; 1425 static const int ONE_MINUS_SRC_ALPHA = 0x0303;
1010 1426
1427 @DomName('WebGLRenderingContext.ONE_MINUS_SRC_COLOR')
1428 @DocsEditable
1011 static const int ONE_MINUS_SRC_COLOR = 0x0301; 1429 static const int ONE_MINUS_SRC_COLOR = 0x0301;
1012 1430
1431 @DomName('WebGLRenderingContext.OUT_OF_MEMORY')
1432 @DocsEditable
1013 static const int OUT_OF_MEMORY = 0x0505; 1433 static const int OUT_OF_MEMORY = 0x0505;
1014 1434
1435 @DomName('WebGLRenderingContext.PACK_ALIGNMENT')
1436 @DocsEditable
1015 static const int PACK_ALIGNMENT = 0x0D05; 1437 static const int PACK_ALIGNMENT = 0x0D05;
1016 1438
1439 @DomName('WebGLRenderingContext.POINTS')
1440 @DocsEditable
1017 static const int POINTS = 0x0000; 1441 static const int POINTS = 0x0000;
1018 1442
1443 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FACTOR')
1444 @DocsEditable
1019 static const int POLYGON_OFFSET_FACTOR = 0x8038; 1445 static const int POLYGON_OFFSET_FACTOR = 0x8038;
1020 1446
1447 @DomName('WebGLRenderingContext.POLYGON_OFFSET_FILL')
1448 @DocsEditable
1021 static const int POLYGON_OFFSET_FILL = 0x8037; 1449 static const int POLYGON_OFFSET_FILL = 0x8037;
1022 1450
1451 @DomName('WebGLRenderingContext.POLYGON_OFFSET_UNITS')
1452 @DocsEditable
1023 static const int POLYGON_OFFSET_UNITS = 0x2A00; 1453 static const int POLYGON_OFFSET_UNITS = 0x2A00;
1024 1454
1455 @DomName('WebGLRenderingContext.RED_BITS')
1456 @DocsEditable
1025 static const int RED_BITS = 0x0D52; 1457 static const int RED_BITS = 0x0D52;
1026 1458
1459 @DomName('WebGLRenderingContext.RENDERBUFFER')
1460 @DocsEditable
1027 static const int RENDERBUFFER = 0x8D41; 1461 static const int RENDERBUFFER = 0x8D41;
1028 1462
1463 @DomName('WebGLRenderingContext.RENDERBUFFER_ALPHA_SIZE')
1464 @DocsEditable
1029 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53; 1465 static const int RENDERBUFFER_ALPHA_SIZE = 0x8D53;
1030 1466
1467 @DomName('WebGLRenderingContext.RENDERBUFFER_BINDING')
1468 @DocsEditable
1031 static const int RENDERBUFFER_BINDING = 0x8CA7; 1469 static const int RENDERBUFFER_BINDING = 0x8CA7;
1032 1470
1471 @DomName('WebGLRenderingContext.RENDERBUFFER_BLUE_SIZE')
1472 @DocsEditable
1033 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52; 1473 static const int RENDERBUFFER_BLUE_SIZE = 0x8D52;
1034 1474
1475 @DomName('WebGLRenderingContext.RENDERBUFFER_DEPTH_SIZE')
1476 @DocsEditable
1035 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54; 1477 static const int RENDERBUFFER_DEPTH_SIZE = 0x8D54;
1036 1478
1479 @DomName('WebGLRenderingContext.RENDERBUFFER_GREEN_SIZE')
1480 @DocsEditable
1037 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51; 1481 static const int RENDERBUFFER_GREEN_SIZE = 0x8D51;
1038 1482
1483 @DomName('WebGLRenderingContext.RENDERBUFFER_HEIGHT')
1484 @DocsEditable
1039 static const int RENDERBUFFER_HEIGHT = 0x8D43; 1485 static const int RENDERBUFFER_HEIGHT = 0x8D43;
1040 1486
1487 @DomName('WebGLRenderingContext.RENDERBUFFER_INTERNAL_FORMAT')
1488 @DocsEditable
1041 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44; 1489 static const int RENDERBUFFER_INTERNAL_FORMAT = 0x8D44;
1042 1490
1491 @DomName('WebGLRenderingContext.RENDERBUFFER_RED_SIZE')
1492 @DocsEditable
1043 static const int RENDERBUFFER_RED_SIZE = 0x8D50; 1493 static const int RENDERBUFFER_RED_SIZE = 0x8D50;
1044 1494
1495 @DomName('WebGLRenderingContext.RENDERBUFFER_STENCIL_SIZE')
1496 @DocsEditable
1045 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55; 1497 static const int RENDERBUFFER_STENCIL_SIZE = 0x8D55;
1046 1498
1499 @DomName('WebGLRenderingContext.RENDERBUFFER_WIDTH')
1500 @DocsEditable
1047 static const int RENDERBUFFER_WIDTH = 0x8D42; 1501 static const int RENDERBUFFER_WIDTH = 0x8D42;
1048 1502
1503 @DomName('WebGLRenderingContext.RENDERER')
1504 @DocsEditable
1049 static const int RENDERER = 0x1F01; 1505 static const int RENDERER = 0x1F01;
1050 1506
1507 @DomName('WebGLRenderingContext.REPEAT')
1508 @DocsEditable
1051 static const int REPEAT = 0x2901; 1509 static const int REPEAT = 0x2901;
1052 1510
1511 @DomName('WebGLRenderingContext.REPLACE')
1512 @DocsEditable
1053 static const int REPLACE = 0x1E01; 1513 static const int REPLACE = 0x1E01;
1054 1514
1515 @DomName('WebGLRenderingContext.RGB')
1516 @DocsEditable
1055 static const int RGB = 0x1907; 1517 static const int RGB = 0x1907;
1056 1518
1519 @DomName('WebGLRenderingContext.RGB565')
1520 @DocsEditable
1057 static const int RGB565 = 0x8D62; 1521 static const int RGB565 = 0x8D62;
1058 1522
1523 @DomName('WebGLRenderingContext.RGB5_A1')
1524 @DocsEditable
1059 static const int RGB5_A1 = 0x8057; 1525 static const int RGB5_A1 = 0x8057;
1060 1526
1527 @DomName('WebGLRenderingContext.RGBA')
1528 @DocsEditable
1061 static const int RGBA = 0x1908; 1529 static const int RGBA = 0x1908;
1062 1530
1531 @DomName('WebGLRenderingContext.RGBA4')
1532 @DocsEditable
1063 static const int RGBA4 = 0x8056; 1533 static const int RGBA4 = 0x8056;
1064 1534
1535 @DomName('WebGLRenderingContext.SAMPLER_2D')
1536 @DocsEditable
1065 static const int SAMPLER_2D = 0x8B5E; 1537 static const int SAMPLER_2D = 0x8B5E;
1066 1538
1539 @DomName('WebGLRenderingContext.SAMPLER_CUBE')
1540 @DocsEditable
1067 static const int SAMPLER_CUBE = 0x8B60; 1541 static const int SAMPLER_CUBE = 0x8B60;
1068 1542
1543 @DomName('WebGLRenderingContext.SAMPLES')
1544 @DocsEditable
1069 static const int SAMPLES = 0x80A9; 1545 static const int SAMPLES = 0x80A9;
1070 1546
1547 @DomName('WebGLRenderingContext.SAMPLE_ALPHA_TO_COVERAGE')
1548 @DocsEditable
1071 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E; 1549 static const int SAMPLE_ALPHA_TO_COVERAGE = 0x809E;
1072 1550
1551 @DomName('WebGLRenderingContext.SAMPLE_BUFFERS')
1552 @DocsEditable
1073 static const int SAMPLE_BUFFERS = 0x80A8; 1553 static const int SAMPLE_BUFFERS = 0x80A8;
1074 1554
1555 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE')
1556 @DocsEditable
1075 static const int SAMPLE_COVERAGE = 0x80A0; 1557 static const int SAMPLE_COVERAGE = 0x80A0;
1076 1558
1559 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_INVERT')
1560 @DocsEditable
1077 static const int SAMPLE_COVERAGE_INVERT = 0x80AB; 1561 static const int SAMPLE_COVERAGE_INVERT = 0x80AB;
1078 1562
1563 @DomName('WebGLRenderingContext.SAMPLE_COVERAGE_VALUE')
1564 @DocsEditable
1079 static const int SAMPLE_COVERAGE_VALUE = 0x80AA; 1565 static const int SAMPLE_COVERAGE_VALUE = 0x80AA;
1080 1566
1567 @DomName('WebGLRenderingContext.SCISSOR_BOX')
1568 @DocsEditable
1081 static const int SCISSOR_BOX = 0x0C10; 1569 static const int SCISSOR_BOX = 0x0C10;
1082 1570
1571 @DomName('WebGLRenderingContext.SCISSOR_TEST')
1572 @DocsEditable
1083 static const int SCISSOR_TEST = 0x0C11; 1573 static const int SCISSOR_TEST = 0x0C11;
1084 1574
1575 @DomName('WebGLRenderingContext.SHADER_TYPE')
1576 @DocsEditable
1085 static const int SHADER_TYPE = 0x8B4F; 1577 static const int SHADER_TYPE = 0x8B4F;
1086 1578
1579 @DomName('WebGLRenderingContext.SHADING_LANGUAGE_VERSION')
1580 @DocsEditable
1087 static const int SHADING_LANGUAGE_VERSION = 0x8B8C; 1581 static const int SHADING_LANGUAGE_VERSION = 0x8B8C;
1088 1582
1583 @DomName('WebGLRenderingContext.SHORT')
1584 @DocsEditable
1089 static const int SHORT = 0x1402; 1585 static const int SHORT = 0x1402;
1090 1586
1587 @DomName('WebGLRenderingContext.SRC_ALPHA')
1588 @DocsEditable
1091 static const int SRC_ALPHA = 0x0302; 1589 static const int SRC_ALPHA = 0x0302;
1092 1590
1591 @DomName('WebGLRenderingContext.SRC_ALPHA_SATURATE')
1592 @DocsEditable
1093 static const int SRC_ALPHA_SATURATE = 0x0308; 1593 static const int SRC_ALPHA_SATURATE = 0x0308;
1094 1594
1595 @DomName('WebGLRenderingContext.SRC_COLOR')
1596 @DocsEditable
1095 static const int SRC_COLOR = 0x0300; 1597 static const int SRC_COLOR = 0x0300;
1096 1598
1599 @DomName('WebGLRenderingContext.STATIC_DRAW')
1600 @DocsEditable
1097 static const int STATIC_DRAW = 0x88E4; 1601 static const int STATIC_DRAW = 0x88E4;
1098 1602
1603 @DomName('WebGLRenderingContext.STENCIL_ATTACHMENT')
1604 @DocsEditable
1099 static const int STENCIL_ATTACHMENT = 0x8D20; 1605 static const int STENCIL_ATTACHMENT = 0x8D20;
1100 1606
1607 @DomName('WebGLRenderingContext.STENCIL_BACK_FAIL')
1608 @DocsEditable
1101 static const int STENCIL_BACK_FAIL = 0x8801; 1609 static const int STENCIL_BACK_FAIL = 0x8801;
1102 1610
1611 @DomName('WebGLRenderingContext.STENCIL_BACK_FUNC')
1612 @DocsEditable
1103 static const int STENCIL_BACK_FUNC = 0x8800; 1613 static const int STENCIL_BACK_FUNC = 0x8800;
1104 1614
1615 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_FAIL')
1616 @DocsEditable
1105 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802; 1617 static const int STENCIL_BACK_PASS_DEPTH_FAIL = 0x8802;
1106 1618
1619 @DomName('WebGLRenderingContext.STENCIL_BACK_PASS_DEPTH_PASS')
1620 @DocsEditable
1107 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803; 1621 static const int STENCIL_BACK_PASS_DEPTH_PASS = 0x8803;
1108 1622
1623 @DomName('WebGLRenderingContext.STENCIL_BACK_REF')
1624 @DocsEditable
1109 static const int STENCIL_BACK_REF = 0x8CA3; 1625 static const int STENCIL_BACK_REF = 0x8CA3;
1110 1626
1627 @DomName('WebGLRenderingContext.STENCIL_BACK_VALUE_MASK')
1628 @DocsEditable
1111 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4; 1629 static const int STENCIL_BACK_VALUE_MASK = 0x8CA4;
1112 1630
1631 @DomName('WebGLRenderingContext.STENCIL_BACK_WRITEMASK')
1632 @DocsEditable
1113 static const int STENCIL_BACK_WRITEMASK = 0x8CA5; 1633 static const int STENCIL_BACK_WRITEMASK = 0x8CA5;
1114 1634
1635 @DomName('WebGLRenderingContext.STENCIL_BITS')
1636 @DocsEditable
1115 static const int STENCIL_BITS = 0x0D57; 1637 static const int STENCIL_BITS = 0x0D57;
1116 1638
1639 @DomName('WebGLRenderingContext.STENCIL_BUFFER_BIT')
1640 @DocsEditable
1117 static const int STENCIL_BUFFER_BIT = 0x00000400; 1641 static const int STENCIL_BUFFER_BIT = 0x00000400;
1118 1642
1643 @DomName('WebGLRenderingContext.STENCIL_CLEAR_VALUE')
1644 @DocsEditable
1119 static const int STENCIL_CLEAR_VALUE = 0x0B91; 1645 static const int STENCIL_CLEAR_VALUE = 0x0B91;
1120 1646
1647 @DomName('WebGLRenderingContext.STENCIL_FAIL')
1648 @DocsEditable
1121 static const int STENCIL_FAIL = 0x0B94; 1649 static const int STENCIL_FAIL = 0x0B94;
1122 1650
1651 @DomName('WebGLRenderingContext.STENCIL_FUNC')
1652 @DocsEditable
1123 static const int STENCIL_FUNC = 0x0B92; 1653 static const int STENCIL_FUNC = 0x0B92;
1124 1654
1655 @DomName('WebGLRenderingContext.STENCIL_INDEX')
1656 @DocsEditable
1125 static const int STENCIL_INDEX = 0x1901; 1657 static const int STENCIL_INDEX = 0x1901;
1126 1658
1659 @DomName('WebGLRenderingContext.STENCIL_INDEX8')
1660 @DocsEditable
1127 static const int STENCIL_INDEX8 = 0x8D48; 1661 static const int STENCIL_INDEX8 = 0x8D48;
1128 1662
1663 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_FAIL')
1664 @DocsEditable
1129 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95; 1665 static const int STENCIL_PASS_DEPTH_FAIL = 0x0B95;
1130 1666
1667 @DomName('WebGLRenderingContext.STENCIL_PASS_DEPTH_PASS')
1668 @DocsEditable
1131 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96; 1669 static const int STENCIL_PASS_DEPTH_PASS = 0x0B96;
1132 1670
1671 @DomName('WebGLRenderingContext.STENCIL_REF')
1672 @DocsEditable
1133 static const int STENCIL_REF = 0x0B97; 1673 static const int STENCIL_REF = 0x0B97;
1134 1674
1675 @DomName('WebGLRenderingContext.STENCIL_TEST')
1676 @DocsEditable
1135 static const int STENCIL_TEST = 0x0B90; 1677 static const int STENCIL_TEST = 0x0B90;
1136 1678
1679 @DomName('WebGLRenderingContext.STENCIL_VALUE_MASK')
1680 @DocsEditable
1137 static const int STENCIL_VALUE_MASK = 0x0B93; 1681 static const int STENCIL_VALUE_MASK = 0x0B93;
1138 1682
1683 @DomName('WebGLRenderingContext.STENCIL_WRITEMASK')
1684 @DocsEditable
1139 static const int STENCIL_WRITEMASK = 0x0B98; 1685 static const int STENCIL_WRITEMASK = 0x0B98;
1140 1686
1687 @DomName('WebGLRenderingContext.STREAM_DRAW')
1688 @DocsEditable
1141 static const int STREAM_DRAW = 0x88E0; 1689 static const int STREAM_DRAW = 0x88E0;
1142 1690
1691 @DomName('WebGLRenderingContext.SUBPIXEL_BITS')
1692 @DocsEditable
1143 static const int SUBPIXEL_BITS = 0x0D50; 1693 static const int SUBPIXEL_BITS = 0x0D50;
1144 1694
1695 @DomName('WebGLRenderingContext.TEXTURE')
1696 @DocsEditable
1145 static const int TEXTURE = 0x1702; 1697 static const int TEXTURE = 0x1702;
1146 1698
1699 @DomName('WebGLRenderingContext.TEXTURE0')
1700 @DocsEditable
1147 static const int TEXTURE0 = 0x84C0; 1701 static const int TEXTURE0 = 0x84C0;
1148 1702
1703 @DomName('WebGLRenderingContext.TEXTURE1')
1704 @DocsEditable
1149 static const int TEXTURE1 = 0x84C1; 1705 static const int TEXTURE1 = 0x84C1;
1150 1706
1707 @DomName('WebGLRenderingContext.TEXTURE10')
1708 @DocsEditable
1151 static const int TEXTURE10 = 0x84CA; 1709 static const int TEXTURE10 = 0x84CA;
1152 1710
1711 @DomName('WebGLRenderingContext.TEXTURE11')
1712 @DocsEditable
1153 static const int TEXTURE11 = 0x84CB; 1713 static const int TEXTURE11 = 0x84CB;
1154 1714
1715 @DomName('WebGLRenderingContext.TEXTURE12')
1716 @DocsEditable
1155 static const int TEXTURE12 = 0x84CC; 1717 static const int TEXTURE12 = 0x84CC;
1156 1718
1719 @DomName('WebGLRenderingContext.TEXTURE13')
1720 @DocsEditable
1157 static const int TEXTURE13 = 0x84CD; 1721 static const int TEXTURE13 = 0x84CD;
1158 1722
1723 @DomName('WebGLRenderingContext.TEXTURE14')
1724 @DocsEditable
1159 static const int TEXTURE14 = 0x84CE; 1725 static const int TEXTURE14 = 0x84CE;
1160 1726
1727 @DomName('WebGLRenderingContext.TEXTURE15')
1728 @DocsEditable
1161 static const int TEXTURE15 = 0x84CF; 1729 static const int TEXTURE15 = 0x84CF;
1162 1730
1731 @DomName('WebGLRenderingContext.TEXTURE16')
1732 @DocsEditable
1163 static const int TEXTURE16 = 0x84D0; 1733 static const int TEXTURE16 = 0x84D0;
1164 1734
1735 @DomName('WebGLRenderingContext.TEXTURE17')
1736 @DocsEditable
1165 static const int TEXTURE17 = 0x84D1; 1737 static const int TEXTURE17 = 0x84D1;
1166 1738
1739 @DomName('WebGLRenderingContext.TEXTURE18')
1740 @DocsEditable
1167 static const int TEXTURE18 = 0x84D2; 1741 static const int TEXTURE18 = 0x84D2;
1168 1742
1743 @DomName('WebGLRenderingContext.TEXTURE19')
1744 @DocsEditable
1169 static const int TEXTURE19 = 0x84D3; 1745 static const int TEXTURE19 = 0x84D3;
1170 1746
1747 @DomName('WebGLRenderingContext.TEXTURE2')
1748 @DocsEditable
1171 static const int TEXTURE2 = 0x84C2; 1749 static const int TEXTURE2 = 0x84C2;
1172 1750
1751 @DomName('WebGLRenderingContext.TEXTURE20')
1752 @DocsEditable
1173 static const int TEXTURE20 = 0x84D4; 1753 static const int TEXTURE20 = 0x84D4;
1174 1754
1755 @DomName('WebGLRenderingContext.TEXTURE21')
1756 @DocsEditable
1175 static const int TEXTURE21 = 0x84D5; 1757 static const int TEXTURE21 = 0x84D5;
1176 1758
1759 @DomName('WebGLRenderingContext.TEXTURE22')
1760 @DocsEditable
1177 static const int TEXTURE22 = 0x84D6; 1761 static const int TEXTURE22 = 0x84D6;
1178 1762
1763 @DomName('WebGLRenderingContext.TEXTURE23')
1764 @DocsEditable
1179 static const int TEXTURE23 = 0x84D7; 1765 static const int TEXTURE23 = 0x84D7;
1180 1766
1767 @DomName('WebGLRenderingContext.TEXTURE24')
1768 @DocsEditable
1181 static const int TEXTURE24 = 0x84D8; 1769 static const int TEXTURE24 = 0x84D8;
1182 1770
1771 @DomName('WebGLRenderingContext.TEXTURE25')
1772 @DocsEditable
1183 static const int TEXTURE25 = 0x84D9; 1773 static const int TEXTURE25 = 0x84D9;
1184 1774
1775 @DomName('WebGLRenderingContext.TEXTURE26')
1776 @DocsEditable
1185 static const int TEXTURE26 = 0x84DA; 1777 static const int TEXTURE26 = 0x84DA;
1186 1778
1779 @DomName('WebGLRenderingContext.TEXTURE27')
1780 @DocsEditable
1187 static const int TEXTURE27 = 0x84DB; 1781 static const int TEXTURE27 = 0x84DB;
1188 1782
1783 @DomName('WebGLRenderingContext.TEXTURE28')
1784 @DocsEditable
1189 static const int TEXTURE28 = 0x84DC; 1785 static const int TEXTURE28 = 0x84DC;
1190 1786
1787 @DomName('WebGLRenderingContext.TEXTURE29')
1788 @DocsEditable
1191 static const int TEXTURE29 = 0x84DD; 1789 static const int TEXTURE29 = 0x84DD;
1192 1790
1791 @DomName('WebGLRenderingContext.TEXTURE3')
1792 @DocsEditable
1193 static const int TEXTURE3 = 0x84C3; 1793 static const int TEXTURE3 = 0x84C3;
1194 1794
1795 @DomName('WebGLRenderingContext.TEXTURE30')
1796 @DocsEditable
1195 static const int TEXTURE30 = 0x84DE; 1797 static const int TEXTURE30 = 0x84DE;
1196 1798
1799 @DomName('WebGLRenderingContext.TEXTURE31')
1800 @DocsEditable
1197 static const int TEXTURE31 = 0x84DF; 1801 static const int TEXTURE31 = 0x84DF;
1198 1802
1803 @DomName('WebGLRenderingContext.TEXTURE4')
1804 @DocsEditable
1199 static const int TEXTURE4 = 0x84C4; 1805 static const int TEXTURE4 = 0x84C4;
1200 1806
1807 @DomName('WebGLRenderingContext.TEXTURE5')
1808 @DocsEditable
1201 static const int TEXTURE5 = 0x84C5; 1809 static const int TEXTURE5 = 0x84C5;
1202 1810
1811 @DomName('WebGLRenderingContext.TEXTURE6')
1812 @DocsEditable
1203 static const int TEXTURE6 = 0x84C6; 1813 static const int TEXTURE6 = 0x84C6;
1204 1814
1815 @DomName('WebGLRenderingContext.TEXTURE7')
1816 @DocsEditable
1205 static const int TEXTURE7 = 0x84C7; 1817 static const int TEXTURE7 = 0x84C7;
1206 1818
1819 @DomName('WebGLRenderingContext.TEXTURE8')
1820 @DocsEditable
1207 static const int TEXTURE8 = 0x84C8; 1821 static const int TEXTURE8 = 0x84C8;
1208 1822
1823 @DomName('WebGLRenderingContext.TEXTURE9')
1824 @DocsEditable
1209 static const int TEXTURE9 = 0x84C9; 1825 static const int TEXTURE9 = 0x84C9;
1210 1826
1827 @DomName('WebGLRenderingContext.TEXTURE_2D')
1828 @DocsEditable
1211 static const int TEXTURE_2D = 0x0DE1; 1829 static const int TEXTURE_2D = 0x0DE1;
1212 1830
1831 @DomName('WebGLRenderingContext.TEXTURE_BINDING_2D')
1832 @DocsEditable
1213 static const int TEXTURE_BINDING_2D = 0x8069; 1833 static const int TEXTURE_BINDING_2D = 0x8069;
1214 1834
1835 @DomName('WebGLRenderingContext.TEXTURE_BINDING_CUBE_MAP')
1836 @DocsEditable
1215 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514; 1837 static const int TEXTURE_BINDING_CUBE_MAP = 0x8514;
1216 1838
1839 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP')
1840 @DocsEditable
1217 static const int TEXTURE_CUBE_MAP = 0x8513; 1841 static const int TEXTURE_CUBE_MAP = 0x8513;
1218 1842
1843 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_X')
1844 @DocsEditable
1219 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516; 1845 static const int TEXTURE_CUBE_MAP_NEGATIVE_X = 0x8516;
1220 1846
1847 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Y')
1848 @DocsEditable
1221 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518; 1849 static const int TEXTURE_CUBE_MAP_NEGATIVE_Y = 0x8518;
1222 1850
1851 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_NEGATIVE_Z')
1852 @DocsEditable
1223 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A; 1853 static const int TEXTURE_CUBE_MAP_NEGATIVE_Z = 0x851A;
1224 1854
1855 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_X')
1856 @DocsEditable
1225 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515; 1857 static const int TEXTURE_CUBE_MAP_POSITIVE_X = 0x8515;
1226 1858
1859 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Y')
1860 @DocsEditable
1227 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517; 1861 static const int TEXTURE_CUBE_MAP_POSITIVE_Y = 0x8517;
1228 1862
1863 @DomName('WebGLRenderingContext.TEXTURE_CUBE_MAP_POSITIVE_Z')
1864 @DocsEditable
1229 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519; 1865 static const int TEXTURE_CUBE_MAP_POSITIVE_Z = 0x8519;
1230 1866
1867 @DomName('WebGLRenderingContext.TEXTURE_MAG_FILTER')
1868 @DocsEditable
1231 static const int TEXTURE_MAG_FILTER = 0x2800; 1869 static const int TEXTURE_MAG_FILTER = 0x2800;
1232 1870
1871 @DomName('WebGLRenderingContext.TEXTURE_MIN_FILTER')
1872 @DocsEditable
1233 static const int TEXTURE_MIN_FILTER = 0x2801; 1873 static const int TEXTURE_MIN_FILTER = 0x2801;
1234 1874
1875 @DomName('WebGLRenderingContext.TEXTURE_WRAP_S')
1876 @DocsEditable
1235 static const int TEXTURE_WRAP_S = 0x2802; 1877 static const int TEXTURE_WRAP_S = 0x2802;
1236 1878
1879 @DomName('WebGLRenderingContext.TEXTURE_WRAP_T')
1880 @DocsEditable
1237 static const int TEXTURE_WRAP_T = 0x2803; 1881 static const int TEXTURE_WRAP_T = 0x2803;
1238 1882
1883 @DomName('WebGLRenderingContext.TRIANGLES')
1884 @DocsEditable
1239 static const int TRIANGLES = 0x0004; 1885 static const int TRIANGLES = 0x0004;
1240 1886
1887 @DomName('WebGLRenderingContext.TRIANGLE_FAN')
1888 @DocsEditable
1241 static const int TRIANGLE_FAN = 0x0006; 1889 static const int TRIANGLE_FAN = 0x0006;
1242 1890
1891 @DomName('WebGLRenderingContext.TRIANGLE_STRIP')
1892 @DocsEditable
1243 static const int TRIANGLE_STRIP = 0x0005; 1893 static const int TRIANGLE_STRIP = 0x0005;
1244 1894
1895 @DomName('WebGLRenderingContext.UNPACK_ALIGNMENT')
1896 @DocsEditable
1245 static const int UNPACK_ALIGNMENT = 0x0CF5; 1897 static const int UNPACK_ALIGNMENT = 0x0CF5;
1246 1898
1899 @DomName('WebGLRenderingContext.UNPACK_COLORSPACE_CONVERSION_WEBGL')
1900 @DocsEditable
1247 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243; 1901 static const int UNPACK_COLORSPACE_CONVERSION_WEBGL = 0x9243;
1248 1902
1903 @DomName('WebGLRenderingContext.UNPACK_FLIP_Y_WEBGL')
1904 @DocsEditable
1249 static const int UNPACK_FLIP_Y_WEBGL = 0x9240; 1905 static const int UNPACK_FLIP_Y_WEBGL = 0x9240;
1250 1906
1907 @DomName('WebGLRenderingContext.UNPACK_PREMULTIPLY_ALPHA_WEBGL')
1908 @DocsEditable
1251 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241; 1909 static const int UNPACK_PREMULTIPLY_ALPHA_WEBGL = 0x9241;
1252 1910
1911 @DomName('WebGLRenderingContext.UNSIGNED_BYTE')
1912 @DocsEditable
1253 static const int UNSIGNED_BYTE = 0x1401; 1913 static const int UNSIGNED_BYTE = 0x1401;
1254 1914
1915 @DomName('WebGLRenderingContext.UNSIGNED_INT')
1916 @DocsEditable
1255 static const int UNSIGNED_INT = 0x1405; 1917 static const int UNSIGNED_INT = 0x1405;
1256 1918
1919 @DomName('WebGLRenderingContext.UNSIGNED_SHORT')
1920 @DocsEditable
1257 static const int UNSIGNED_SHORT = 0x1403; 1921 static const int UNSIGNED_SHORT = 0x1403;
1258 1922
1923 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_4_4_4_4')
1924 @DocsEditable
1259 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033; 1925 static const int UNSIGNED_SHORT_4_4_4_4 = 0x8033;
1260 1926
1927 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_5_5_1')
1928 @DocsEditable
1261 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034; 1929 static const int UNSIGNED_SHORT_5_5_5_1 = 0x8034;
1262 1930
1931 @DomName('WebGLRenderingContext.UNSIGNED_SHORT_5_6_5')
1932 @DocsEditable
1263 static const int UNSIGNED_SHORT_5_6_5 = 0x8363; 1933 static const int UNSIGNED_SHORT_5_6_5 = 0x8363;
1264 1934
1935 @DomName('WebGLRenderingContext.VALIDATE_STATUS')
1936 @DocsEditable
1265 static const int VALIDATE_STATUS = 0x8B83; 1937 static const int VALIDATE_STATUS = 0x8B83;
1266 1938
1939 @DomName('WebGLRenderingContext.VENDOR')
1940 @DocsEditable
1267 static const int VENDOR = 0x1F00; 1941 static const int VENDOR = 0x1F00;
1268 1942
1943 @DomName('WebGLRenderingContext.VERSION')
1944 @DocsEditable
1269 static const int VERSION = 0x1F02; 1945 static const int VERSION = 0x1F02;
1270 1946
1947 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_BUFFER_BINDING')
1948 @DocsEditable
1271 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F; 1949 static const int VERTEX_ATTRIB_ARRAY_BUFFER_BINDING = 0x889F;
1272 1950
1951 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_ENABLED')
1952 @DocsEditable
1273 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622; 1953 static const int VERTEX_ATTRIB_ARRAY_ENABLED = 0x8622;
1274 1954
1955 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_NORMALIZED')
1956 @DocsEditable
1275 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A; 1957 static const int VERTEX_ATTRIB_ARRAY_NORMALIZED = 0x886A;
1276 1958
1959 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_POINTER')
1960 @DocsEditable
1277 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645; 1961 static const int VERTEX_ATTRIB_ARRAY_POINTER = 0x8645;
1278 1962
1963 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_SIZE')
1964 @DocsEditable
1279 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623; 1965 static const int VERTEX_ATTRIB_ARRAY_SIZE = 0x8623;
1280 1966
1967 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_STRIDE')
1968 @DocsEditable
1281 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624; 1969 static const int VERTEX_ATTRIB_ARRAY_STRIDE = 0x8624;
1282 1970
1971 @DomName('WebGLRenderingContext.VERTEX_ATTRIB_ARRAY_TYPE')
1972 @DocsEditable
1283 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625; 1973 static const int VERTEX_ATTRIB_ARRAY_TYPE = 0x8625;
1284 1974
1975 @DomName('WebGLRenderingContext.VERTEX_SHADER')
1976 @DocsEditable
1285 static const int VERTEX_SHADER = 0x8B31; 1977 static const int VERTEX_SHADER = 0x8B31;
1286 1978
1979 @DomName('WebGLRenderingContext.VIEWPORT')
1980 @DocsEditable
1287 static const int VIEWPORT = 0x0BA2; 1981 static const int VIEWPORT = 0x0BA2;
1288 1982
1983 @DomName('WebGLRenderingContext.ZERO')
1984 @DocsEditable
1289 static const int ZERO = 0; 1985 static const int ZERO = 0;
1290 1986
1291 @DomName('WebGLRenderingContext.drawingBufferHeight') 1987 @DomName('WebGLRenderingContext.drawingBufferHeight')
1292 @DocsEditable 1988 @DocsEditable
1293 final int drawingBufferHeight; 1989 final int drawingBufferHeight;
1294 1990
1295 @DomName('WebGLRenderingContext.drawingBufferWidth') 1991 @DomName('WebGLRenderingContext.drawingBufferWidth')
1296 @DocsEditable 1992 @DocsEditable
1297 final int drawingBufferWidth; 1993 final int drawingBufferWidth;
1298 1994
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
1982 } 2678 }
1983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2679 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1984 // for details. All rights reserved. Use of this source code is governed by a 2680 // for details. All rights reserved. Use of this source code is governed by a
1985 // BSD-style license that can be found in the LICENSE file. 2681 // BSD-style license that can be found in the LICENSE file.
1986 2682
1987 2683
1988 @DocsEditable 2684 @DocsEditable
1989 @DomName('WebGLVertexArrayObjectOES') 2685 @DomName('WebGLVertexArrayObjectOES')
1990 class VertexArrayObject native "WebGLVertexArrayObjectOES" { 2686 class VertexArrayObject native "WebGLVertexArrayObjectOES" {
1991 } 2687 }
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