OLD | NEW |
1 /** | 1 /** |
2 * 3D programming in the browser. | 2 * 3D programming in the browser. |
3 */ | 3 */ |
4 library dart.dom.web_gl; | 4 library dart.dom.web_gl; |
5 | 5 |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'dart:collection'; | 7 import 'dart:collection'; |
8 import 'dart:_internal' hide deprecated; | 8 import 'dart:_internal' hide deprecated; |
9 import 'dart:html'; | 9 import 'dart:html'; |
10 import 'dart:html_common'; | 10 import 'dart:html_common'; |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 | 418 |
419 js.JsObject blink_jsObject = null; | 419 js.JsObject blink_jsObject = null; |
420 | 420 |
421 factory ActiveInfo._internalWrap() { | 421 factory ActiveInfo._internalWrap() { |
422 return new ActiveInfo.internal_(); | 422 return new ActiveInfo.internal_(); |
423 } | 423 } |
424 | 424 |
425 ActiveInfo.internal_() { } | 425 ActiveInfo.internal_() { } |
426 | 426 |
427 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 427 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 428 int get hashCode => unwrap_jso(this).hashCode; |
428 | 429 |
429 @DomName('WebGLActiveInfo.name') | 430 @DomName('WebGLActiveInfo.name') |
430 @DocsEditable() | 431 @DocsEditable() |
431 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js
o(this)); | 432 String get name => _blink.BlinkWebGLActiveInfo.instance.name_Getter_(unwrap_js
o(this)); |
432 | 433 |
433 @DomName('WebGLActiveInfo.size') | 434 @DomName('WebGLActiveInfo.size') |
434 @DocsEditable() | 435 @DocsEditable() |
435 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t
his)); | 436 int get size => _blink.BlinkWebGLActiveInfo.instance.size_Getter_(unwrap_jso(t
his)); |
436 | 437 |
437 @DomName('WebGLActiveInfo.type') | 438 @DomName('WebGLActiveInfo.type') |
(...skipping 21 matching lines...) Expand all Loading... |
459 | 460 |
460 js.JsObject blink_jsObject = null; | 461 js.JsObject blink_jsObject = null; |
461 | 462 |
462 factory AngleInstancedArrays._internalWrap() { | 463 factory AngleInstancedArrays._internalWrap() { |
463 return new AngleInstancedArrays.internal_(); | 464 return new AngleInstancedArrays.internal_(); |
464 } | 465 } |
465 | 466 |
466 AngleInstancedArrays.internal_() { } | 467 AngleInstancedArrays.internal_() { } |
467 | 468 |
468 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 469 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 470 int get hashCode => unwrap_jso(this).hashCode; |
469 | 471 |
470 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') | 472 @DomName('ANGLEInstancedArrays.VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE') |
471 @DocsEditable() | 473 @DocsEditable() |
472 @Experimental() // untriaged | 474 @Experimental() // untriaged |
473 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; | 475 static const int VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE = 0x88FE; |
474 | 476 |
475 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') | 477 @DomName('ANGLEInstancedArrays.drawArraysInstancedANGLE') |
476 @DocsEditable() | 478 @DocsEditable() |
477 @Experimental() // untriaged | 479 @Experimental() // untriaged |
478 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) =
> _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_
(unwrap_jso(this), mode, first, count, primcount); | 480 void drawArraysInstancedAngle(int mode, int first, int count, int primcount) =
> _blink.BlinkANGLEInstancedArrays.instance.drawArraysInstancedANGLE_Callback_4_
(unwrap_jso(this), mode, first, count, primcount); |
(...skipping 29 matching lines...) Expand all Loading... |
508 | 510 |
509 js.JsObject blink_jsObject = null; | 511 js.JsObject blink_jsObject = null; |
510 | 512 |
511 factory Buffer._internalWrap() { | 513 factory Buffer._internalWrap() { |
512 return new Buffer.internal_(); | 514 return new Buffer.internal_(); |
513 } | 515 } |
514 | 516 |
515 Buffer.internal_() { } | 517 Buffer.internal_() { } |
516 | 518 |
517 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 519 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 520 int get hashCode => unwrap_jso(this).hashCode; |
518 | 521 |
519 } | 522 } |
520 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 523 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
521 // for details. All rights reserved. Use of this source code is governed by a | 524 // for details. All rights reserved. Use of this source code is governed by a |
522 // BSD-style license that can be found in the LICENSE file. | 525 // BSD-style license that can be found in the LICENSE file. |
523 | 526 |
524 // WARNING: Do not edit - generated code. | 527 // WARNING: Do not edit - generated code. |
525 | 528 |
526 | 529 |
527 @DocsEditable() | 530 @DocsEditable() |
(...skipping 10 matching lines...) Expand all Loading... |
538 | 541 |
539 js.JsObject blink_jsObject = null; | 542 js.JsObject blink_jsObject = null; |
540 | 543 |
541 factory CompressedTextureAtc._internalWrap() { | 544 factory CompressedTextureAtc._internalWrap() { |
542 return new CompressedTextureAtc.internal_(); | 545 return new CompressedTextureAtc.internal_(); |
543 } | 546 } |
544 | 547 |
545 CompressedTextureAtc.internal_() { } | 548 CompressedTextureAtc.internal_() { } |
546 | 549 |
547 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 550 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 551 int get hashCode => unwrap_jso(this).hashCode; |
548 | 552 |
549 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') | 553 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL') |
550 @DocsEditable() | 554 @DocsEditable() |
551 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; | 555 static const int COMPRESSED_RGBA_ATC_EXPLICIT_ALPHA_WEBGL = 0x8C93; |
552 | 556 |
553 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB
GL') | 557 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEB
GL') |
554 @DocsEditable() | 558 @DocsEditable() |
555 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; | 559 static const int COMPRESSED_RGBA_ATC_INTERPOLATED_ALPHA_WEBGL = 0x87EE; |
556 | 560 |
557 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') | 561 @DomName('WebGLCompressedTextureATC.COMPRESSED_RGB_ATC_WEBGL') |
(...skipping 21 matching lines...) Expand all Loading... |
579 | 583 |
580 js.JsObject blink_jsObject = null; | 584 js.JsObject blink_jsObject = null; |
581 | 585 |
582 factory CompressedTextureETC1._internalWrap() { | 586 factory CompressedTextureETC1._internalWrap() { |
583 return new CompressedTextureETC1.internal_(); | 587 return new CompressedTextureETC1.internal_(); |
584 } | 588 } |
585 | 589 |
586 CompressedTextureETC1.internal_() { } | 590 CompressedTextureETC1.internal_() { } |
587 | 591 |
588 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 592 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 593 int get hashCode => unwrap_jso(this).hashCode; |
589 | 594 |
590 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') | 595 @DomName('WebGLCompressedTextureETC1.COMPRESSED_RGB_ETC1_WEBGL') |
591 @DocsEditable() | 596 @DocsEditable() |
592 @Experimental() // untriaged | 597 @Experimental() // untriaged |
593 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; | 598 static const int COMPRESSED_RGB_ETC1_WEBGL = 0x8D64; |
594 | 599 |
595 } | 600 } |
596 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 601 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
597 // for details. All rights reserved. Use of this source code is governed by a | 602 // for details. All rights reserved. Use of this source code is governed by a |
598 // BSD-style license that can be found in the LICENSE file. | 603 // BSD-style license that can be found in the LICENSE file. |
(...skipping 15 matching lines...) Expand all Loading... |
614 | 619 |
615 js.JsObject blink_jsObject = null; | 620 js.JsObject blink_jsObject = null; |
616 | 621 |
617 factory CompressedTexturePvrtc._internalWrap() { | 622 factory CompressedTexturePvrtc._internalWrap() { |
618 return new CompressedTexturePvrtc.internal_(); | 623 return new CompressedTexturePvrtc.internal_(); |
619 } | 624 } |
620 | 625 |
621 CompressedTexturePvrtc.internal_() { } | 626 CompressedTexturePvrtc.internal_() { } |
622 | 627 |
623 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 628 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 629 int get hashCode => unwrap_jso(this).hashCode; |
624 | 630 |
625 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') | 631 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG') |
626 @DocsEditable() | 632 @DocsEditable() |
627 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; | 633 static const int COMPRESSED_RGBA_PVRTC_2BPPV1_IMG = 0x8C03; |
628 | 634 |
629 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') | 635 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG') |
630 @DocsEditable() | 636 @DocsEditable() |
631 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; | 637 static const int COMPRESSED_RGBA_PVRTC_4BPPV1_IMG = 0x8C02; |
632 | 638 |
633 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') | 639 @DomName('WebGLCompressedTexturePVRTC.COMPRESSED_RGB_PVRTC_2BPPV1_IMG') |
(...skipping 26 matching lines...) Expand all Loading... |
660 | 666 |
661 js.JsObject blink_jsObject = null; | 667 js.JsObject blink_jsObject = null; |
662 | 668 |
663 factory CompressedTextureS3TC._internalWrap() { | 669 factory CompressedTextureS3TC._internalWrap() { |
664 return new CompressedTextureS3TC.internal_(); | 670 return new CompressedTextureS3TC.internal_(); |
665 } | 671 } |
666 | 672 |
667 CompressedTextureS3TC.internal_() { } | 673 CompressedTextureS3TC.internal_() { } |
668 | 674 |
669 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 675 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 676 int get hashCode => unwrap_jso(this).hashCode; |
670 | 677 |
671 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') | 678 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT1_EXT') |
672 @DocsEditable() | 679 @DocsEditable() |
673 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; | 680 static const int COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1; |
674 | 681 |
675 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') | 682 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT3_EXT') |
676 @DocsEditable() | 683 @DocsEditable() |
677 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; | 684 static const int COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2; |
678 | 685 |
679 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') | 686 @DomName('WebGLCompressedTextureS3TC.COMPRESSED_RGBA_S3TC_DXT5_EXT') |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
727 | 734 |
728 js.JsObject blink_jsObject = null; | 735 js.JsObject blink_jsObject = null; |
729 | 736 |
730 factory ContextAttributes._internalWrap() { | 737 factory ContextAttributes._internalWrap() { |
731 return new ContextAttributes.internal_(); | 738 return new ContextAttributes.internal_(); |
732 } | 739 } |
733 | 740 |
734 ContextAttributes.internal_() { } | 741 ContextAttributes.internal_() { } |
735 | 742 |
736 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 743 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 744 int get hashCode => unwrap_jso(this).hashCode; |
737 | 745 |
738 @DomName('WebGLContextAttributes.alpha') | 746 @DomName('WebGLContextAttributes.alpha') |
739 @DocsEditable() | 747 @DocsEditable() |
740 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un
wrap_jso(this)); | 748 bool get alpha => _blink.BlinkWebGLContextAttributes.instance.alpha_Getter_(un
wrap_jso(this)); |
741 | 749 |
742 @DomName('WebGLContextAttributes.alpha') | 750 @DomName('WebGLContextAttributes.alpha') |
743 @DocsEditable() | 751 @DocsEditable() |
744 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alph
a_Setter_(unwrap_jso(this), value); | 752 void set alpha(bool value) => _blink.BlinkWebGLContextAttributes.instance.alph
a_Setter_(unwrap_jso(this), value); |
745 | 753 |
746 @DomName('WebGLContextAttributes.antialias') | 754 @DomName('WebGLContextAttributes.antialias') |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
846 | 854 |
847 js.JsObject blink_jsObject = null; | 855 js.JsObject blink_jsObject = null; |
848 | 856 |
849 factory DebugRendererInfo._internalWrap() { | 857 factory DebugRendererInfo._internalWrap() { |
850 return new DebugRendererInfo.internal_(); | 858 return new DebugRendererInfo.internal_(); |
851 } | 859 } |
852 | 860 |
853 DebugRendererInfo.internal_() { } | 861 DebugRendererInfo.internal_() { } |
854 | 862 |
855 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 863 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 864 int get hashCode => unwrap_jso(this).hashCode; |
856 | 865 |
857 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') | 866 @DomName('WebGLDebugRendererInfo.UNMASKED_RENDERER_WEBGL') |
858 @DocsEditable() | 867 @DocsEditable() |
859 static const int UNMASKED_RENDERER_WEBGL = 0x9246; | 868 static const int UNMASKED_RENDERER_WEBGL = 0x9246; |
860 | 869 |
861 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') | 870 @DomName('WebGLDebugRendererInfo.UNMASKED_VENDOR_WEBGL') |
862 @DocsEditable() | 871 @DocsEditable() |
863 static const int UNMASKED_VENDOR_WEBGL = 0x9245; | 872 static const int UNMASKED_VENDOR_WEBGL = 0x9245; |
864 | 873 |
865 } | 874 } |
(...skipping 18 matching lines...) Expand all Loading... |
884 | 893 |
885 js.JsObject blink_jsObject = null; | 894 js.JsObject blink_jsObject = null; |
886 | 895 |
887 factory DebugShaders._internalWrap() { | 896 factory DebugShaders._internalWrap() { |
888 return new DebugShaders.internal_(); | 897 return new DebugShaders.internal_(); |
889 } | 898 } |
890 | 899 |
891 DebugShaders.internal_() { } | 900 DebugShaders.internal_() { } |
892 | 901 |
893 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 902 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 903 int get hashCode => unwrap_jso(this).hashCode; |
894 | 904 |
895 @DomName('WebGLDebugShaders.getTranslatedShaderSource') | 905 @DomName('WebGLDebugShaders.getTranslatedShaderSource') |
896 @DocsEditable() | 906 @DocsEditable() |
897 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade
rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s
hader)); | 907 String getTranslatedShaderSource(Shader shader) => _blink.BlinkWebGLDebugShade
rs.instance.getTranslatedShaderSource_Callback_1_(unwrap_jso(this), unwrap_jso(s
hader)); |
898 | 908 |
899 } | 909 } |
900 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
901 // for details. All rights reserved. Use of this source code is governed by a | 911 // for details. All rights reserved. Use of this source code is governed by a |
902 // BSD-style license that can be found in the LICENSE file. | 912 // BSD-style license that can be found in the LICENSE file. |
903 | 913 |
(...skipping 14 matching lines...) Expand all Loading... |
918 | 928 |
919 js.JsObject blink_jsObject = null; | 929 js.JsObject blink_jsObject = null; |
920 | 930 |
921 factory DepthTexture._internalWrap() { | 931 factory DepthTexture._internalWrap() { |
922 return new DepthTexture.internal_(); | 932 return new DepthTexture.internal_(); |
923 } | 933 } |
924 | 934 |
925 DepthTexture.internal_() { } | 935 DepthTexture.internal_() { } |
926 | 936 |
927 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 937 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 938 int get hashCode => unwrap_jso(this).hashCode; |
928 | 939 |
929 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') | 940 @DomName('WebGLDepthTexture.UNSIGNED_INT_24_8_WEBGL') |
930 @DocsEditable() | 941 @DocsEditable() |
931 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; | 942 static const int UNSIGNED_INT_24_8_WEBGL = 0x84FA; |
932 | 943 |
933 } | 944 } |
934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
935 // for details. All rights reserved. Use of this source code is governed by a | 946 // for details. All rights reserved. Use of this source code is governed by a |
936 // BSD-style license that can be found in the LICENSE file. | 947 // BSD-style license that can be found in the LICENSE file. |
937 | 948 |
(...skipping 14 matching lines...) Expand all Loading... |
952 | 963 |
953 js.JsObject blink_jsObject = null; | 964 js.JsObject blink_jsObject = null; |
954 | 965 |
955 factory DrawBuffers._internalWrap() { | 966 factory DrawBuffers._internalWrap() { |
956 return new DrawBuffers.internal_(); | 967 return new DrawBuffers.internal_(); |
957 } | 968 } |
958 | 969 |
959 DrawBuffers.internal_() { } | 970 DrawBuffers.internal_() { } |
960 | 971 |
961 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 972 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 973 int get hashCode => unwrap_jso(this).hashCode; |
962 | 974 |
963 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') | 975 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT0_WEBGL') |
964 @DocsEditable() | 976 @DocsEditable() |
965 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; | 977 static const int COLOR_ATTACHMENT0_WEBGL = 0x8CE0; |
966 | 978 |
967 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') | 979 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT10_WEBGL') |
968 @DocsEditable() | 980 @DocsEditable() |
969 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; | 981 static const int COLOR_ATTACHMENT10_WEBGL = 0x8CEA; |
970 | 982 |
971 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') | 983 @DomName('WebGLDrawBuffers.COLOR_ATTACHMENT11_WEBGL') |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1121 | 1133 |
1122 js.JsObject blink_jsObject = null; | 1134 js.JsObject blink_jsObject = null; |
1123 | 1135 |
1124 factory ExtBlendMinMax._internalWrap() { | 1136 factory ExtBlendMinMax._internalWrap() { |
1125 return new ExtBlendMinMax.internal_(); | 1137 return new ExtBlendMinMax.internal_(); |
1126 } | 1138 } |
1127 | 1139 |
1128 ExtBlendMinMax.internal_() { } | 1140 ExtBlendMinMax.internal_() { } |
1129 | 1141 |
1130 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1142 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1143 int get hashCode => unwrap_jso(this).hashCode; |
1131 | 1144 |
1132 @DomName('EXTBlendMinMax.MAX_EXT') | 1145 @DomName('EXTBlendMinMax.MAX_EXT') |
1133 @DocsEditable() | 1146 @DocsEditable() |
1134 @Experimental() // untriaged | 1147 @Experimental() // untriaged |
1135 static const int MAX_EXT = 0x8008; | 1148 static const int MAX_EXT = 0x8008; |
1136 | 1149 |
1137 @DomName('EXTBlendMinMax.MIN_EXT') | 1150 @DomName('EXTBlendMinMax.MIN_EXT') |
1138 @DocsEditable() | 1151 @DocsEditable() |
1139 @Experimental() // untriaged | 1152 @Experimental() // untriaged |
1140 static const int MIN_EXT = 0x8007; | 1153 static const int MIN_EXT = 0x8007; |
(...skipping 20 matching lines...) Expand all Loading... |
1161 | 1174 |
1162 js.JsObject blink_jsObject = null; | 1175 js.JsObject blink_jsObject = null; |
1163 | 1176 |
1164 factory ExtFragDepth._internalWrap() { | 1177 factory ExtFragDepth._internalWrap() { |
1165 return new ExtFragDepth.internal_(); | 1178 return new ExtFragDepth.internal_(); |
1166 } | 1179 } |
1167 | 1180 |
1168 ExtFragDepth.internal_() { } | 1181 ExtFragDepth.internal_() { } |
1169 | 1182 |
1170 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1183 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1184 int get hashCode => unwrap_jso(this).hashCode; |
1171 | 1185 |
1172 } | 1186 } |
1173 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1174 // for details. All rights reserved. Use of this source code is governed by a | 1188 // for details. All rights reserved. Use of this source code is governed by a |
1175 // BSD-style license that can be found in the LICENSE file. | 1189 // BSD-style license that can be found in the LICENSE file. |
1176 | 1190 |
1177 // WARNING: Do not edit - generated code. | 1191 // WARNING: Do not edit - generated code. |
1178 | 1192 |
1179 | 1193 |
1180 @DocsEditable() | 1194 @DocsEditable() |
1181 @DomName('EXTShaderTextureLOD') | 1195 @DomName('EXTShaderTextureLOD') |
1182 @Experimental() // untriaged | 1196 @Experimental() // untriaged |
1183 class ExtShaderTextureLod extends NativeFieldWrapperClass2 { | 1197 class ExtShaderTextureLod extends NativeFieldWrapperClass2 { |
1184 // To suppress missing implicit constructor warnings. | 1198 // To suppress missing implicit constructor warnings. |
1185 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported");
} | 1199 factory ExtShaderTextureLod._() { throw new UnsupportedError("Not supported");
} |
1186 | 1200 |
1187 static ExtShaderTextureLod internalCreateExtShaderTextureLod() { | 1201 static ExtShaderTextureLod internalCreateExtShaderTextureLod() { |
1188 return new ExtShaderTextureLod._internalWrap(); | 1202 return new ExtShaderTextureLod._internalWrap(); |
1189 } | 1203 } |
1190 | 1204 |
1191 js.JsObject blink_jsObject = null; | 1205 js.JsObject blink_jsObject = null; |
1192 | 1206 |
1193 factory ExtShaderTextureLod._internalWrap() { | 1207 factory ExtShaderTextureLod._internalWrap() { |
1194 return new ExtShaderTextureLod.internal_(); | 1208 return new ExtShaderTextureLod.internal_(); |
1195 } | 1209 } |
1196 | 1210 |
1197 ExtShaderTextureLod.internal_() { } | 1211 ExtShaderTextureLod.internal_() { } |
1198 | 1212 |
1199 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1213 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1214 int get hashCode => unwrap_jso(this).hashCode; |
1200 | 1215 |
1201 } | 1216 } |
1202 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1217 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1203 // for details. All rights reserved. Use of this source code is governed by a | 1218 // for details. All rights reserved. Use of this source code is governed by a |
1204 // BSD-style license that can be found in the LICENSE file. | 1219 // BSD-style license that can be found in the LICENSE file. |
1205 | 1220 |
1206 // WARNING: Do not edit - generated code. | 1221 // WARNING: Do not edit - generated code. |
1207 | 1222 |
1208 | 1223 |
1209 @DocsEditable() | 1224 @DocsEditable() |
(...skipping 10 matching lines...) Expand all Loading... |
1220 | 1235 |
1221 js.JsObject blink_jsObject = null; | 1236 js.JsObject blink_jsObject = null; |
1222 | 1237 |
1223 factory ExtTextureFilterAnisotropic._internalWrap() { | 1238 factory ExtTextureFilterAnisotropic._internalWrap() { |
1224 return new ExtTextureFilterAnisotropic.internal_(); | 1239 return new ExtTextureFilterAnisotropic.internal_(); |
1225 } | 1240 } |
1226 | 1241 |
1227 ExtTextureFilterAnisotropic.internal_() { } | 1242 ExtTextureFilterAnisotropic.internal_() { } |
1228 | 1243 |
1229 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1244 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1245 int get hashCode => unwrap_jso(this).hashCode; |
1230 | 1246 |
1231 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') | 1247 @DomName('EXTTextureFilterAnisotropic.MAX_TEXTURE_MAX_ANISOTROPY_EXT') |
1232 @DocsEditable() | 1248 @DocsEditable() |
1233 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; | 1249 static const int MAX_TEXTURE_MAX_ANISOTROPY_EXT = 0x84FF; |
1234 | 1250 |
1235 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') | 1251 @DomName('EXTTextureFilterAnisotropic.TEXTURE_MAX_ANISOTROPY_EXT') |
1236 @DocsEditable() | 1252 @DocsEditable() |
1237 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; | 1253 static const int TEXTURE_MAX_ANISOTROPY_EXT = 0x84FE; |
1238 | 1254 |
1239 } | 1255 } |
(...skipping 17 matching lines...) Expand all Loading... |
1257 | 1273 |
1258 js.JsObject blink_jsObject = null; | 1274 js.JsObject blink_jsObject = null; |
1259 | 1275 |
1260 factory Framebuffer._internalWrap() { | 1276 factory Framebuffer._internalWrap() { |
1261 return new Framebuffer.internal_(); | 1277 return new Framebuffer.internal_(); |
1262 } | 1278 } |
1263 | 1279 |
1264 Framebuffer.internal_() { } | 1280 Framebuffer.internal_() { } |
1265 | 1281 |
1266 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1282 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1283 int get hashCode => unwrap_jso(this).hashCode; |
1267 | 1284 |
1268 } | 1285 } |
1269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1270 // for details. All rights reserved. Use of this source code is governed by a | 1287 // for details. All rights reserved. Use of this source code is governed by a |
1271 // BSD-style license that can be found in the LICENSE file. | 1288 // BSD-style license that can be found in the LICENSE file. |
1272 | 1289 |
1273 // WARNING: Do not edit - generated code. | 1290 // WARNING: Do not edit - generated code. |
1274 | 1291 |
1275 | 1292 |
1276 @DocsEditable() | 1293 @DocsEditable() |
(...skipping 10 matching lines...) Expand all Loading... |
1287 | 1304 |
1288 js.JsObject blink_jsObject = null; | 1305 js.JsObject blink_jsObject = null; |
1289 | 1306 |
1290 factory LoseContext._internalWrap() { | 1307 factory LoseContext._internalWrap() { |
1291 return new LoseContext.internal_(); | 1308 return new LoseContext.internal_(); |
1292 } | 1309 } |
1293 | 1310 |
1294 LoseContext.internal_() { } | 1311 LoseContext.internal_() { } |
1295 | 1312 |
1296 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1313 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1314 int get hashCode => unwrap_jso(this).hashCode; |
1297 | 1315 |
1298 @DomName('WebGLLoseContext.loseContext') | 1316 @DomName('WebGLLoseContext.loseContext') |
1299 @DocsEditable() | 1317 @DocsEditable() |
1300 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba
ck_0_(unwrap_jso(this)); | 1318 void loseContext() => _blink.BlinkWebGLLoseContext.instance.loseContext_Callba
ck_0_(unwrap_jso(this)); |
1301 | 1319 |
1302 @DomName('WebGLLoseContext.restoreContext') | 1320 @DomName('WebGLLoseContext.restoreContext') |
1303 @DocsEditable() | 1321 @DocsEditable() |
1304 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_
Callback_0_(unwrap_jso(this)); | 1322 void restoreContext() => _blink.BlinkWebGLLoseContext.instance.restoreContext_
Callback_0_(unwrap_jso(this)); |
1305 | 1323 |
1306 } | 1324 } |
(...skipping 18 matching lines...) Expand all Loading... |
1325 | 1343 |
1326 js.JsObject blink_jsObject = null; | 1344 js.JsObject blink_jsObject = null; |
1327 | 1345 |
1328 factory OesElementIndexUint._internalWrap() { | 1346 factory OesElementIndexUint._internalWrap() { |
1329 return new OesElementIndexUint.internal_(); | 1347 return new OesElementIndexUint.internal_(); |
1330 } | 1348 } |
1331 | 1349 |
1332 OesElementIndexUint.internal_() { } | 1350 OesElementIndexUint.internal_() { } |
1333 | 1351 |
1334 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1352 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1353 int get hashCode => unwrap_jso(this).hashCode; |
1335 | 1354 |
1336 } | 1355 } |
1337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1356 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1338 // for details. All rights reserved. Use of this source code is governed by a | 1357 // for details. All rights reserved. Use of this source code is governed by a |
1339 // BSD-style license that can be found in the LICENSE file. | 1358 // BSD-style license that can be found in the LICENSE file. |
1340 | 1359 |
1341 // WARNING: Do not edit - generated code. | 1360 // WARNING: Do not edit - generated code. |
1342 | 1361 |
1343 | 1362 |
1344 @DocsEditable() | 1363 @DocsEditable() |
(...skipping 10 matching lines...) Expand all Loading... |
1355 | 1374 |
1356 js.JsObject blink_jsObject = null; | 1375 js.JsObject blink_jsObject = null; |
1357 | 1376 |
1358 factory OesStandardDerivatives._internalWrap() { | 1377 factory OesStandardDerivatives._internalWrap() { |
1359 return new OesStandardDerivatives.internal_(); | 1378 return new OesStandardDerivatives.internal_(); |
1360 } | 1379 } |
1361 | 1380 |
1362 OesStandardDerivatives.internal_() { } | 1381 OesStandardDerivatives.internal_() { } |
1363 | 1382 |
1364 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1383 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1384 int get hashCode => unwrap_jso(this).hashCode; |
1365 | 1385 |
1366 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') | 1386 @DomName('OESStandardDerivatives.FRAGMENT_SHADER_DERIVATIVE_HINT_OES') |
1367 @DocsEditable() | 1387 @DocsEditable() |
1368 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; | 1388 static const int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; |
1369 | 1389 |
1370 } | 1390 } |
1371 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1391 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1372 // for details. All rights reserved. Use of this source code is governed by a | 1392 // for details. All rights reserved. Use of this source code is governed by a |
1373 // BSD-style license that can be found in the LICENSE file. | 1393 // BSD-style license that can be found in the LICENSE file. |
1374 | 1394 |
(...skipping 14 matching lines...) Expand all Loading... |
1389 | 1409 |
1390 js.JsObject blink_jsObject = null; | 1410 js.JsObject blink_jsObject = null; |
1391 | 1411 |
1392 factory OesTextureFloat._internalWrap() { | 1412 factory OesTextureFloat._internalWrap() { |
1393 return new OesTextureFloat.internal_(); | 1413 return new OesTextureFloat.internal_(); |
1394 } | 1414 } |
1395 | 1415 |
1396 OesTextureFloat.internal_() { } | 1416 OesTextureFloat.internal_() { } |
1397 | 1417 |
1398 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1418 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1419 int get hashCode => unwrap_jso(this).hashCode; |
1399 | 1420 |
1400 } | 1421 } |
1401 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1422 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1402 // for details. All rights reserved. Use of this source code is governed by a | 1423 // for details. All rights reserved. Use of this source code is governed by a |
1403 // BSD-style license that can be found in the LICENSE file. | 1424 // BSD-style license that can be found in the LICENSE file. |
1404 | 1425 |
1405 // WARNING: Do not edit - generated code. | 1426 // WARNING: Do not edit - generated code. |
1406 | 1427 |
1407 | 1428 |
1408 @DocsEditable() | 1429 @DocsEditable() |
(...skipping 10 matching lines...) Expand all Loading... |
1419 | 1440 |
1420 js.JsObject blink_jsObject = null; | 1441 js.JsObject blink_jsObject = null; |
1421 | 1442 |
1422 factory OesTextureFloatLinear._internalWrap() { | 1443 factory OesTextureFloatLinear._internalWrap() { |
1423 return new OesTextureFloatLinear.internal_(); | 1444 return new OesTextureFloatLinear.internal_(); |
1424 } | 1445 } |
1425 | 1446 |
1426 OesTextureFloatLinear.internal_() { } | 1447 OesTextureFloatLinear.internal_() { } |
1427 | 1448 |
1428 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1449 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1450 int get hashCode => unwrap_jso(this).hashCode; |
1429 | 1451 |
1430 } | 1452 } |
1431 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1453 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1432 // for details. All rights reserved. Use of this source code is governed by a | 1454 // for details. All rights reserved. Use of this source code is governed by a |
1433 // BSD-style license that can be found in the LICENSE file. | 1455 // BSD-style license that can be found in the LICENSE file. |
1434 | 1456 |
1435 // WARNING: Do not edit - generated code. | 1457 // WARNING: Do not edit - generated code. |
1436 | 1458 |
1437 | 1459 |
1438 @DocsEditable() | 1460 @DocsEditable() |
(...skipping 10 matching lines...) Expand all Loading... |
1449 | 1471 |
1450 js.JsObject blink_jsObject = null; | 1472 js.JsObject blink_jsObject = null; |
1451 | 1473 |
1452 factory OesTextureHalfFloat._internalWrap() { | 1474 factory OesTextureHalfFloat._internalWrap() { |
1453 return new OesTextureHalfFloat.internal_(); | 1475 return new OesTextureHalfFloat.internal_(); |
1454 } | 1476 } |
1455 | 1477 |
1456 OesTextureHalfFloat.internal_() { } | 1478 OesTextureHalfFloat.internal_() { } |
1457 | 1479 |
1458 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1480 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1481 int get hashCode => unwrap_jso(this).hashCode; |
1459 | 1482 |
1460 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') | 1483 @DomName('OESTextureHalfFloat.HALF_FLOAT_OES') |
1461 @DocsEditable() | 1484 @DocsEditable() |
1462 static const int HALF_FLOAT_OES = 0x8D61; | 1485 static const int HALF_FLOAT_OES = 0x8D61; |
1463 | 1486 |
1464 } | 1487 } |
1465 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1466 // for details. All rights reserved. Use of this source code is governed by a | 1489 // for details. All rights reserved. Use of this source code is governed by a |
1467 // BSD-style license that can be found in the LICENSE file. | 1490 // BSD-style license that can be found in the LICENSE file. |
1468 | 1491 |
(...skipping 14 matching lines...) Expand all Loading... |
1483 | 1506 |
1484 js.JsObject blink_jsObject = null; | 1507 js.JsObject blink_jsObject = null; |
1485 | 1508 |
1486 factory OesTextureHalfFloatLinear._internalWrap() { | 1509 factory OesTextureHalfFloatLinear._internalWrap() { |
1487 return new OesTextureHalfFloatLinear.internal_(); | 1510 return new OesTextureHalfFloatLinear.internal_(); |
1488 } | 1511 } |
1489 | 1512 |
1490 OesTextureHalfFloatLinear.internal_() { } | 1513 OesTextureHalfFloatLinear.internal_() { } |
1491 | 1514 |
1492 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1515 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1516 int get hashCode => unwrap_jso(this).hashCode; |
1493 | 1517 |
1494 } | 1518 } |
1495 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1496 // for details. All rights reserved. Use of this source code is governed by a | 1520 // for details. All rights reserved. Use of this source code is governed by a |
1497 // BSD-style license that can be found in the LICENSE file. | 1521 // BSD-style license that can be found in the LICENSE file. |
1498 | 1522 |
1499 // WARNING: Do not edit - generated code. | 1523 // WARNING: Do not edit - generated code. |
1500 | 1524 |
1501 | 1525 |
1502 @DocsEditable() | 1526 @DocsEditable() |
(...skipping 10 matching lines...) Expand all Loading... |
1513 | 1537 |
1514 js.JsObject blink_jsObject = null; | 1538 js.JsObject blink_jsObject = null; |
1515 | 1539 |
1516 factory OesVertexArrayObject._internalWrap() { | 1540 factory OesVertexArrayObject._internalWrap() { |
1517 return new OesVertexArrayObject.internal_(); | 1541 return new OesVertexArrayObject.internal_(); |
1518 } | 1542 } |
1519 | 1543 |
1520 OesVertexArrayObject.internal_() { } | 1544 OesVertexArrayObject.internal_() { } |
1521 | 1545 |
1522 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1546 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1547 int get hashCode => unwrap_jso(this).hashCode; |
1523 | 1548 |
1524 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') | 1549 @DomName('OESVertexArrayObject.VERTEX_ARRAY_BINDING_OES') |
1525 @DocsEditable() | 1550 @DocsEditable() |
1526 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; | 1551 static const int VERTEX_ARRAY_BINDING_OES = 0x85B5; |
1527 | 1552 |
1528 @DomName('OESVertexArrayObject.bindVertexArrayOES') | 1553 @DomName('OESVertexArrayObject.bindVertexArrayOES') |
1529 @DocsEditable() | 1554 @DocsEditable() |
1530 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr
rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a
rrayObject)); | 1555 void bindVertexArray(VertexArrayObject arrayObject) => _blink.BlinkOESVertexAr
rayObject.instance.bindVertexArrayOES_Callback_1_(unwrap_jso(this), unwrap_jso(a
rrayObject)); |
1531 | 1556 |
1532 @DomName('OESVertexArrayObject.createVertexArrayOES') | 1557 @DomName('OESVertexArrayObject.createVertexArrayOES') |
(...skipping 29 matching lines...) Expand all Loading... |
1562 | 1587 |
1563 js.JsObject blink_jsObject = null; | 1588 js.JsObject blink_jsObject = null; |
1564 | 1589 |
1565 factory Program._internalWrap() { | 1590 factory Program._internalWrap() { |
1566 return new Program.internal_(); | 1591 return new Program.internal_(); |
1567 } | 1592 } |
1568 | 1593 |
1569 Program.internal_() { } | 1594 Program.internal_() { } |
1570 | 1595 |
1571 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1596 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1597 int get hashCode => unwrap_jso(this).hashCode; |
1572 | 1598 |
1573 } | 1599 } |
1574 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
1575 // for details. All rights reserved. Use of this source code is governed by a | 1601 // for details. All rights reserved. Use of this source code is governed by a |
1576 // BSD-style license that can be found in the LICENSE file. | 1602 // BSD-style license that can be found in the LICENSE file. |
1577 | 1603 |
1578 // WARNING: Do not edit - generated code. | 1604 // WARNING: Do not edit - generated code. |
1579 | 1605 |
1580 | 1606 |
1581 @DocsEditable() | 1607 @DocsEditable() |
1582 @DomName('WebGLRenderbuffer') | 1608 @DomName('WebGLRenderbuffer') |
1583 @Unstable() | 1609 @Unstable() |
1584 class Renderbuffer extends NativeFieldWrapperClass2 { | 1610 class Renderbuffer extends NativeFieldWrapperClass2 { |
1585 // To suppress missing implicit constructor warnings. | 1611 // To suppress missing implicit constructor warnings. |
1586 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } | 1612 factory Renderbuffer._() { throw new UnsupportedError("Not supported"); } |
1587 | 1613 |
1588 static Renderbuffer internalCreateRenderbuffer() { | 1614 static Renderbuffer internalCreateRenderbuffer() { |
1589 return new Renderbuffer._internalWrap(); | 1615 return new Renderbuffer._internalWrap(); |
1590 } | 1616 } |
1591 | 1617 |
1592 js.JsObject blink_jsObject = null; | 1618 js.JsObject blink_jsObject = null; |
1593 | 1619 |
1594 factory Renderbuffer._internalWrap() { | 1620 factory Renderbuffer._internalWrap() { |
1595 return new Renderbuffer.internal_(); | 1621 return new Renderbuffer.internal_(); |
1596 } | 1622 } |
1597 | 1623 |
1598 Renderbuffer.internal_() { } | 1624 Renderbuffer.internal_() { } |
1599 | 1625 |
1600 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1626 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1627 int get hashCode => unwrap_jso(this).hashCode; |
1601 | 1628 |
1602 } | 1629 } |
1603 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1630 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
1604 // for details. All rights reserved. Use of this source code is governed by a | 1631 // for details. All rights reserved. Use of this source code is governed by a |
1605 // BSD-style license that can be found in the LICENSE file. | 1632 // BSD-style license that can be found in the LICENSE file. |
1606 | 1633 |
1607 | 1634 |
1608 @DomName('WebGLRenderingContext') | 1635 @DomName('WebGLRenderingContext') |
1609 @SupportedBrowser(SupportedBrowser.CHROME) | 1636 @SupportedBrowser(SupportedBrowser.CHROME) |
1610 @SupportedBrowser(SupportedBrowser.FIREFOX) | 1637 @SupportedBrowser(SupportedBrowser.FIREFOX) |
1611 @Experimental() | 1638 @Experimental() |
1612 @Unstable() | 1639 @Unstable() |
1613 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi
ngContext { | 1640 class RenderingContext extends NativeFieldWrapperClass2 implements CanvasRenderi
ngContext { |
1614 // To suppress missing implicit constructor warnings. | 1641 // To suppress missing implicit constructor warnings. |
1615 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } | 1642 factory RenderingContext._() { throw new UnsupportedError("Not supported"); } |
1616 | 1643 |
1617 static RenderingContext internalCreateRenderingContext() { | 1644 static RenderingContext internalCreateRenderingContext() { |
1618 return new RenderingContext._internalWrap(); | 1645 return new RenderingContext._internalWrap(); |
1619 } | 1646 } |
1620 | 1647 |
1621 js.JsObject blink_jsObject = null; | 1648 js.JsObject blink_jsObject = null; |
1622 | 1649 |
1623 factory RenderingContext._internalWrap() { | 1650 factory RenderingContext._internalWrap() { |
1624 return new RenderingContext.internal_(); | 1651 return new RenderingContext.internal_(); |
1625 } | 1652 } |
1626 | 1653 |
1627 RenderingContext.internal_() { } | 1654 RenderingContext.internal_() { } |
1628 | 1655 |
1629 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 1656 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 1657 int get hashCode => unwrap_jso(this).hashCode; |
1630 | 1658 |
1631 /// Checks if this type is supported on the current platform. | 1659 /// Checks if this type is supported on the current platform. |
1632 static bool get supported => true; | 1660 static bool get supported => true; |
1633 | 1661 |
1634 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') | 1662 @DomName('WebGLRenderingContext.ACTIVE_ATTRIBUTES') |
1635 @DocsEditable() | 1663 @DocsEditable() |
1636 static const int ACTIVE_ATTRIBUTES = 0x8B89; | 1664 static const int ACTIVE_ATTRIBUTES = 0x8B89; |
1637 | 1665 |
1638 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') | 1666 @DomName('WebGLRenderingContext.ACTIVE_TEXTURE') |
1639 @DocsEditable() | 1667 @DocsEditable() |
(...skipping 1926 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3566 | 3594 |
3567 js.JsObject blink_jsObject = null; | 3595 js.JsObject blink_jsObject = null; |
3568 | 3596 |
3569 factory Shader._internalWrap() { | 3597 factory Shader._internalWrap() { |
3570 return new Shader.internal_(); | 3598 return new Shader.internal_(); |
3571 } | 3599 } |
3572 | 3600 |
3573 Shader.internal_() { } | 3601 Shader.internal_() { } |
3574 | 3602 |
3575 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 3603 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3604 int get hashCode => unwrap_jso(this).hashCode; |
3576 | 3605 |
3577 } | 3606 } |
3578 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3579 // for details. All rights reserved. Use of this source code is governed by a | 3608 // for details. All rights reserved. Use of this source code is governed by a |
3580 // BSD-style license that can be found in the LICENSE file. | 3609 // BSD-style license that can be found in the LICENSE file. |
3581 | 3610 |
3582 // WARNING: Do not edit - generated code. | 3611 // WARNING: Do not edit - generated code. |
3583 | 3612 |
3584 | 3613 |
3585 @DocsEditable() | 3614 @DocsEditable() |
3586 @DomName('WebGLShaderPrecisionFormat') | 3615 @DomName('WebGLShaderPrecisionFormat') |
3587 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { | 3616 class ShaderPrecisionFormat extends NativeFieldWrapperClass2 { |
3588 // To suppress missing implicit constructor warnings. | 3617 // To suppress missing implicit constructor warnings. |
3589 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } | 3618 factory ShaderPrecisionFormat._() { throw new UnsupportedError("Not supported"
); } |
3590 | 3619 |
3591 static ShaderPrecisionFormat internalCreateShaderPrecisionFormat() { | 3620 static ShaderPrecisionFormat internalCreateShaderPrecisionFormat() { |
3592 return new ShaderPrecisionFormat._internalWrap(); | 3621 return new ShaderPrecisionFormat._internalWrap(); |
3593 } | 3622 } |
3594 | 3623 |
3595 js.JsObject blink_jsObject = null; | 3624 js.JsObject blink_jsObject = null; |
3596 | 3625 |
3597 factory ShaderPrecisionFormat._internalWrap() { | 3626 factory ShaderPrecisionFormat._internalWrap() { |
3598 return new ShaderPrecisionFormat.internal_(); | 3627 return new ShaderPrecisionFormat.internal_(); |
3599 } | 3628 } |
3600 | 3629 |
3601 ShaderPrecisionFormat.internal_() { } | 3630 ShaderPrecisionFormat.internal_() { } |
3602 | 3631 |
3603 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 3632 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3633 int get hashCode => unwrap_jso(this).hashCode; |
3604 | 3634 |
3605 @DomName('WebGLShaderPrecisionFormat.precision') | 3635 @DomName('WebGLShaderPrecisionFormat.precision') |
3606 @DocsEditable() | 3636 @DocsEditable() |
3607 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision
_Getter_(unwrap_jso(this)); | 3637 int get precision => _blink.BlinkWebGLShaderPrecisionFormat.instance.precision
_Getter_(unwrap_jso(this)); |
3608 | 3638 |
3609 @DomName('WebGLShaderPrecisionFormat.rangeMax') | 3639 @DomName('WebGLShaderPrecisionFormat.rangeMax') |
3610 @DocsEditable() | 3640 @DocsEditable() |
3611 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G
etter_(unwrap_jso(this)); | 3641 int get rangeMax => _blink.BlinkWebGLShaderPrecisionFormat.instance.rangeMax_G
etter_(unwrap_jso(this)); |
3612 | 3642 |
3613 @DomName('WebGLShaderPrecisionFormat.rangeMin') | 3643 @DomName('WebGLShaderPrecisionFormat.rangeMin') |
(...skipping 20 matching lines...) Expand all Loading... |
3634 | 3664 |
3635 js.JsObject blink_jsObject = null; | 3665 js.JsObject blink_jsObject = null; |
3636 | 3666 |
3637 factory Texture._internalWrap() { | 3667 factory Texture._internalWrap() { |
3638 return new Texture.internal_(); | 3668 return new Texture.internal_(); |
3639 } | 3669 } |
3640 | 3670 |
3641 Texture.internal_() { } | 3671 Texture.internal_() { } |
3642 | 3672 |
3643 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 3673 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3674 int get hashCode => unwrap_jso(this).hashCode; |
3644 | 3675 |
3645 } | 3676 } |
3646 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3677 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3647 // for details. All rights reserved. Use of this source code is governed by a | 3678 // for details. All rights reserved. Use of this source code is governed by a |
3648 // BSD-style license that can be found in the LICENSE file. | 3679 // BSD-style license that can be found in the LICENSE file. |
3649 | 3680 |
3650 // WARNING: Do not edit - generated code. | 3681 // WARNING: Do not edit - generated code. |
3651 | 3682 |
3652 | 3683 |
3653 @DocsEditable() | 3684 @DocsEditable() |
3654 @DomName('WebGLUniformLocation') | 3685 @DomName('WebGLUniformLocation') |
3655 class UniformLocation extends NativeFieldWrapperClass2 { | 3686 class UniformLocation extends NativeFieldWrapperClass2 { |
3656 // To suppress missing implicit constructor warnings. | 3687 // To suppress missing implicit constructor warnings. |
3657 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } | 3688 factory UniformLocation._() { throw new UnsupportedError("Not supported"); } |
3658 | 3689 |
3659 static UniformLocation internalCreateUniformLocation() { | 3690 static UniformLocation internalCreateUniformLocation() { |
3660 return new UniformLocation._internalWrap(); | 3691 return new UniformLocation._internalWrap(); |
3661 } | 3692 } |
3662 | 3693 |
3663 js.JsObject blink_jsObject = null; | 3694 js.JsObject blink_jsObject = null; |
3664 | 3695 |
3665 factory UniformLocation._internalWrap() { | 3696 factory UniformLocation._internalWrap() { |
3666 return new UniformLocation.internal_(); | 3697 return new UniformLocation.internal_(); |
3667 } | 3698 } |
3668 | 3699 |
3669 UniformLocation.internal_() { } | 3700 UniformLocation.internal_() { } |
3670 | 3701 |
3671 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 3702 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3703 int get hashCode => unwrap_jso(this).hashCode; |
3672 | 3704 |
3673 } | 3705 } |
3674 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3706 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3675 // for details. All rights reserved. Use of this source code is governed by a | 3707 // for details. All rights reserved. Use of this source code is governed by a |
3676 // BSD-style license that can be found in the LICENSE file. | 3708 // BSD-style license that can be found in the LICENSE file. |
3677 | 3709 |
3678 // WARNING: Do not edit - generated code. | 3710 // WARNING: Do not edit - generated code. |
3679 | 3711 |
3680 | 3712 |
3681 @DocsEditable() | 3713 @DocsEditable() |
(...skipping 10 matching lines...) Expand all Loading... |
3692 | 3724 |
3693 js.JsObject blink_jsObject = null; | 3725 js.JsObject blink_jsObject = null; |
3694 | 3726 |
3695 factory VertexArrayObject._internalWrap() { | 3727 factory VertexArrayObject._internalWrap() { |
3696 return new VertexArrayObject.internal_(); | 3728 return new VertexArrayObject.internal_(); |
3697 } | 3729 } |
3698 | 3730 |
3699 VertexArrayObject.internal_() { } | 3731 VertexArrayObject.internal_() { } |
3700 | 3732 |
3701 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 3733 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3734 int get hashCode => unwrap_jso(this).hashCode; |
3702 | 3735 |
3703 } | 3736 } |
3704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3705 // for details. All rights reserved. Use of this source code is governed by a | 3738 // for details. All rights reserved. Use of this source code is governed by a |
3706 // BSD-style license that can be found in the LICENSE file. | 3739 // BSD-style license that can be found in the LICENSE file. |
3707 | 3740 |
3708 // WARNING: Do not edit - generated code. | 3741 // WARNING: Do not edit - generated code. |
3709 | 3742 |
3710 | 3743 |
3711 @DocsEditable() | 3744 @DocsEditable() |
3712 @DomName('WebGLRenderingContextBase') | 3745 @DomName('WebGLRenderingContextBase') |
3713 @Experimental() // untriaged | 3746 @Experimental() // untriaged |
3714 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { | 3747 abstract class _WebGLRenderingContextBase extends NativeFieldWrapperClass2 { |
3715 // To suppress missing implicit constructor warnings. | 3748 // To suppress missing implicit constructor warnings. |
3716 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } | 3749 factory _WebGLRenderingContextBase._() { throw new UnsupportedError("Not suppo
rted"); } |
3717 | 3750 |
3718 static _WebGLRenderingContextBase internalCreate_WebGLRenderingContextBase() { | 3751 static _WebGLRenderingContextBase internalCreate_WebGLRenderingContextBase() { |
3719 return new _WebGLRenderingContextBase._internalWrap(); | 3752 return new _WebGLRenderingContextBase._internalWrap(); |
3720 } | 3753 } |
3721 | 3754 |
3722 js.JsObject blink_jsObject = null; | 3755 js.JsObject blink_jsObject = null; |
3723 | 3756 |
3724 factory _WebGLRenderingContextBase._internalWrap() { | 3757 factory _WebGLRenderingContextBase._internalWrap() { |
3725 return new _WebGLRenderingContextBase.internal_(); | 3758 return new _WebGLRenderingContextBase.internal_(); |
3726 } | 3759 } |
3727 | 3760 |
3728 _WebGLRenderingContextBase.internal_() { } | 3761 _WebGLRenderingContextBase.internal_() { } |
3729 | 3762 |
3730 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); | 3763 bool operator ==(other) => unwrap_jso(other) == unwrap_jso(this) || identical(
this, other); |
| 3764 int get hashCode => unwrap_jso(this).hashCode; |
3731 | 3765 |
3732 } | 3766 } |
OLD | NEW |