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

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

Issue 13934012: regenerate dom libraries (dartium) (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library dart.dom.web_gl; 1 library dart.dom.web_gl;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_collection-dev'; 5 import 'dart:_collection-dev';
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:typeddata' as _typeddata; 9 import 'dart:typeddata';
10 // DO NOT EDIT 10 // DO NOT EDIT
11 // Auto-generated dart:web_gl library. 11 // Auto-generated dart:web_gl library.
12 12
13 13
14 14
15 15
16 16
17 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 17 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
18 // for details. All rights reserved. Use of this source code is governed by a 18 // for details. All rights reserved. Use of this source code is governed by a
19 // BSD-style license that can be found in the LICENSE file. 19 // BSD-style license that can be found in the LICENSE file.
(...skipping 1424 matching lines...) Expand 10 before | Expand all | Expand 10 after
1444 1444
1445 @DomName('WebGLRenderingContext.blendFunc') 1445 @DomName('WebGLRenderingContext.blendFunc')
1446 @DocsEditable 1446 @DocsEditable
1447 void blendFunc(int sfactor, int dfactor) native "WebGLRenderingContext_blendFu nc_Callback"; 1447 void blendFunc(int sfactor, int dfactor) native "WebGLRenderingContext_blendFu nc_Callback";
1448 1448
1449 @DomName('WebGLRenderingContext.blendFuncSeparate') 1449 @DomName('WebGLRenderingContext.blendFuncSeparate')
1450 @DocsEditable 1450 @DocsEditable
1451 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive "WebGLRenderingContext_blendFuncSeparate_Callback"; 1451 void blendFuncSeparate(int srcRGB, int dstRGB, int srcAlpha, int dstAlpha) nat ive "WebGLRenderingContext_blendFuncSeparate_Callback";
1452 1452
1453 void bufferData(int target, data_OR_size, int usage) { 1453 void bufferData(int target, data_OR_size, int usage) {
1454 if ((target is int || target == null) && (data_OR_size is ArrayBufferView || data_OR_size is _typeddata.TypedData || data_OR_size == null) && (usage is int || usage == null)) { 1454 if ((target is int || target == null) && (data_OR_size is TypedData || data_ OR_size == null) && (usage is int || usage == null)) {
1455 _bufferData_1(target, data_OR_size, usage); 1455 _bufferData_1(target, data_OR_size, usage);
1456 return; 1456 return;
1457 } 1457 }
1458 if ((target is int || target == null) && (data_OR_size is ArrayBuffer || dat a_OR_size is _typeddata.ByteBuffer || data_OR_size == null) && (usage is int || usage == null)) { 1458 if ((target is int || target == null) && (data_OR_size is ByteBuffer || data _OR_size == null) && (usage is int || usage == null)) {
1459 _bufferData_2(target, data_OR_size, usage); 1459 _bufferData_2(target, data_OR_size, usage);
1460 return; 1460 return;
1461 } 1461 }
1462 if ((target is int || target == null) && (data_OR_size is int || data_OR_siz e == null) && (usage is int || usage == null)) { 1462 if ((target is int || target == null) && (data_OR_size is int || data_OR_siz e == null) && (usage is int || usage == null)) {
1463 _bufferData_3(target, data_OR_size, usage); 1463 _bufferData_3(target, data_OR_size, usage);
1464 return; 1464 return;
1465 } 1465 }
1466 throw new ArgumentError("Incorrect number or type of arguments"); 1466 throw new ArgumentError("Incorrect number or type of arguments");
1467 } 1467 }
1468 1468
1469 @DomName('WebGLRenderingContext._bufferData_1') 1469 @DomName('WebGLRenderingContext._bufferData_1')
1470 @DocsEditable 1470 @DocsEditable
1471 void _bufferData_1(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_1_Callback"; 1471 void _bufferData_1(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_1_Callback";
1472 1472
1473 @DomName('WebGLRenderingContext._bufferData_2') 1473 @DomName('WebGLRenderingContext._bufferData_2')
1474 @DocsEditable 1474 @DocsEditable
1475 void _bufferData_2(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_2_Callback"; 1475 void _bufferData_2(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_2_Callback";
1476 1476
1477 @DomName('WebGLRenderingContext._bufferData_3') 1477 @DomName('WebGLRenderingContext._bufferData_3')
1478 @DocsEditable 1478 @DocsEditable
1479 void _bufferData_3(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_3_Callback"; 1479 void _bufferData_3(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_3_Callback";
1480 1480
1481 void bufferSubData(int target, int offset, data) { 1481 void bufferSubData(int target, int offset, data) {
1482 if ((target is int || target == null) && (offset is int || offset == null) & & (data is ArrayBufferView || data is _typeddata.TypedData || data == null)) { 1482 if ((target is int || target == null) && (offset is int || offset == null) & & (data is TypedData || data == null)) {
1483 _bufferSubData_1(target, offset, data); 1483 _bufferSubData_1(target, offset, data);
1484 return; 1484 return;
1485 } 1485 }
1486 if ((target is int || target == null) && (offset is int || offset == null) & & (data is ArrayBuffer || data is _typeddata.ByteBuffer || data == null)) { 1486 if ((target is int || target == null) && (offset is int || offset == null) & & (data is ByteBuffer || data == null)) {
1487 _bufferSubData_2(target, offset, data); 1487 _bufferSubData_2(target, offset, data);
1488 return; 1488 return;
1489 } 1489 }
1490 throw new ArgumentError("Incorrect number or type of arguments"); 1490 throw new ArgumentError("Incorrect number or type of arguments");
1491 } 1491 }
1492 1492
1493 @DomName('WebGLRenderingContext._bufferSubData_1') 1493 @DomName('WebGLRenderingContext._bufferSubData_1')
1494 @DocsEditable 1494 @DocsEditable
1495 void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext__buf ferSubData_1_Callback"; 1495 void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext__buf ferSubData_1_Callback";
1496 1496
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
1844 1844
1845 @DomName('WebGLRenderingContext.stencilOp') 1845 @DomName('WebGLRenderingContext.stencilOp')
1846 @DocsEditable 1846 @DocsEditable
1847 void stencilOp(int fail, int zfail, int zpass) native "WebGLRenderingContext_s tencilOp_Callback"; 1847 void stencilOp(int fail, int zfail, int zpass) native "WebGLRenderingContext_s tencilOp_Callback";
1848 1848
1849 @DomName('WebGLRenderingContext.stencilOpSeparate') 1849 @DomName('WebGLRenderingContext.stencilOpSeparate')
1850 @DocsEditable 1850 @DocsEditable
1851 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGL RenderingContext_stencilOpSeparate_Callback"; 1851 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGL RenderingContext_stencilOpSeparate_Callback";
1852 1852
1853 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]) { 1853 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]) {
1854 if ((target is int || target == null) && (level is int || level == null) && (internalformat is int || internalformat == null) && (format_OR_width is int || format_OR_width == null) && (height_OR_type is int || height_OR_type == null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is int || border_OR_canvas_OR_ima ge_OR_pixels_OR_video == null) && (format is int || format == null) && (type is int || type == null) && (pixels is ArrayBufferView || pixels is _typeddata.Typed Data || pixels == null)) { 1854 if ((target is int || target == null) && (level is int || level == null) && (internalformat is int || internalformat == null) && (format_OR_width is int || format_OR_width == null) && (height_OR_type is int || height_OR_type == null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is int || border_OR_canvas_OR_ima ge_OR_pixels_OR_video == null) && (format is int || format == null) && (type is int || type == null) && (pixels is TypedData || pixels == null)) {
1855 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); 1855 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels);
1856 return; 1856 return;
1857 } 1857 }
1858 if ((target is int || target == null) && (level is int || level == null) && (internalformat is int || internalformat == null) && (format_OR_width is int || format_OR_width == null) && (height_OR_type is int || height_OR_type == null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_canvas_ OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) { 1858 if ((target is int || target == null) && (level is int || level == null) && (internalformat is int || internalformat == null) && (format_OR_width is int || format_OR_width == null) && (height_OR_type is int || height_OR_type == null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is ImageData || border_OR_canvas_ OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) {
1859 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 1859 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
1860 return; 1860 return;
1861 } 1861 }
1862 if ((target is int || target == null) && (level is int || level == null) && (internalformat is int || internalformat == null) && (format_OR_width is int || format_OR_width == null) && (height_OR_type is int || height_OR_type == null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_OR_canv as_OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) { 1862 if ((target is int || target == null) && (level is int || level == null) && (internalformat is int || internalformat == null) && (format_OR_width is int || format_OR_width == null) && (height_OR_type is int || height_OR_type == null) && (border_OR_canvas_OR_image_OR_pixels_OR_video is ImageElement || border_OR_canv as_OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) {
1863 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 1863 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
1864 return; 1864 return;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1896 1896
1897 @DomName('WebGLRenderingContext.texParameterf') 1897 @DomName('WebGLRenderingContext.texParameterf')
1898 @DocsEditable 1898 @DocsEditable
1899 void texParameterf(int target, int pname, num param) native "WebGLRenderingCon text_texParameterf_Callback"; 1899 void texParameterf(int target, int pname, num param) native "WebGLRenderingCon text_texParameterf_Callback";
1900 1900
1901 @DomName('WebGLRenderingContext.texParameteri') 1901 @DomName('WebGLRenderingContext.texParameteri')
1902 @DocsEditable 1902 @DocsEditable
1903 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon text_texParameteri_Callback"; 1903 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon text_texParameteri_Callback";
1904 1904
1905 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]) { 1905 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]) {
1906 if ((target is int || target == null) && (level is int || level == null) && (xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int | | canvas_OR_format_OR_image_OR_pixels_OR_video == null) && (type is int || type == null) && (pixels is ArrayBufferView || pixels is _typeddata.TypedData || pixe ls == null)) { 1906 if ((target is int || target == null) && (level is int || level == null) && (xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is int | | canvas_OR_format_OR_image_OR_pixels_OR_video == null) && (type is int || type == null) && (pixels is TypedData || pixels == null)) {
1907 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); 1907 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels);
1908 return; 1908 return;
1909 } 1909 }
1910 if ((target is int || target == null) && (level is int || level == null) && (xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is Image Data || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !?pix els) { 1910 if ((target is int || target == null) && (level is int || level == null) && (xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is Image Data || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !?pix els) {
1911 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 1911 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
1912 return; 1912 return;
1913 } 1913 }
1914 if ((target is int || target == null) && (level is int || level == null) && (xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is Image Element || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !? pixels) { 1914 if ((target is int || target == null) && (level is int || level == null) && (xoffset is int || xoffset == null) && (yoffset is int || yoffset == null) && (f ormat_OR_width is int || format_OR_width == null) && (height_OR_type is int || h eight_OR_type == null) && (canvas_OR_format_OR_image_OR_pixels_OR_video is Image Element || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !? pixels) {
1915 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 1915 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
1916 return; 1916 return;
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 2141
2142 // WARNING: Do not edit - generated code. 2142 // WARNING: Do not edit - generated code.
2143 2143
2144 2144
2145 @DocsEditable 2145 @DocsEditable
2146 @DomName('WebGLVertexArrayObjectOES') 2146 @DomName('WebGLVertexArrayObjectOES')
2147 class VertexArrayObject extends NativeFieldWrapperClass1 { 2147 class VertexArrayObject extends NativeFieldWrapperClass1 {
2148 VertexArrayObject.internal(); 2148 VertexArrayObject.internal();
2149 2149
2150 } 2150 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698