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

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

Issue 2871193002: New sdk/lib generated from Chrome 50 IDLs (Closed)
Patch Set: Created 3 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
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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:collection'; 6 import 'dart:collection';
7 import 'dart:_internal'; 7 import 'dart:_internal';
8 import 'dart:html'; 8 import 'dart:html';
9 import 'dart:html_common'; 9 import 'dart:html_common';
10 import 'dart:_native_typed_data'; 10 import 'dart:_native_typed_data';
(...skipping 482 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 @DocsEditable() 493 @DocsEditable()
494 @Experimental() // untriaged 494 @Experimental() // untriaged
495 void uniformValuebufferChromium( 495 void uniformValuebufferChromium(
496 UniformLocation location, int target, int subscription) native; 496 UniformLocation location, int target, int subscription) native;
497 } 497 }
498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
499 // for details. All rights reserved. Use of this source code is governed by a 499 // for details. All rights reserved. Use of this source code is governed by a
500 // BSD-style license that can be found in the LICENSE file. 500 // BSD-style license that can be found in the LICENSE file.
501 501
502 @DocsEditable() 502 @DocsEditable()
503 @DomName('WebGLCompressedTextureASTC')
504 @Experimental() // untriaged
505 @Native("WebGLCompressedTextureASTC")
506 class CompressedTextureAstc extends Interceptor {
507 // To suppress missing implicit constructor warnings.
508 factory CompressedTextureAstc._() {
509 throw new UnsupportedError("Not supported");
510 }
511
512 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x10_KHR')
513 @DocsEditable()
514 @Experimental() // untriaged
515 static const int COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB;
516
517 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x5_KHR')
518 @DocsEditable()
519 @Experimental() // untriaged
520 static const int COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8;
521
522 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x6_KHR')
523 @DocsEditable()
524 @Experimental() // untriaged
525 static const int COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9;
526
527 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_10x8_KHR')
528 @DocsEditable()
529 @Experimental() // untriaged
530 static const int COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA;
531
532 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_12x10_KHR')
533 @DocsEditable()
534 @Experimental() // untriaged
535 static const int COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC;
536
537 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_12x12_KHR')
538 @DocsEditable()
539 @Experimental() // untriaged
540 static const int COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD;
541
542 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_4x4_KHR')
543 @DocsEditable()
544 @Experimental() // untriaged
545 static const int COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0;
546
547 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_5x4_KHR')
548 @DocsEditable()
549 @Experimental() // untriaged
550 static const int COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1;
551
552 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_5x5_KHR')
553 @DocsEditable()
554 @Experimental() // untriaged
555 static const int COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2;
556
557 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_6x5_KHR')
558 @DocsEditable()
559 @Experimental() // untriaged
560 static const int COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3;
561
562 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_6x6_KHR')
563 @DocsEditable()
564 @Experimental() // untriaged
565 static const int COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4;
566
567 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x5_KHR')
568 @DocsEditable()
569 @Experimental() // untriaged
570 static const int COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5;
571
572 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x6_KHR')
573 @DocsEditable()
574 @Experimental() // untriaged
575 static const int COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6;
576
577 @DomName('WebGLCompressedTextureASTC.COMPRESSED_RGBA_ASTC_8x8_KHR')
578 @DocsEditable()
579 @Experimental() // untriaged
580 static const int COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7;
581
582 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR')
583 @DocsEditable()
584 @Experimental() // untriaged
585 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB;
586
587 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR')
588 @DocsEditable()
589 @Experimental() // untriaged
590 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8;
591
592 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR')
593 @DocsEditable()
594 @Experimental() // untriaged
595 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9;
596
597 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR')
598 @DocsEditable()
599 @Experimental() // untriaged
600 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA;
601
602 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR')
603 @DocsEditable()
604 @Experimental() // untriaged
605 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC;
606
607 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR')
608 @DocsEditable()
609 @Experimental() // untriaged
610 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD;
611
612 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR')
613 @DocsEditable()
614 @Experimental() // untriaged
615 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0;
616
617 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR')
618 @DocsEditable()
619 @Experimental() // untriaged
620 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1;
621
622 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR')
623 @DocsEditable()
624 @Experimental() // untriaged
625 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2;
626
627 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR')
628 @DocsEditable()
629 @Experimental() // untriaged
630 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3;
631
632 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR')
633 @DocsEditable()
634 @Experimental() // untriaged
635 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4;
636
637 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR')
638 @DocsEditable()
639 @Experimental() // untriaged
640 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5;
641
642 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR')
643 @DocsEditable()
644 @Experimental() // untriaged
645 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6;
646
647 @DomName('WebGLCompressedTextureASTC.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR')
648 @DocsEditable()
649 @Experimental() // untriaged
650 static const int COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7;
651 }
652 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
653 // for details. All rights reserved. Use of this source code is governed by a
654 // BSD-style license that can be found in the LICENSE file.
655
656 @DocsEditable()
503 @DomName('WebGLCompressedTextureATC') 657 @DomName('WebGLCompressedTextureATC')
504 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc / 658 // http://www.khronos.org/registry/webgl/extensions/WEBGL_compressed_texture_atc /
505 @Experimental() 659 @Experimental()
506 @Native("WebGLCompressedTextureATC,WEBGL_compressed_texture_atc") 660 @Native("WebGLCompressedTextureATC,WEBGL_compressed_texture_atc")
507 class CompressedTextureAtc extends Interceptor { 661 class CompressedTextureAtc extends Interceptor {
508 // To suppress missing implicit constructor warnings. 662 // To suppress missing implicit constructor warnings.
509 factory CompressedTextureAtc._() { 663 factory CompressedTextureAtc._() {
510 throw new UnsupportedError("Not supported"); 664 throw new UnsupportedError("Not supported");
511 } 665 }
512 666
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
909 @DomName('EXTBlendMinMax.MIN_EXT') 1063 @DomName('EXTBlendMinMax.MIN_EXT')
910 @DocsEditable() 1064 @DocsEditable()
911 @Experimental() // untriaged 1065 @Experimental() // untriaged
912 static const int MIN_EXT = 0x8007; 1066 static const int MIN_EXT = 0x8007;
913 } 1067 }
914 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
915 // for details. All rights reserved. Use of this source code is governed by a 1069 // for details. All rights reserved. Use of this source code is governed by a
916 // BSD-style license that can be found in the LICENSE file. 1070 // BSD-style license that can be found in the LICENSE file.
917 1071
918 @DocsEditable() 1072 @DocsEditable()
1073 @DomName('EXTColorBufferFloat')
1074 @Experimental() // untriaged
1075 @Native("EXTColorBufferFloat")
1076 class ExtColorBufferFloat extends Interceptor {
1077 // To suppress missing implicit constructor warnings.
1078 factory ExtColorBufferFloat._() {
1079 throw new UnsupportedError("Not supported");
1080 }
1081 }
1082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1083 // for details. All rights reserved. Use of this source code is governed by a
1084 // BSD-style license that can be found in the LICENSE file.
1085
1086 @DocsEditable()
1087 @DomName('EXTDisjointTimerQuery')
1088 @Experimental() // untriaged
1089 @Native("EXTDisjointTimerQuery")
1090 class ExtDisjointTimerQuery extends Interceptor {
1091 // To suppress missing implicit constructor warnings.
1092 factory ExtDisjointTimerQuery._() {
1093 throw new UnsupportedError("Not supported");
1094 }
1095
1096 @DomName('EXTDisjointTimerQuery.CURRENT_QUERY_EXT')
1097 @DocsEditable()
1098 @Experimental() // untriaged
1099 static const int CURRENT_QUERY_EXT = 0x8865;
1100
1101 @DomName('EXTDisjointTimerQuery.GPU_DISJOINT_EXT')
1102 @DocsEditable()
1103 @Experimental() // untriaged
1104 static const int GPU_DISJOINT_EXT = 0x8FBB;
1105
1106 @DomName('EXTDisjointTimerQuery.QUERY_COUNTER_BITS_EXT')
1107 @DocsEditable()
1108 @Experimental() // untriaged
1109 static const int QUERY_COUNTER_BITS_EXT = 0x8864;
1110
1111 @DomName('EXTDisjointTimerQuery.QUERY_RESULT_AVAILABLE_EXT')
1112 @DocsEditable()
1113 @Experimental() // untriaged
1114 static const int QUERY_RESULT_AVAILABLE_EXT = 0x8867;
1115
1116 @DomName('EXTDisjointTimerQuery.QUERY_RESULT_EXT')
1117 @DocsEditable()
1118 @Experimental() // untriaged
1119 static const int QUERY_RESULT_EXT = 0x8866;
1120
1121 @DomName('EXTDisjointTimerQuery.TIMESTAMP_EXT')
1122 @DocsEditable()
1123 @Experimental() // untriaged
1124 static const int TIMESTAMP_EXT = 0x8E28;
1125
1126 @DomName('EXTDisjointTimerQuery.TIME_ELAPSED_EXT')
1127 @DocsEditable()
1128 @Experimental() // untriaged
1129 static const int TIME_ELAPSED_EXT = 0x88BF;
1130
1131 @JSName('beginQueryEXT')
1132 @DomName('EXTDisjointTimerQuery.beginQueryEXT')
1133 @DocsEditable()
1134 @Experimental() // untriaged
1135 void beginQueryExt(int target, TimerQueryExt query) native;
1136
1137 @JSName('createQueryEXT')
1138 @DomName('EXTDisjointTimerQuery.createQueryEXT')
1139 @DocsEditable()
1140 @Experimental() // untriaged
1141 TimerQueryExt createQueryExt() native;
1142
1143 @JSName('deleteQueryEXT')
1144 @DomName('EXTDisjointTimerQuery.deleteQueryEXT')
1145 @DocsEditable()
1146 @Experimental() // untriaged
1147 void deleteQueryExt(TimerQueryExt query) native;
1148
1149 @JSName('endQueryEXT')
1150 @DomName('EXTDisjointTimerQuery.endQueryEXT')
1151 @DocsEditable()
1152 @Experimental() // untriaged
1153 void endQueryExt(int target) native;
1154
1155 @JSName('getQueryEXT')
1156 @DomName('EXTDisjointTimerQuery.getQueryEXT')
1157 @DocsEditable()
1158 @Experimental() // untriaged
1159 Object getQueryExt(int target, int pname) native;
1160
1161 @JSName('getQueryObjectEXT')
1162 @DomName('EXTDisjointTimerQuery.getQueryObjectEXT')
1163 @DocsEditable()
1164 @Experimental() // untriaged
1165 Object getQueryObjectExt(TimerQueryExt query, int pname) native;
1166
1167 @JSName('isQueryEXT')
1168 @DomName('EXTDisjointTimerQuery.isQueryEXT')
1169 @DocsEditable()
1170 @Experimental() // untriaged
1171 bool isQueryExt(TimerQueryExt query) native;
1172
1173 @JSName('queryCounterEXT')
1174 @DomName('EXTDisjointTimerQuery.queryCounterEXT')
1175 @DocsEditable()
1176 @Experimental() // untriaged
1177 void queryCounterExt(TimerQueryExt query, int target) native;
1178 }
1179 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1180 // for details. All rights reserved. Use of this source code is governed by a
1181 // BSD-style license that can be found in the LICENSE file.
1182
1183 @DocsEditable()
919 @DomName('EXTFragDepth') 1184 @DomName('EXTFragDepth')
920 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/ 1185 // http://www.khronos.org/registry/webgl/extensions/EXT_frag_depth/
921 @Experimental() 1186 @Experimental()
922 @Native("EXTFragDepth,EXT_frag_depth") 1187 @Native("EXTFragDepth,EXT_frag_depth")
923 class ExtFragDepth extends Interceptor { 1188 class ExtFragDepth extends Interceptor {
924 // To suppress missing implicit constructor warnings. 1189 // To suppress missing implicit constructor warnings.
925 factory ExtFragDepth._() { 1190 factory ExtFragDepth._() {
926 throw new UnsupportedError("Not supported"); 1191 throw new UnsupportedError("Not supported");
927 } 1192 }
928 } 1193 }
(...skipping 1921 matching lines...) Expand 10 before | Expand all | Expand 10 after
2850 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native; 3115 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native;
2851 3116
2852 @DomName('WebGLRenderingContext.texImage2D') 3117 @DomName('WebGLRenderingContext.texImage2D')
2853 @DocsEditable() 3118 @DocsEditable()
2854 void texImage2D( 3119 void texImage2D(
2855 int target, 3120 int target,
2856 int level, 3121 int level,
2857 int internalformat, 3122 int internalformat,
2858 int format_OR_width, 3123 int format_OR_width,
2859 int height_OR_type, 3124 int height_OR_type,
2860 border_OR_canvas_OR_image_OR_pixels_OR_video, 3125 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video,
2861 [int format, 3126 [int format,
2862 int type, 3127 int type,
2863 TypedData pixels]) { 3128 TypedData pixels]) {
2864 if (type != null && 3129 if (type != null &&
2865 format != null && 3130 format != null &&
2866 (border_OR_canvas_OR_image_OR_pixels_OR_video is int)) { 3131 (bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is int)) {
2867 _texImage2D_1( 3132 _texImage2D_1(
2868 target, 3133 target,
2869 level, 3134 level,
2870 internalformat, 3135 internalformat,
2871 format_OR_width, 3136 format_OR_width,
2872 height_OR_type, 3137 height_OR_type,
2873 border_OR_canvas_OR_image_OR_pixels_OR_video, 3138 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video,
2874 format, 3139 format,
2875 type, 3140 type,
2876 pixels); 3141 pixels);
2877 return; 3142 return;
2878 } 3143 }
2879 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || 3144 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData ||
2880 border_OR_canvas_OR_image_OR_pixels_OR_video == null) && 3145 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video == null) &&
2881 format == null && 3146 format == null &&
2882 type == null && 3147 type == null &&
2883 pixels == null) { 3148 pixels == null) {
2884 var pixels_1 = convertDartToNative_ImageData( 3149 var pixels_1 = convertDartToNative_ImageData(
2885 border_OR_canvas_OR_image_OR_pixels_OR_video); 3150 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
2886 _texImage2D_2(target, level, internalformat, format_OR_width, 3151 _texImage2D_2(target, level, internalformat, format_OR_width,
2887 height_OR_type, pixels_1); 3152 height_OR_type, pixels_1);
2888 return; 3153 return;
2889 } 3154 }
2890 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && 3155 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video
3156 is ImageElement) &&
2891 format == null && 3157 format == null &&
2892 type == null && 3158 type == null &&
2893 pixels == null) { 3159 pixels == null) {
2894 _texImage2D_3(target, level, internalformat, format_OR_width, 3160 _texImage2D_3(
2895 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); 3161 target,
3162 level,
3163 internalformat,
3164 format_OR_width,
3165 height_OR_type,
3166 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
2896 return; 3167 return;
2897 } 3168 }
2898 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && 3169 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video
3170 is CanvasElement) &&
2899 format == null && 3171 format == null &&
2900 type == null && 3172 type == null &&
2901 pixels == null) { 3173 pixels == null) {
2902 _texImage2D_4(target, level, internalformat, format_OR_width, 3174 _texImage2D_4(
2903 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); 3175 target,
3176 level,
3177 internalformat,
3178 format_OR_width,
3179 height_OR_type,
3180 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
2904 return; 3181 return;
2905 } 3182 }
2906 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && 3183 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video
3184 is VideoElement) &&
2907 format == null && 3185 format == null &&
2908 type == null && 3186 type == null &&
2909 pixels == null) { 3187 pixels == null) {
2910 _texImage2D_5(target, level, internalformat, format_OR_width, 3188 _texImage2D_5(
2911 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); 3189 target,
3190 level,
3191 internalformat,
3192 format_OR_width,
3193 height_OR_type,
3194 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
3195 return;
3196 }
3197 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video
3198 is ImageBitmap) &&
3199 format == null &&
3200 type == null &&
3201 pixels == null) {
3202 _texImage2D_6(
3203 target,
3204 level,
3205 internalformat,
3206 format_OR_width,
3207 height_OR_type,
3208 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
2912 return; 3209 return;
2913 } 3210 }
2914 throw new ArgumentError("Incorrect number or type of arguments"); 3211 throw new ArgumentError("Incorrect number or type of arguments");
2915 } 3212 }
2916 3213
2917 @JSName('texImage2D') 3214 @JSName('texImage2D')
2918 @DomName('WebGLRenderingContext.texImage2D') 3215 @DomName('WebGLRenderingContext.texImage2D')
2919 @DocsEditable() 3216 @DocsEditable()
2920 void _texImage2D_1(target, level, internalformat, width, height, int border, 3217 void _texImage2D_1(target, level, internalformat, width, height, int border,
2921 format, type, TypedData pixels) native; 3218 format, type, TypedData pixels) native;
(...skipping 10 matching lines...) Expand all
2932 @JSName('texImage2D') 3229 @JSName('texImage2D')
2933 @DomName('WebGLRenderingContext.texImage2D') 3230 @DomName('WebGLRenderingContext.texImage2D')
2934 @DocsEditable() 3231 @DocsEditable()
2935 void _texImage2D_4( 3232 void _texImage2D_4(
2936 target, level, internalformat, format, type, CanvasElement canvas) native; 3233 target, level, internalformat, format, type, CanvasElement canvas) native;
2937 @JSName('texImage2D') 3234 @JSName('texImage2D')
2938 @DomName('WebGLRenderingContext.texImage2D') 3235 @DomName('WebGLRenderingContext.texImage2D')
2939 @DocsEditable() 3236 @DocsEditable()
2940 void _texImage2D_5( 3237 void _texImage2D_5(
2941 target, level, internalformat, format, type, VideoElement video) native; 3238 target, level, internalformat, format, type, VideoElement video) native;
3239 @JSName('texImage2D')
3240 @DomName('WebGLRenderingContext.texImage2D')
3241 @DocsEditable()
3242 void _texImage2D_6(
3243 target, level, internalformat, format, type, ImageBitmap bitmap) native;
2942 3244
2943 @DomName('WebGLRenderingContext.texParameterf') 3245 @DomName('WebGLRenderingContext.texParameterf')
2944 @DocsEditable() 3246 @DocsEditable()
2945 void texParameterf(int target, int pname, num param) native; 3247 void texParameterf(int target, int pname, num param) native;
2946 3248
2947 @DomName('WebGLRenderingContext.texParameteri') 3249 @DomName('WebGLRenderingContext.texParameteri')
2948 @DocsEditable() 3250 @DocsEditable()
2949 void texParameteri(int target, int pname, int param) native; 3251 void texParameteri(int target, int pname, int param) native;
2950 3252
2951 @DomName('WebGLRenderingContext.texSubImage2D') 3253 @DomName('WebGLRenderingContext.texSubImage2D')
2952 @DocsEditable() 3254 @DocsEditable()
2953 void texSubImage2D( 3255 void texSubImage2D(
2954 int target, 3256 int target,
2955 int level, 3257 int level,
2956 int xoffset, 3258 int xoffset,
2957 int yoffset, 3259 int yoffset,
2958 int format_OR_width, 3260 int format_OR_width,
2959 int height_OR_type, 3261 int height_OR_type,
2960 canvas_OR_format_OR_image_OR_pixels_OR_video, 3262 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video,
2961 [int type, 3263 [int type,
2962 TypedData pixels]) { 3264 TypedData pixels]) {
2963 if (type != null && (canvas_OR_format_OR_image_OR_pixels_OR_video is int)) { 3265 if (type != null &&
3266 (bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is int)) {
2964 _texSubImage2D_1( 3267 _texSubImage2D_1(
2965 target, 3268 target,
2966 level, 3269 level,
2967 xoffset, 3270 xoffset,
2968 yoffset, 3271 yoffset,
2969 format_OR_width, 3272 format_OR_width,
2970 height_OR_type, 3273 height_OR_type,
2971 canvas_OR_format_OR_image_OR_pixels_OR_video, 3274 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video,
2972 type, 3275 type,
2973 pixels); 3276 pixels);
2974 return; 3277 return;
2975 } 3278 }
2976 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || 3279 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData ||
2977 canvas_OR_format_OR_image_OR_pixels_OR_video == null) && 3280 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video == null) &&
2978 type == null && 3281 type == null &&
2979 pixels == null) { 3282 pixels == null) {
2980 var pixels_1 = convertDartToNative_ImageData( 3283 var pixels_1 = convertDartToNative_ImageData(
2981 canvas_OR_format_OR_image_OR_pixels_OR_video); 3284 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
2982 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, 3285 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width,
2983 height_OR_type, pixels_1); 3286 height_OR_type, pixels_1);
2984 return; 3287 return;
2985 } 3288 }
2986 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && 3289 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video
3290 is ImageElement) &&
2987 type == null && 3291 type == null &&
2988 pixels == null) { 3292 pixels == null) {
2989 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, 3293 _texSubImage2D_3(
2990 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 3294 target,
3295 level,
3296 xoffset,
3297 yoffset,
3298 format_OR_width,
3299 height_OR_type,
3300 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
2991 return; 3301 return;
2992 } 3302 }
2993 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && 3303 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video
3304 is CanvasElement) &&
2994 type == null && 3305 type == null &&
2995 pixels == null) { 3306 pixels == null) {
2996 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, 3307 _texSubImage2D_4(
2997 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 3308 target,
3309 level,
3310 xoffset,
3311 yoffset,
3312 format_OR_width,
3313 height_OR_type,
3314 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
2998 return; 3315 return;
2999 } 3316 }
3000 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && 3317 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video
3318 is VideoElement) &&
3001 type == null && 3319 type == null &&
3002 pixels == null) { 3320 pixels == null) {
3003 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, 3321 _texSubImage2D_5(
3004 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 3322 target,
3323 level,
3324 xoffset,
3325 yoffset,
3326 format_OR_width,
3327 height_OR_type,
3328 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
3329 return;
3330 }
3331 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video
3332 is ImageBitmap) &&
3333 type == null &&
3334 pixels == null) {
3335 _texSubImage2D_6(
3336 target,
3337 level,
3338 xoffset,
3339 yoffset,
3340 format_OR_width,
3341 height_OR_type,
3342 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
3005 return; 3343 return;
3006 } 3344 }
3007 throw new ArgumentError("Incorrect number or type of arguments"); 3345 throw new ArgumentError("Incorrect number or type of arguments");
3008 } 3346 }
3009 3347
3010 @JSName('texSubImage2D') 3348 @JSName('texSubImage2D')
3011 @DomName('WebGLRenderingContext.texSubImage2D') 3349 @DomName('WebGLRenderingContext.texSubImage2D')
3012 @DocsEditable() 3350 @DocsEditable()
3013 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, 3351 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height,
3014 int format, type, TypedData pixels) native; 3352 int format, type, TypedData pixels) native;
(...skipping 10 matching lines...) Expand all
3025 @JSName('texSubImage2D') 3363 @JSName('texSubImage2D')
3026 @DomName('WebGLRenderingContext.texSubImage2D') 3364 @DomName('WebGLRenderingContext.texSubImage2D')
3027 @DocsEditable() 3365 @DocsEditable()
3028 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, 3366 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type,
3029 CanvasElement canvas) native; 3367 CanvasElement canvas) native;
3030 @JSName('texSubImage2D') 3368 @JSName('texSubImage2D')
3031 @DomName('WebGLRenderingContext.texSubImage2D') 3369 @DomName('WebGLRenderingContext.texSubImage2D')
3032 @DocsEditable() 3370 @DocsEditable()
3033 void _texSubImage2D_5( 3371 void _texSubImage2D_5(
3034 target, level, xoffset, yoffset, format, type, VideoElement video) native; 3372 target, level, xoffset, yoffset, format, type, VideoElement video) native;
3373 @JSName('texSubImage2D')
3374 @DomName('WebGLRenderingContext.texSubImage2D')
3375 @DocsEditable()
3376 void _texSubImage2D_6(
3377 target, level, xoffset, yoffset, format, type, ImageBitmap bitmap) native;
3035 3378
3036 @DomName('WebGLRenderingContext.uniform1f') 3379 @DomName('WebGLRenderingContext.uniform1f')
3037 @DocsEditable() 3380 @DocsEditable()
3038 void uniform1f(UniformLocation location, num x) native; 3381 void uniform1f(UniformLocation location, num x) native;
3039 3382
3040 @DomName('WebGLRenderingContext.uniform1fv') 3383 @DomName('WebGLRenderingContext.uniform1fv')
3041 @DocsEditable() 3384 @DocsEditable()
3042 void uniform1fv(UniformLocation location, v) native; 3385 void uniform1fv(UniformLocation location, v) native;
3043 3386
3044 @DomName('WebGLRenderingContext.uniform1i') 3387 @DomName('WebGLRenderingContext.uniform1i')
(...skipping 1889 matching lines...) Expand 10 before | Expand all | Expand 10 after
4934 5277
4935 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter') 5278 @DomName('WebGL2RenderingContext.getActiveUniformBlockParameter')
4936 @DocsEditable() 5279 @DocsEditable()
4937 @Experimental() // untriaged 5280 @Experimental() // untriaged
4938 Object getActiveUniformBlockParameter( 5281 Object getActiveUniformBlockParameter(
4939 Program program, int uniformBlockIndex, int pname) native; 5282 Program program, int uniformBlockIndex, int pname) native;
4940 5283
4941 @DomName('WebGL2RenderingContext.getActiveUniforms') 5284 @DomName('WebGL2RenderingContext.getActiveUniforms')
4942 @DocsEditable() 5285 @DocsEditable()
4943 @Experimental() // untriaged 5286 @Experimental() // untriaged
4944 List<int> getActiveUniforms( 5287 Object getActiveUniforms(Program program, List<int> uniformIndices, int pname)
4945 Program program, List<int> uniformIndices, int pname) native; 5288 native;
4946 5289
4947 @DomName('WebGL2RenderingContext.getBufferSubData') 5290 @DomName('WebGL2RenderingContext.getBufferSubData')
4948 @DocsEditable() 5291 @DocsEditable()
4949 @Experimental() // untriaged 5292 @Experimental() // untriaged
4950 void getBufferSubData(int target, int offset, ByteBuffer returnedData) native; 5293 void getBufferSubData(int target, int offset, ByteBuffer returnedData) native;
4951 5294
4952 @DomName('WebGL2RenderingContext.getFragDataLocation') 5295 @DomName('WebGL2RenderingContext.getFragDataLocation')
4953 @DocsEditable() 5296 @DocsEditable()
4954 @Experimental() // untriaged 5297 @Experimental() // untriaged
4955 int getFragDataLocation(Program program, String name) native; 5298 int getFragDataLocation(Program program, String name) native;
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
5048 @DomName('WebGL2RenderingContext.pauseTransformFeedback') 5391 @DomName('WebGL2RenderingContext.pauseTransformFeedback')
5049 @DocsEditable() 5392 @DocsEditable()
5050 @Experimental() // untriaged 5393 @Experimental() // untriaged
5051 void pauseTransformFeedback() native; 5394 void pauseTransformFeedback() native;
5052 5395
5053 @DomName('WebGL2RenderingContext.readBuffer') 5396 @DomName('WebGL2RenderingContext.readBuffer')
5054 @DocsEditable() 5397 @DocsEditable()
5055 @Experimental() // untriaged 5398 @Experimental() // untriaged
5056 void readBuffer(int mode) native; 5399 void readBuffer(int mode) native;
5057 5400
5401 @JSName('readPixels')
5402 @DomName('WebGL2RenderingContext.readPixels')
5403 @DocsEditable()
5404 @Experimental() // untriaged
5405 void readPixels2(int x, int y, int width, int height, int format, int type,
5406 int offset) native;
5407
5058 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample') 5408 @DomName('WebGL2RenderingContext.renderbufferStorageMultisample')
5059 @DocsEditable() 5409 @DocsEditable()
5060 @Experimental() // untriaged 5410 @Experimental() // untriaged
5061 void renderbufferStorageMultisample(int target, int samples, 5411 void renderbufferStorageMultisample(int target, int samples,
5062 int internalformat, int width, int height) native; 5412 int internalformat, int width, int height) native;
5063 5413
5064 @DomName('WebGL2RenderingContext.resumeTransformFeedback') 5414 @DomName('WebGL2RenderingContext.resumeTransformFeedback')
5065 @DocsEditable() 5415 @DocsEditable()
5066 @Experimental() // untriaged 5416 @Experimental() // untriaged
5067 void resumeTransformFeedback() native; 5417 void resumeTransformFeedback() native;
5068 5418
5069 @DomName('WebGL2RenderingContext.samplerParameterf') 5419 @DomName('WebGL2RenderingContext.samplerParameterf')
5070 @DocsEditable() 5420 @DocsEditable()
5071 @Experimental() // untriaged 5421 @Experimental() // untriaged
5072 void samplerParameterf(Sampler sampler, int pname, num param) native; 5422 void samplerParameterf(Sampler sampler, int pname, num param) native;
5073 5423
5074 @DomName('WebGL2RenderingContext.samplerParameteri') 5424 @DomName('WebGL2RenderingContext.samplerParameteri')
5075 @DocsEditable() 5425 @DocsEditable()
5076 @Experimental() // untriaged 5426 @Experimental() // untriaged
5077 void samplerParameteri(Sampler sampler, int pname, int param) native; 5427 void samplerParameteri(Sampler sampler, int pname, int param) native;
5078 5428
5429 @JSName('texImage2D')
5430 @DomName('WebGL2RenderingContext.texImage2D')
5431 @DocsEditable()
5432 @Experimental() // untriaged
5433 void texImage2D2(int target, int level, int internalformat, int width,
5434 int height, int border, int format, int type, int offset) native;
5435
5079 @DomName('WebGL2RenderingContext.texImage3D') 5436 @DomName('WebGL2RenderingContext.texImage3D')
5080 @DocsEditable() 5437 @DocsEditable()
5081 @Experimental() // untriaged 5438 @Experimental() // untriaged
5082 void texImage3D( 5439 void texImage3D(
5083 int target, 5440 int target,
5084 int level, 5441 int level,
5085 int internalformat, 5442 int internalformat,
5086 int width, 5443 int width,
5087 int height, 5444 int height,
5088 int depth, 5445 int depth,
5089 int border, 5446 int border,
5090 int format, 5447 int format,
5091 int type, 5448 int type,
5092 TypedData pixels) native; 5449 offset_OR_pixels) native;
5093 5450
5094 @DomName('WebGL2RenderingContext.texStorage2D') 5451 @DomName('WebGL2RenderingContext.texStorage2D')
5095 @DocsEditable() 5452 @DocsEditable()
5096 @Experimental() // untriaged 5453 @Experimental() // untriaged
5097 void texStorage2D( 5454 void texStorage2D(
5098 int target, int levels, int internalformat, int width, int height) native; 5455 int target, int levels, int internalformat, int width, int height) native;
5099 5456
5100 @DomName('WebGL2RenderingContext.texStorage3D') 5457 @DomName('WebGL2RenderingContext.texStorage3D')
5101 @DocsEditable() 5458 @DocsEditable()
5102 @Experimental() // untriaged 5459 @Experimental() // untriaged
5103 void texStorage3D(int target, int levels, int internalformat, int width, 5460 void texStorage3D(int target, int levels, int internalformat, int width,
5104 int height, int depth) native; 5461 int height, int depth) native;
5105 5462
5106 @DomName('WebGL2RenderingContext.texSubImage3D') 5463 @DomName('WebGL2RenderingContext.texSubImage3D')
5107 @DocsEditable() 5464 @DocsEditable()
5108 @Experimental() // untriaged 5465 @Experimental() // untriaged
5109 void texSubImage3D( 5466 void texSubImage3D(
5110 int target, 5467 int target,
5111 int level, 5468 int level,
5112 int xoffset, 5469 int xoffset,
5113 int yoffset, 5470 int yoffset,
5114 int zoffset, 5471 int zoffset,
5115 int format_OR_width, 5472 int format_OR_width,
5116 int height_OR_type, 5473 int height_OR_type,
5117 canvas_OR_data_OR_depth_OR_image_OR_video, 5474 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video,
5118 [int format, 5475 [int format,
5119 int type, 5476 int type,
5120 TypedData pixels]) { 5477 TypedData pixels]) {
5121 if (type != null && 5478 if (type != null &&
5122 format != null && 5479 format != null &&
5123 (canvas_OR_data_OR_depth_OR_image_OR_video is int)) { 5480 (bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is int)) {
5124 _texSubImage3D_1( 5481 _texSubImage3D_1(
5125 target, 5482 target,
5126 level, 5483 level,
5127 xoffset, 5484 xoffset,
5128 yoffset, 5485 yoffset,
5129 zoffset, 5486 zoffset,
5130 format_OR_width, 5487 format_OR_width,
5131 height_OR_type, 5488 height_OR_type,
5132 canvas_OR_data_OR_depth_OR_image_OR_video, 5489 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video,
5133 format, 5490 format,
5134 type, 5491 type,
5135 pixels); 5492 pixels);
5136 return; 5493 return;
5137 } 5494 }
5138 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageData || 5495 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageData ||
5139 canvas_OR_data_OR_depth_OR_image_OR_video == null) && 5496 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
5140 format == null && 5497 format == null &&
5141 type == null && 5498 type == null &&
5142 pixels == null) { 5499 pixels == null) {
5143 var data_1 = convertDartToNative_ImageData( 5500 var data_1 = convertDartToNative_ImageData(
5144 canvas_OR_data_OR_depth_OR_image_OR_video); 5501 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
5145 _texSubImage3D_2(target, level, xoffset, yoffset, zoffset, 5502 _texSubImage3D_2(target, level, xoffset, yoffset, zoffset,
5146 format_OR_width, height_OR_type, data_1); 5503 format_OR_width, height_OR_type, data_1);
5147 return; 5504 return;
5148 } 5505 }
5149 if ((canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement || 5506 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageElement ||
5150 canvas_OR_data_OR_depth_OR_image_OR_video == null) && 5507 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
5151 format == null && 5508 format == null &&
5152 type == null && 5509 type == null &&
5153 pixels == null) { 5510 pixels == null) {
5154 _texSubImage3D_3( 5511 _texSubImage3D_3(
5155 target, 5512 target,
5156 level, 5513 level,
5157 xoffset, 5514 xoffset,
5158 yoffset, 5515 yoffset,
5159 zoffset, 5516 zoffset,
5160 format_OR_width, 5517 format_OR_width,
5161 height_OR_type, 5518 height_OR_type,
5162 canvas_OR_data_OR_depth_OR_image_OR_video); 5519 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
5163 return; 5520 return;
5164 } 5521 }
5165 if ((canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement || 5522 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is CanvasElement ||
5166 canvas_OR_data_OR_depth_OR_image_OR_video == null) && 5523 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
5167 format == null && 5524 format == null &&
5168 type == null && 5525 type == null &&
5169 pixels == null) { 5526 pixels == null) {
5170 _texSubImage3D_4( 5527 _texSubImage3D_4(
5171 target, 5528 target,
5172 level, 5529 level,
5173 xoffset, 5530 xoffset,
5174 yoffset, 5531 yoffset,
5175 zoffset, 5532 zoffset,
5176 format_OR_width, 5533 format_OR_width,
5177 height_OR_type, 5534 height_OR_type,
5178 canvas_OR_data_OR_depth_OR_image_OR_video); 5535 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
5179 return; 5536 return;
5180 } 5537 }
5181 if ((canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement || 5538 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is VideoElement ||
5182 canvas_OR_data_OR_depth_OR_image_OR_video == null) && 5539 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
5183 format == null && 5540 format == null &&
5184 type == null && 5541 type == null &&
5185 pixels == null) { 5542 pixels == null) {
5186 _texSubImage3D_5( 5543 _texSubImage3D_5(
5187 target, 5544 target,
5188 level, 5545 level,
5189 xoffset, 5546 xoffset,
5190 yoffset, 5547 yoffset,
5191 zoffset, 5548 zoffset,
5192 format_OR_width, 5549 format_OR_width,
5193 height_OR_type, 5550 height_OR_type,
5194 canvas_OR_data_OR_depth_OR_image_OR_video); 5551 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
5552 return;
5553 }
5554 if ((bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video is ImageBitmap ||
5555 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video == null) &&
5556 format == null &&
5557 type == null &&
5558 pixels == null) {
5559 _texSubImage3D_6(
5560 target,
5561 level,
5562 xoffset,
5563 yoffset,
5564 zoffset,
5565 format_OR_width,
5566 height_OR_type,
5567 bitmap_OR_canvas_OR_data_OR_depth_OR_image_OR_video);
5195 return; 5568 return;
5196 } 5569 }
5197 throw new ArgumentError("Incorrect number or type of arguments"); 5570 throw new ArgumentError("Incorrect number or type of arguments");
5198 } 5571 }
5199 5572
5200 @JSName('texSubImage3D') 5573 @JSName('texSubImage3D')
5201 @DomName('WebGL2RenderingContext.texSubImage3D') 5574 @DomName('WebGL2RenderingContext.texSubImage3D')
5202 @DocsEditable() 5575 @DocsEditable()
5203 @Experimental() // untriaged 5576 @Experimental() // untriaged
5204 void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height, 5577 void _texSubImage3D_1(target, level, xoffset, yoffset, zoffset, width, height,
(...skipping 15 matching lines...) Expand all
5220 @DocsEditable() 5593 @DocsEditable()
5221 @Experimental() // untriaged 5594 @Experimental() // untriaged
5222 void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format, type, 5595 void _texSubImage3D_4(target, level, xoffset, yoffset, zoffset, format, type,
5223 CanvasElement canvas) native; 5596 CanvasElement canvas) native;
5224 @JSName('texSubImage3D') 5597 @JSName('texSubImage3D')
5225 @DomName('WebGL2RenderingContext.texSubImage3D') 5598 @DomName('WebGL2RenderingContext.texSubImage3D')
5226 @DocsEditable() 5599 @DocsEditable()
5227 @Experimental() // untriaged 5600 @Experimental() // untriaged
5228 void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format, type, 5601 void _texSubImage3D_5(target, level, xoffset, yoffset, zoffset, format, type,
5229 VideoElement video) native; 5602 VideoElement video) native;
5603 @JSName('texSubImage3D')
5604 @DomName('WebGL2RenderingContext.texSubImage3D')
5605 @DocsEditable()
5606 @Experimental() // untriaged
5607 void _texSubImage3D_6(target, level, xoffset, yoffset, zoffset, format, type,
5608 ImageBitmap bitmap) native;
5230 5609
5231 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') 5610 @DomName('WebGL2RenderingContext.transformFeedbackVaryings')
5232 @DocsEditable() 5611 @DocsEditable()
5233 @Experimental() // untriaged 5612 @Experimental() // untriaged
5234 void transformFeedbackVaryings( 5613 void transformFeedbackVaryings(
5235 Program program, List<String> varyings, int bufferMode) { 5614 Program program, List<String> varyings, int bufferMode) {
5236 List varyings_1 = convertDartToNative_StringArray(varyings); 5615 List varyings_1 = convertDartToNative_StringArray(varyings);
5237 _transformFeedbackVaryings_1(program, varyings_1, bufferMode); 5616 _transformFeedbackVaryings_1(program, varyings_1, bufferMode);
5238 return; 5617 return;
5239 } 5618 }
5240 5619
5241 @JSName('transformFeedbackVaryings') 5620 @JSName('transformFeedbackVaryings')
5242 @DomName('WebGL2RenderingContext.transformFeedbackVaryings') 5621 @DomName('WebGL2RenderingContext.transformFeedbackVaryings')
5243 @DocsEditable() 5622 @DocsEditable()
5244 @Experimental() // untriaged 5623 @Experimental() // untriaged
5245 void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode) 5624 void _transformFeedbackVaryings_1(Program program, List varyings, bufferMode)
5246 native; 5625 native;
5247 5626
5248 @DomName('WebGL2RenderingContext.uniform1ui') 5627 @DomName('WebGL2RenderingContext.uniform1ui')
5249 @DocsEditable() 5628 @DocsEditable()
5250 @Experimental() // untriaged 5629 @Experimental() // untriaged
5251 void uniform1ui(UniformLocation location, int v0) native; 5630 void uniform1ui(UniformLocation location, int v0) native;
5252 5631
5253 @DomName('WebGL2RenderingContext.uniform1uiv') 5632 @DomName('WebGL2RenderingContext.uniform1uiv')
5254 @DocsEditable() 5633 @DocsEditable()
5255 @Experimental() // untriaged 5634 @Experimental() // untriaged
5256 void uniform1uiv(UniformLocation location, List<int> value) native; 5635 void uniform1uiv(UniformLocation location, v) native;
5257 5636
5258 @DomName('WebGL2RenderingContext.uniform2ui') 5637 @DomName('WebGL2RenderingContext.uniform2ui')
5259 @DocsEditable() 5638 @DocsEditable()
5260 @Experimental() // untriaged 5639 @Experimental() // untriaged
5261 void uniform2ui(UniformLocation location, int v0, int v1) native; 5640 void uniform2ui(UniformLocation location, int v0, int v1) native;
5262 5641
5263 @DomName('WebGL2RenderingContext.uniform2uiv') 5642 @DomName('WebGL2RenderingContext.uniform2uiv')
5264 @DocsEditable() 5643 @DocsEditable()
5265 @Experimental() // untriaged 5644 @Experimental() // untriaged
5266 void uniform2uiv(UniformLocation location, List<int> value) native; 5645 void uniform2uiv(UniformLocation location, v) native;
5267 5646
5268 @DomName('WebGL2RenderingContext.uniform3ui') 5647 @DomName('WebGL2RenderingContext.uniform3ui')
5269 @DocsEditable() 5648 @DocsEditable()
5270 @Experimental() // untriaged 5649 @Experimental() // untriaged
5271 void uniform3ui(UniformLocation location, int v0, int v1, int v2) native; 5650 void uniform3ui(UniformLocation location, int v0, int v1, int v2) native;
5272 5651
5273 @DomName('WebGL2RenderingContext.uniform3uiv') 5652 @DomName('WebGL2RenderingContext.uniform3uiv')
5274 @DocsEditable() 5653 @DocsEditable()
5275 @Experimental() // untriaged 5654 @Experimental() // untriaged
5276 void uniform3uiv(UniformLocation location, List<int> value) native; 5655 void uniform3uiv(UniformLocation location, v) native;
5277 5656
5278 @DomName('WebGL2RenderingContext.uniform4ui') 5657 @DomName('WebGL2RenderingContext.uniform4ui')
5279 @DocsEditable() 5658 @DocsEditable()
5280 @Experimental() // untriaged 5659 @Experimental() // untriaged
5281 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3) 5660 void uniform4ui(UniformLocation location, int v0, int v1, int v2, int v3)
5282 native; 5661 native;
5283 5662
5284 @DomName('WebGL2RenderingContext.uniform4uiv') 5663 @DomName('WebGL2RenderingContext.uniform4uiv')
5285 @DocsEditable() 5664 @DocsEditable()
5286 @Experimental() // untriaged 5665 @Experimental() // untriaged
5287 void uniform4uiv(UniformLocation location, List<int> value) native; 5666 void uniform4uiv(UniformLocation location, v) native;
5288 5667
5289 @DomName('WebGL2RenderingContext.uniformBlockBinding') 5668 @DomName('WebGL2RenderingContext.uniformBlockBinding')
5290 @DocsEditable() 5669 @DocsEditable()
5291 @Experimental() // untriaged 5670 @Experimental() // untriaged
5292 void uniformBlockBinding( 5671 void uniformBlockBinding(
5293 Program program, int uniformBlockIndex, int uniformBlockBinding) native; 5672 Program program, int uniformBlockIndex, int uniformBlockBinding) native;
5294 5673
5295 @DomName('WebGL2RenderingContext.uniformMatrix2x3fv') 5674 @DomName('WebGL2RenderingContext.uniformMatrix2x3fv')
5296 @DocsEditable() 5675 @DocsEditable()
5297 @Experimental() // untriaged 5676 @Experimental() // untriaged
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
5334 void vertexAttribDivisor(int index, int divisor) native; 5713 void vertexAttribDivisor(int index, int divisor) native;
5335 5714
5336 @DomName('WebGL2RenderingContext.vertexAttribI4i') 5715 @DomName('WebGL2RenderingContext.vertexAttribI4i')
5337 @DocsEditable() 5716 @DocsEditable()
5338 @Experimental() // untriaged 5717 @Experimental() // untriaged
5339 void vertexAttribI4i(int index, int x, int y, int z, int w) native; 5718 void vertexAttribI4i(int index, int x, int y, int z, int w) native;
5340 5719
5341 @DomName('WebGL2RenderingContext.vertexAttribI4iv') 5720 @DomName('WebGL2RenderingContext.vertexAttribI4iv')
5342 @DocsEditable() 5721 @DocsEditable()
5343 @Experimental() // untriaged 5722 @Experimental() // untriaged
5344 void vertexAttribI4iv(int index, List<int> v) native; 5723 void vertexAttribI4iv(int index, v) native;
5345 5724
5346 @DomName('WebGL2RenderingContext.vertexAttribI4ui') 5725 @DomName('WebGL2RenderingContext.vertexAttribI4ui')
5347 @DocsEditable() 5726 @DocsEditable()
5348 @Experimental() // untriaged 5727 @Experimental() // untriaged
5349 void vertexAttribI4ui(int index, int x, int y, int z, int w) native; 5728 void vertexAttribI4ui(int index, int x, int y, int z, int w) native;
5350 5729
5351 @DomName('WebGL2RenderingContext.vertexAttribI4uiv') 5730 @DomName('WebGL2RenderingContext.vertexAttribI4uiv')
5352 @DocsEditable() 5731 @DocsEditable()
5353 @Experimental() // untriaged 5732 @Experimental() // untriaged
5354 void vertexAttribI4uiv(int index, List<int> v) native; 5733 void vertexAttribI4uiv(int index, v) native;
5355 5734
5356 @DomName('WebGL2RenderingContext.vertexAttribIPointer') 5735 @DomName('WebGL2RenderingContext.vertexAttribIPointer')
5357 @DocsEditable() 5736 @DocsEditable()
5358 @Experimental() // untriaged 5737 @Experimental() // untriaged
5359 void vertexAttribIPointer( 5738 void vertexAttribIPointer(
5360 int index, int size, int type, int stride, int offset) native; 5739 int index, int size, int type, int stride, int offset) native;
5361 5740
5362 @DomName('WebGL2RenderingContext.waitSync') 5741 @DomName('WebGL2RenderingContext.waitSync')
5363 @DocsEditable() 5742 @DocsEditable()
5364 @Experimental() // untriaged 5743 @Experimental() // untriaged
(...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
5907 6286
5908 @DomName('WebGL2RenderingContext.texImage2D') 6287 @DomName('WebGL2RenderingContext.texImage2D')
5909 @DocsEditable() 6288 @DocsEditable()
5910 @Experimental() // untriaged 6289 @Experimental() // untriaged
5911 void texImage2D( 6290 void texImage2D(
5912 int target, 6291 int target,
5913 int level, 6292 int level,
5914 int internalformat, 6293 int internalformat,
5915 int format_OR_width, 6294 int format_OR_width,
5916 int height_OR_type, 6295 int height_OR_type,
5917 border_OR_canvas_OR_image_OR_pixels_OR_video, 6296 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video,
5918 [int format, 6297 [int format,
5919 int type, 6298 int type,
5920 TypedData pixels]) { 6299 TypedData pixels]) {
5921 if (type != null && 6300 if (type != null &&
5922 format != null && 6301 format != null &&
5923 (border_OR_canvas_OR_image_OR_pixels_OR_video is int)) { 6302 (bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is int)) {
5924 _texImage2D_1( 6303 _texImage2D_1(
5925 target, 6304 target,
5926 level, 6305 level,
5927 internalformat, 6306 internalformat,
5928 format_OR_width, 6307 format_OR_width,
5929 height_OR_type, 6308 height_OR_type,
5930 border_OR_canvas_OR_image_OR_pixels_OR_video, 6309 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video,
5931 format, 6310 format,
5932 type, 6311 type,
5933 pixels); 6312 pixels);
5934 return; 6313 return;
5935 } 6314 }
5936 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || 6315 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData ||
5937 border_OR_canvas_OR_image_OR_pixels_OR_video == null) && 6316 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video == null) &&
5938 format == null && 6317 format == null &&
5939 type == null && 6318 type == null &&
5940 pixels == null) { 6319 pixels == null) {
5941 var pixels_1 = convertDartToNative_ImageData( 6320 var pixels_1 = convertDartToNative_ImageData(
5942 border_OR_canvas_OR_image_OR_pixels_OR_video); 6321 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
5943 _texImage2D_2(target, level, internalformat, format_OR_width, 6322 _texImage2D_2(target, level, internalformat, format_OR_width,
5944 height_OR_type, pixels_1); 6323 height_OR_type, pixels_1);
5945 return; 6324 return;
5946 } 6325 }
5947 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement) && 6326 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video
6327 is ImageElement) &&
5948 format == null && 6328 format == null &&
5949 type == null && 6329 type == null &&
5950 pixels == null) { 6330 pixels == null) {
5951 _texImage2D_3(target, level, internalformat, format_OR_width, 6331 _texImage2D_3(
5952 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); 6332 target,
6333 level,
6334 internalformat,
6335 format_OR_width,
6336 height_OR_type,
6337 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
5953 return; 6338 return;
5954 } 6339 }
5955 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement) && 6340 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video
6341 is CanvasElement) &&
5956 format == null && 6342 format == null &&
5957 type == null && 6343 type == null &&
5958 pixels == null) { 6344 pixels == null) {
5959 _texImage2D_4(target, level, internalformat, format_OR_width, 6345 _texImage2D_4(
5960 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); 6346 target,
6347 level,
6348 internalformat,
6349 format_OR_width,
6350 height_OR_type,
6351 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
5961 return; 6352 return;
5962 } 6353 }
5963 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement) && 6354 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video
6355 is VideoElement) &&
5964 format == null && 6356 format == null &&
5965 type == null && 6357 type == null &&
5966 pixels == null) { 6358 pixels == null) {
5967 _texImage2D_5(target, level, internalformat, format_OR_width, 6359 _texImage2D_5(
5968 height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video); 6360 target,
6361 level,
6362 internalformat,
6363 format_OR_width,
6364 height_OR_type,
6365 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
6366 return;
6367 }
6368 if ((bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video
6369 is ImageBitmap) &&
6370 format == null &&
6371 type == null &&
6372 pixels == null) {
6373 _texImage2D_6(
6374 target,
6375 level,
6376 internalformat,
6377 format_OR_width,
6378 height_OR_type,
6379 bitmap_OR_border_OR_canvas_OR_image_OR_pixels_OR_video);
5969 return; 6380 return;
5970 } 6381 }
5971 throw new ArgumentError("Incorrect number or type of arguments"); 6382 throw new ArgumentError("Incorrect number or type of arguments");
5972 } 6383 }
5973 6384
5974 @JSName('texImage2D') 6385 @JSName('texImage2D')
5975 @DomName('WebGL2RenderingContext.texImage2D') 6386 @DomName('WebGL2RenderingContext.texImage2D')
5976 @DocsEditable() 6387 @DocsEditable()
5977 @Experimental() // untriaged 6388 @Experimental() // untriaged
5978 void _texImage2D_1(target, level, internalformat, width, height, int border, 6389 void _texImage2D_1(target, level, internalformat, width, height, int border,
(...skipping 15 matching lines...) Expand all
5994 @DocsEditable() 6405 @DocsEditable()
5995 @Experimental() // untriaged 6406 @Experimental() // untriaged
5996 void _texImage2D_4( 6407 void _texImage2D_4(
5997 target, level, internalformat, format, type, CanvasElement canvas) native; 6408 target, level, internalformat, format, type, CanvasElement canvas) native;
5998 @JSName('texImage2D') 6409 @JSName('texImage2D')
5999 @DomName('WebGL2RenderingContext.texImage2D') 6410 @DomName('WebGL2RenderingContext.texImage2D')
6000 @DocsEditable() 6411 @DocsEditable()
6001 @Experimental() // untriaged 6412 @Experimental() // untriaged
6002 void _texImage2D_5( 6413 void _texImage2D_5(
6003 target, level, internalformat, format, type, VideoElement video) native; 6414 target, level, internalformat, format, type, VideoElement video) native;
6415 @JSName('texImage2D')
6416 @DomName('WebGL2RenderingContext.texImage2D')
6417 @DocsEditable()
6418 @Experimental() // untriaged
6419 void _texImage2D_6(
6420 target, level, internalformat, format, type, ImageBitmap bitmap) native;
6004 6421
6005 @DomName('WebGL2RenderingContext.texParameterf') 6422 @DomName('WebGL2RenderingContext.texParameterf')
6006 @DocsEditable() 6423 @DocsEditable()
6007 @Experimental() // untriaged 6424 @Experimental() // untriaged
6008 void texParameterf(int target, int pname, num param) native; 6425 void texParameterf(int target, int pname, num param) native;
6009 6426
6010 @DomName('WebGL2RenderingContext.texParameteri') 6427 @DomName('WebGL2RenderingContext.texParameteri')
6011 @DocsEditable() 6428 @DocsEditable()
6012 @Experimental() // untriaged 6429 @Experimental() // untriaged
6013 void texParameteri(int target, int pname, int param) native; 6430 void texParameteri(int target, int pname, int param) native;
6014 6431
6015 @DomName('WebGL2RenderingContext.texSubImage2D') 6432 @DomName('WebGL2RenderingContext.texSubImage2D')
6016 @DocsEditable() 6433 @DocsEditable()
6017 @Experimental() // untriaged 6434 @Experimental() // untriaged
6018 void texSubImage2D( 6435 void texSubImage2D(
6019 int target, 6436 int target,
6020 int level, 6437 int level,
6021 int xoffset, 6438 int xoffset,
6022 int yoffset, 6439 int yoffset,
6023 int format_OR_width, 6440 int format_OR_width,
6024 int height_OR_type, 6441 int height_OR_type,
6025 canvas_OR_format_OR_image_OR_pixels_OR_video, 6442 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video,
6026 [int type, 6443 [int type,
6027 TypedData pixels]) { 6444 TypedData pixels]) {
6028 if (type != null && (canvas_OR_format_OR_image_OR_pixels_OR_video is int)) { 6445 if (type != null &&
6446 (bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is int)) {
6029 _texSubImage2D_1( 6447 _texSubImage2D_1(
6030 target, 6448 target,
6031 level, 6449 level,
6032 xoffset, 6450 xoffset,
6033 yoffset, 6451 yoffset,
6034 format_OR_width, 6452 format_OR_width,
6035 height_OR_type, 6453 height_OR_type,
6036 canvas_OR_format_OR_image_OR_pixels_OR_video, 6454 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video,
6037 type, 6455 type,
6038 pixels); 6456 pixels);
6039 return; 6457 return;
6040 } 6458 }
6041 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || 6459 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData ||
6042 canvas_OR_format_OR_image_OR_pixels_OR_video == null) && 6460 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video == null) &&
6043 type == null && 6461 type == null &&
6044 pixels == null) { 6462 pixels == null) {
6045 var pixels_1 = convertDartToNative_ImageData( 6463 var pixels_1 = convertDartToNative_ImageData(
6046 canvas_OR_format_OR_image_OR_pixels_OR_video); 6464 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
6047 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, 6465 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width,
6048 height_OR_type, pixels_1); 6466 height_OR_type, pixels_1);
6049 return; 6467 return;
6050 } 6468 }
6051 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement) && 6469 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video
6470 is ImageElement) &&
6052 type == null && 6471 type == null &&
6053 pixels == null) { 6472 pixels == null) {
6054 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, 6473 _texSubImage2D_3(
6055 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 6474 target,
6475 level,
6476 xoffset,
6477 yoffset,
6478 format_OR_width,
6479 height_OR_type,
6480 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
6056 return; 6481 return;
6057 } 6482 }
6058 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement) && 6483 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video
6484 is CanvasElement) &&
6059 type == null && 6485 type == null &&
6060 pixels == null) { 6486 pixels == null) {
6061 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, 6487 _texSubImage2D_4(
6062 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 6488 target,
6489 level,
6490 xoffset,
6491 yoffset,
6492 format_OR_width,
6493 height_OR_type,
6494 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
6063 return; 6495 return;
6064 } 6496 }
6065 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement) && 6497 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video
6498 is VideoElement) &&
6066 type == null && 6499 type == null &&
6067 pixels == null) { 6500 pixels == null) {
6068 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, 6501 _texSubImage2D_5(
6069 height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 6502 target,
6503 level,
6504 xoffset,
6505 yoffset,
6506 format_OR_width,
6507 height_OR_type,
6508 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
6509 return;
6510 }
6511 if ((bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video
6512 is ImageBitmap) &&
6513 type == null &&
6514 pixels == null) {
6515 _texSubImage2D_6(
6516 target,
6517 level,
6518 xoffset,
6519 yoffset,
6520 format_OR_width,
6521 height_OR_type,
6522 bitmap_OR_canvas_OR_format_OR_image_OR_pixels_OR_video);
6070 return; 6523 return;
6071 } 6524 }
6072 throw new ArgumentError("Incorrect number or type of arguments"); 6525 throw new ArgumentError("Incorrect number or type of arguments");
6073 } 6526 }
6074 6527
6075 @JSName('texSubImage2D') 6528 @JSName('texSubImage2D')
6076 @DomName('WebGL2RenderingContext.texSubImage2D') 6529 @DomName('WebGL2RenderingContext.texSubImage2D')
6077 @DocsEditable() 6530 @DocsEditable()
6078 @Experimental() // untriaged 6531 @Experimental() // untriaged
6079 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height, 6532 void _texSubImage2D_1(target, level, xoffset, yoffset, width, height,
(...skipping 15 matching lines...) Expand all
6095 @DocsEditable() 6548 @DocsEditable()
6096 @Experimental() // untriaged 6549 @Experimental() // untriaged
6097 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type, 6550 void _texSubImage2D_4(target, level, xoffset, yoffset, format, type,
6098 CanvasElement canvas) native; 6551 CanvasElement canvas) native;
6099 @JSName('texSubImage2D') 6552 @JSName('texSubImage2D')
6100 @DomName('WebGL2RenderingContext.texSubImage2D') 6553 @DomName('WebGL2RenderingContext.texSubImage2D')
6101 @DocsEditable() 6554 @DocsEditable()
6102 @Experimental() // untriaged 6555 @Experimental() // untriaged
6103 void _texSubImage2D_5( 6556 void _texSubImage2D_5(
6104 target, level, xoffset, yoffset, format, type, VideoElement video) native; 6557 target, level, xoffset, yoffset, format, type, VideoElement video) native;
6558 @JSName('texSubImage2D')
6559 @DomName('WebGL2RenderingContext.texSubImage2D')
6560 @DocsEditable()
6561 @Experimental() // untriaged
6562 void _texSubImage2D_6(
6563 target, level, xoffset, yoffset, format, type, ImageBitmap bitmap) native;
6105 6564
6106 @DomName('WebGL2RenderingContext.uniform1f') 6565 @DomName('WebGL2RenderingContext.uniform1f')
6107 @DocsEditable() 6566 @DocsEditable()
6108 @Experimental() // untriaged 6567 @Experimental() // untriaged
6109 void uniform1f(UniformLocation location, num x) native; 6568 void uniform1f(UniformLocation location, num x) native;
6110 6569
6111 @DomName('WebGL2RenderingContext.uniform1fv') 6570 @DomName('WebGL2RenderingContext.uniform1fv')
6112 @DocsEditable() 6571 @DocsEditable()
6113 @Experimental() // untriaged 6572 @Experimental() // untriaged
6114 void uniform1fv(UniformLocation location, v) native; 6573 void uniform1fv(UniformLocation location, v) native;
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
6336 // To suppress missing implicit constructor warnings. 6795 // To suppress missing implicit constructor warnings.
6337 factory Texture._() { 6796 factory Texture._() {
6338 throw new UnsupportedError("Not supported"); 6797 throw new UnsupportedError("Not supported");
6339 } 6798 }
6340 } 6799 }
6341 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6342 // for details. All rights reserved. Use of this source code is governed by a 6801 // for details. All rights reserved. Use of this source code is governed by a
6343 // BSD-style license that can be found in the LICENSE file. 6802 // BSD-style license that can be found in the LICENSE file.
6344 6803
6345 @DocsEditable() 6804 @DocsEditable()
6805 @DomName('WebGLTimerQueryEXT')
6806 @Experimental() // untriaged
6807 @Native("WebGLTimerQueryEXT")
6808 class TimerQueryExt extends Interceptor {
6809 // To suppress missing implicit constructor warnings.
6810 factory TimerQueryExt._() {
6811 throw new UnsupportedError("Not supported");
6812 }
6813 }
6814 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6815 // for details. All rights reserved. Use of this source code is governed by a
6816 // BSD-style license that can be found in the LICENSE file.
6817
6818 @DocsEditable()
6346 @DomName('WebGLTransformFeedback') 6819 @DomName('WebGLTransformFeedback')
6347 @Experimental() // untriaged 6820 @Experimental() // untriaged
6348 @Native("WebGLTransformFeedback") 6821 @Native("WebGLTransformFeedback")
6349 class TransformFeedback extends Interceptor { 6822 class TransformFeedback extends Interceptor {
6350 // To suppress missing implicit constructor warnings. 6823 // To suppress missing implicit constructor warnings.
6351 factory TransformFeedback._() { 6824 factory TransformFeedback._() {
6352 throw new UnsupportedError("Not supported"); 6825 throw new UnsupportedError("Not supported");
6353 } 6826 }
6354 } 6827 }
6355 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
6417 6890
6418 @DocsEditable() 6891 @DocsEditable()
6419 @DomName('WebGLRenderingContextBase') 6892 @DomName('WebGLRenderingContextBase')
6420 @Experimental() // untriaged 6893 @Experimental() // untriaged
6421 abstract class _WebGLRenderingContextBase extends Interceptor { 6894 abstract class _WebGLRenderingContextBase extends Interceptor {
6422 // To suppress missing implicit constructor warnings. 6895 // To suppress missing implicit constructor warnings.
6423 factory _WebGLRenderingContextBase._() { 6896 factory _WebGLRenderingContextBase._() {
6424 throw new UnsupportedError("Not supported"); 6897 throw new UnsupportedError("Not supported");
6425 } 6898 }
6426 } 6899 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dart2js/web_audio_dart2js.dart ('k') | tests/co19/co19-dart2js.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698