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

Side by Side Diff: sdk/lib/web_gl/dartium/web_gl_dartium.dart

Issue 260893007: Initial overloading implementation in _blink (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Eliminated duplicate entry in dart.idl Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library dart.dom.web_gl; 1 library dart.dom.web_gl;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_internal' hide deprecated; 5 import 'dart:_internal' hide deprecated;
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 import 'dart:_blink' as _blink; 10 import 'dart:_blink' as _blink;
(...skipping 2307 matching lines...) Expand 10 before | Expand all | Expand 10 after
2318 void blendFunc(int sfactor, int dfactor) => _blink.Native_WebGLRenderingContex t_blendFunc_Callback(this, sfactor, dfactor); 2318 void blendFunc(int sfactor, int dfactor) => _blink.Native_WebGLRenderingContex t_blendFunc_Callback(this, sfactor, dfactor);
2319 2319
2320 @DomName('WebGLRenderingContext.blendFuncSeparate') 2320 @DomName('WebGLRenderingContext.blendFuncSeparate')
2321 @DocsEditable() 2321 @DocsEditable()
2322 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.Native_WebGLRenderingContext_blendFuncSeparate_Callback(this, srcRGB, dst RGB, srcAlpha, dstAlpha); 2322 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) => _blink.Native_WebGLRenderingContext_blendFuncSeparate_Callback(this, srcRGB, dst RGB, srcAlpha, dstAlpha);
2323 2323
2324 @DomName('WebGLRenderingContext.bufferByteData') 2324 @DomName('WebGLRenderingContext.bufferByteData')
2325 @DocsEditable() 2325 @DocsEditable()
2326 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.Native_W ebGLRenderingContext_bufferByteData_Callback(this, target, data, usage); 2326 void bufferByteData(int target, ByteBuffer data, int usage) => _blink.Native_W ebGLRenderingContext_bufferByteData_Callback(this, target, data, usage);
2327 2327
2328 void bufferData(int target, data_OR_size, int usage) { 2328 void bufferData(int target, data_OR_size, int usage) => _blink.Native_WebGLRen deringContext_bufferData(this, target, data_OR_size, usage);
2329 if ((usage is int || usage == null) && (data_OR_size is TypedData || data_OR _size == null) && (target is int || target == null)) {
2330 _bufferData_1(target, data_OR_size, usage);
2331 return;
2332 }
2333 if ((usage is int || usage == null) && (data_OR_size is ByteBuffer || data_O R_size == null) && (target is int || target == null)) {
2334 _bufferData_2(target, data_OR_size, usage);
2335 return;
2336 }
2337 if ((usage is int || usage == null) && (data_OR_size is int || data_OR_size == null) && (target is int || target == null)) {
2338 _bufferData_3(target, data_OR_size, usage);
2339 return;
2340 }
2341 throw new ArgumentError("Incorrect number or type of arguments");
2342 }
2343
2344 void _bufferData_1(target, data_OR_size, usage) => _blink.Native_WebGLRenderin gContext__bufferData_1_Callback(this, target, data_OR_size, usage);
2345
2346 void _bufferData_2(target, data_OR_size, usage) => _blink.Native_WebGLRenderin gContext__bufferData_2_Callback(this, target, data_OR_size, usage);
2347
2348 void _bufferData_3(target, data_OR_size, usage) => _blink.Native_WebGLRenderin gContext__bufferData_3_Callback(this, target, data_OR_size, usage);
2349 2329
2350 @DomName('WebGLRenderingContext.bufferDataTyped') 2330 @DomName('WebGLRenderingContext.bufferDataTyped')
2351 @DocsEditable() 2331 @DocsEditable()
2352 void bufferDataTyped(int target, TypedData data, int usage) => _blink.Native_W ebGLRenderingContext_bufferDataTyped_Callback(this, target, data, usage); 2332 void bufferDataTyped(int target, TypedData data, int usage) => _blink.Native_W ebGLRenderingContext_bufferDataTyped_Callback(this, target, data, usage);
2353 2333
2354 @DomName('WebGLRenderingContext.bufferSubByteData') 2334 @DomName('WebGLRenderingContext.bufferSubByteData')
2355 @DocsEditable() 2335 @DocsEditable()
2356 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Nati ve_WebGLRenderingContext_bufferSubByteData_Callback(this, target, offset, data); 2336 void bufferSubByteData(int target, int offset, ByteBuffer data) => _blink.Nati ve_WebGLRenderingContext_bufferSubByteData_Callback(this, target, offset, data);
2357 2337
2358 void bufferSubData(int target, int offset, data) { 2338 void bufferSubData(int target, int offset, data) => _blink.Native_WebGLRenderi ngContext_bufferSubData(this, target, offset, data);
2359 if ((data is TypedData || data == null) && (offset is int || offset == null) && (target is int || target == null)) {
2360 _bufferSubData_1(target, offset, data);
2361 return;
2362 }
2363 if ((data is ByteBuffer || data == null) && (offset is int || offset == null ) && (target is int || target == null)) {
2364 _bufferSubData_2(target, offset, data);
2365 return;
2366 }
2367 throw new ArgumentError("Incorrect number or type of arguments");
2368 }
2369
2370 void _bufferSubData_1(target, offset, data) => _blink.Native_WebGLRenderingCon text__bufferSubData_1_Callback(this, target, offset, data);
2371
2372 void _bufferSubData_2(target, offset, data) => _blink.Native_WebGLRenderingCon text__bufferSubData_2_Callback(this, target, offset, data);
2373 2339
2374 @DomName('WebGLRenderingContext.bufferSubDataTyped') 2340 @DomName('WebGLRenderingContext.bufferSubDataTyped')
2375 @DocsEditable() 2341 @DocsEditable()
2376 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Nati ve_WebGLRenderingContext_bufferSubDataTyped_Callback(this, target, offset, data) ; 2342 void bufferSubDataTyped(int target, int offset, TypedData data) => _blink.Nati ve_WebGLRenderingContext_bufferSubDataTyped_Callback(this, target, offset, data) ;
2377 2343
2378 @DomName('WebGLRenderingContext.checkFramebufferStatus') 2344 @DomName('WebGLRenderingContext.checkFramebufferStatus')
2379 @DocsEditable() 2345 @DocsEditable()
2380 int checkFramebufferStatus(int target) => _blink.Native_WebGLRenderingContext_ checkFramebufferStatus_Callback(this, target); 2346 int checkFramebufferStatus(int target) => _blink.Native_WebGLRenderingContext_ checkFramebufferStatus_Callback(this, target);
2381 2347
2382 @DomName('WebGLRenderingContext.clear') 2348 @DomName('WebGLRenderingContext.clear')
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
2716 void stencilMaskSeparate(int face, int mask) => _blink.Native_WebGLRenderingCo ntext_stencilMaskSeparate_Callback(this, face, mask); 2682 void stencilMaskSeparate(int face, int mask) => _blink.Native_WebGLRenderingCo ntext_stencilMaskSeparate_Callback(this, face, mask);
2717 2683
2718 @DomName('WebGLRenderingContext.stencilOp') 2684 @DomName('WebGLRenderingContext.stencilOp')
2719 @DocsEditable() 2685 @DocsEditable()
2720 void stencilOp(int fail, int zfail, int zpass) => _blink.Native_WebGLRendering Context_stencilOp_Callback(this, fail, zfail, zpass); 2686 void stencilOp(int fail, int zfail, int zpass) => _blink.Native_WebGLRendering Context_stencilOp_Callback(this, fail, zfail, zpass);
2721 2687
2722 @DomName('WebGLRenderingContext.stencilOpSeparate') 2688 @DomName('WebGLRenderingContext.stencilOpSeparate')
2723 @DocsEditable() 2689 @DocsEditable()
2724 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Nat ive_WebGLRenderingContext_stencilOpSeparate_Callback(this, face, fail, zfail, zp ass); 2690 void stencilOpSeparate(int face, int fail, int zfail, int zpass) => _blink.Nat ive_WebGLRenderingContext_stencilOpSeparate_Callback(this, face, fail, zfail, zp ass);
2725 2691
2726 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]) { 2692 void texImage2D(int target, int level, int internalformat, int format_OR_width , int height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video, [int format, int type, TypedData pixels]) => _blink.Native_WebGLRenderingContext_texImage2D( this, target, level, internalformat, format_OR_width, height_OR_type, border_OR_ canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
2727 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (format is int || format == null) && (border_OR_canvas_OR_image_OR_pixels_OR _video is int || border_OR_canvas_OR_image_OR_pixels_OR_video == null) && (heigh t_OR_type is int || height_OR_type == null) && (format_OR_width is int || format _OR_width == null) && (internalformat is int || internalformat == null) && (leve l is int || level == null) && (target is int || target == null)) {
2728 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
2729 return;
2730 }
2731 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_ canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (inte rnalformat is int || internalformat == null) && (level is int || level == null) && (target is int || target == null) && format == null && type == null && pixels == null) {
2732 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2733 return;
2734 }
2735 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i nternalformat is int || internalformat == null) && (level is int || level == nul l) && (target is int || target == null) && format == null && type == null && pix els == null) {
2736 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2737 return;
2738 }
2739 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is CanvasElement || border _OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && ( internalformat is int || internalformat == null) && (level is int || level == nu ll) && (target is int || target == null) && format == null && type == null && pi xels == null) {
2740 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2741 return;
2742 }
2743 if ((border_OR_canvas_OR_image_OR_pixels_OR_video is VideoElement || border_ OR_canvas_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (i nternalformat is int || internalformat == null) && (level is int || level == nul l) && (target is int || target == null) && format == null && type == null && pix els == null) {
2744 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
2745 return;
2746 }
2747 throw new ArgumentError("Incorrect number or type of arguments");
2748 }
2749
2750 void _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels) => _bli nk.Native_WebGLRenderingContext__texImage2D_1_Callback(this, target, level, inte rnalformat, format_OR_width, height_OR_type, border_OR_canvas_OR_image_OR_pixels _OR_video, format, type, pixels);
2751
2752 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRenderi ngContext__texImage2D_2_Callback(this, target, level, internalformat, format_OR_ width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
2753
2754 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRenderi ngContext__texImage2D_3_Callback(this, target, level, internalformat, format_OR_ width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
2755
2756 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRenderi ngContext__texImage2D_4_Callback(this, target, level, internalformat, format_OR_ width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
2757
2758 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRenderi ngContext__texImage2D_5_Callback(this, target, level, internalformat, format_OR_ width, height_OR_type, border_OR_canvas_OR_image_OR_pixels_OR_video);
2759 2693
2760 @DomName('WebGLRenderingContext.texImage2DCanvas') 2694 @DomName('WebGLRenderingContext.texImage2DCanvas')
2761 @DocsEditable() 2695 @DocsEditable()
2762 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.Native_WebGLRenderingContext_texImage2D Canvas_Callback(this, target, level, internalformat, format, type, canvas); 2696 void texImage2DCanvas(int target, int level, int internalformat, int format, i nt type, CanvasElement canvas) => _blink.Native_WebGLRenderingContext_texImage2D Canvas_Callback(this, target, level, internalformat, format, type, canvas);
2763 2697
2764 @DomName('WebGLRenderingContext.texImage2DImage') 2698 @DomName('WebGLRenderingContext.texImage2DImage')
2765 @DocsEditable() 2699 @DocsEditable()
2766 void texImage2DImage(int target, int level, int internalformat, int format, in t type, ImageElement image) => _blink.Native_WebGLRenderingContext_texImage2DIma ge_Callback(this, target, level, internalformat, format, type, image); 2700 void texImage2DImage(int target, int level, int internalformat, int format, in t type, ImageElement image) => _blink.Native_WebGLRenderingContext_texImage2DIma ge_Callback(this, target, level, internalformat, format, type, image);
2767 2701
2768 @DomName('WebGLRenderingContext.texImage2DImageData') 2702 @DomName('WebGLRenderingContext.texImage2DImageData')
2769 @DocsEditable() 2703 @DocsEditable()
2770 void texImage2DImageData(int target, int level, int internalformat, int format , int type, ImageData pixels) => _blink.Native_WebGLRenderingContext_texImage2DI mageData_Callback(this, target, level, internalformat, format, type, pixels); 2704 void texImage2DImageData(int target, int level, int internalformat, int format , int type, ImageData pixels) => _blink.Native_WebGLRenderingContext_texImage2DI mageData_Callback(this, target, level, internalformat, format, type, pixels);
2771 2705
2772 @DomName('WebGLRenderingContext.texImage2DVideo') 2706 @DomName('WebGLRenderingContext.texImage2DVideo')
2773 @DocsEditable() 2707 @DocsEditable()
2774 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) => _blink.Native_WebGLRenderingContext_texImage2DVid eo_Callback(this, target, level, internalformat, format, type, video); 2708 void texImage2DVideo(int target, int level, int internalformat, int format, in t type, VideoElement video) => _blink.Native_WebGLRenderingContext_texImage2DVid eo_Callback(this, target, level, internalformat, format, type, video);
2775 2709
2776 @DomName('WebGLRenderingContext.texParameterf') 2710 @DomName('WebGLRenderingContext.texParameterf')
2777 @DocsEditable() 2711 @DocsEditable()
2778 void texParameterf(int target, int pname, num param) => _blink.Native_WebGLRen deringContext_texParameterf_Callback(this, target, pname, param); 2712 void texParameterf(int target, int pname, num param) => _blink.Native_WebGLRen deringContext_texParameterf_Callback(this, target, pname, param);
2779 2713
2780 @DomName('WebGLRenderingContext.texParameteri') 2714 @DomName('WebGLRenderingContext.texParameteri')
2781 @DocsEditable() 2715 @DocsEditable()
2782 void texParameteri(int target, int pname, int param) => _blink.Native_WebGLRen deringContext_texParameteri_Callback(this, target, pname, param); 2716 void texParameteri(int target, int pname, int param) => _blink.Native_WebGLRen deringContext_texParameteri_Callback(this, target, pname, param);
2783 2717
2784 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in t type, TypedData pixels]) { 2718 void texSubImage2D(int target, int level, int xoffset, int yoffset, int format _OR_width, int height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, [in t type, TypedData pixels]) => _blink.Native_WebGLRenderingContext_texSubImage2D( this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_O R_format_OR_image_OR_pixels_OR_video, type, pixels);
2785 if ((pixels is TypedData || pixels == null) && (type is int || type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int || canvas_OR_format_OR_ image_OR_pixels_OR_video == null) && (height_OR_type is int || height_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null)) {
2786 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
2787 return;
2788 }
2789 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageData || canvas_OR_ format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || height_ OR_type == null) && (format_OR_width is int || format_OR_width == null) && (yoff set is int || yoffset == null) && (xoffset is int || xoffset == null) && (level is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
2790 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2791 return;
2792 }
2793 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is ImageElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev el is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
2794 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2795 return;
2796 }
2797 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is CanvasElement || canvas _OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || hei ght_OR_type == null) && (format_OR_width is int || format_OR_width == null) && ( yoffset is int || yoffset == null) && (xoffset is int || xoffset == null) && (le vel is int || level == null) && (target is int || target == null) && type == nul l && pixels == null) {
2798 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2799 return;
2800 }
2801 if ((canvas_OR_format_OR_image_OR_pixels_OR_video is VideoElement || canvas_ OR_format_OR_image_OR_pixels_OR_video == null) && (height_OR_type is int || heig ht_OR_type == null) && (format_OR_width is int || format_OR_width == null) && (y offset is int || yoffset == null) && (xoffset is int || xoffset == null) && (lev el is int || level == null) && (target is int || target == null) && type == null && pixels == null) {
2802 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2803 return;
2804 }
2805 throw new ArgumentError("Incorrect number or type of arguments");
2806 }
2807
2808 void _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) => _blink. Native_WebGLRenderingContext__texSubImage2D_1_Callback(this, target, level, xoff set, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixe ls_OR_video, type, pixels);
2809
2810 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRe nderingContext__texSubImage2D_2_Callback(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2811
2812 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRe nderingContext__texSubImage2D_3_Callback(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2813
2814 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRe nderingContext__texSubImage2D_4_Callback(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2815
2816 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) => _blink.Native_WebGLRe nderingContext__texSubImage2D_5_Callback(this, target, level, xoffset, yoffset, format_OR_width, height_OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
2817 2719
2818 @DomName('WebGLRenderingContext.texSubImage2DCanvas') 2720 @DomName('WebGLRenderingContext.texSubImage2DCanvas')
2819 @DocsEditable() 2721 @DocsEditable()
2820 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.Native_WebGLRenderingContext_t exSubImage2DCanvas_Callback(this, target, level, xoffset, yoffset, format, type, canvas); 2722 void texSubImage2DCanvas(int target, int level, int xoffset, int yoffset, int format, int type, CanvasElement canvas) => _blink.Native_WebGLRenderingContext_t exSubImage2DCanvas_Callback(this, target, level, xoffset, yoffset, format, type, canvas);
2821 2723
2822 @DomName('WebGLRenderingContext.texSubImage2DImage') 2724 @DomName('WebGLRenderingContext.texSubImage2DImage')
2823 @DocsEditable() 2725 @DocsEditable()
2824 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f ormat, int type, ImageElement image) => _blink.Native_WebGLRenderingContext_texS ubImage2DImage_Callback(this, target, level, xoffset, yoffset, format, type, ima ge); 2726 void texSubImage2DImage(int target, int level, int xoffset, int yoffset, int f ormat, int type, ImageElement image) => _blink.Native_WebGLRenderingContext_texS ubImage2DImage_Callback(this, target, level, xoffset, yoffset, format, type, ima ge);
2825 2727
2826 @DomName('WebGLRenderingContext.texSubImage2DImageData') 2728 @DomName('WebGLRenderingContext.texSubImage2DImageData')
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
3093 2995
3094 @DocsEditable() 2996 @DocsEditable()
3095 @DomName('WebGLVertexArrayObjectOES') 2997 @DomName('WebGLVertexArrayObjectOES')
3096 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ 2998 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/
3097 @Experimental() // experimental 2999 @Experimental() // experimental
3098 class VertexArrayObject extends NativeFieldWrapperClass2 { 3000 class VertexArrayObject extends NativeFieldWrapperClass2 {
3099 // To suppress missing implicit constructor warnings. 3001 // To suppress missing implicit constructor warnings.
3100 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } 3002 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); }
3101 3003
3102 } 3004 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | tests/lib/analyzer/analyze_library.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698