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

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

Powered by Google App Engine
This is Rietveld 408576698