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

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

Issue 14455007: Refactoring DOM annotations and comment generation, adding DOM API triage list (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
OLDNEW
1 library dart.dom.web_gl; 1 library dart.dom.web_gl;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:_collection-dev'; 5 import 'dart:_collection-dev';
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 import 'dart:nativewrappers'; 8 import 'dart:nativewrappers';
9 import 'dart:typed_data'; 9 import 'dart:typed_data';
10 // DO NOT EDIT 10 // DO NOT EDIT
(...skipping 1448 matching lines...) Expand 10 before | Expand all | Expand 10 after
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')
1470 @DocsEditable
1471 void _bufferData_1(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_1_Callback"; 1469 void _bufferData_1(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_1_Callback";
1472 1470
1473 @DomName('WebGLRenderingContext._bufferData_2')
1474 @DocsEditable
1475 void _bufferData_2(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_2_Callback"; 1471 void _bufferData_2(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_2_Callback";
1476 1472
1477 @DomName('WebGLRenderingContext._bufferData_3')
1478 @DocsEditable
1479 void _bufferData_3(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_3_Callback"; 1473 void _bufferData_3(target, data_OR_size, usage) native "WebGLRenderingContext_ _bufferData_3_Callback";
1480 1474
1481 void bufferSubData(int target, int offset, data) { 1475 void bufferSubData(int target, int offset, data) {
1482 if ((target is int || target == null) && (offset is int || offset == null) & & (data is TypedData || data == null)) { 1476 if ((target is int || target == null) && (offset is int || offset == null) & & (data is TypedData || data == null)) {
1483 _bufferSubData_1(target, offset, data); 1477 _bufferSubData_1(target, offset, data);
1484 return; 1478 return;
1485 } 1479 }
1486 if ((target is int || target == null) && (offset is int || offset == null) & & (data is ByteBuffer || data == null)) { 1480 if ((target is int || target == null) && (offset is int || offset == null) & & (data is ByteBuffer || data == null)) {
1487 _bufferSubData_2(target, offset, data); 1481 _bufferSubData_2(target, offset, data);
1488 return; 1482 return;
1489 } 1483 }
1490 throw new ArgumentError("Incorrect number or type of arguments"); 1484 throw new ArgumentError("Incorrect number or type of arguments");
1491 } 1485 }
1492 1486
1493 @DomName('WebGLRenderingContext._bufferSubData_1')
1494 @DocsEditable
1495 void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext__buf ferSubData_1_Callback"; 1487 void _bufferSubData_1(target, offset, data) native "WebGLRenderingContext__buf ferSubData_1_Callback";
1496 1488
1497 @DomName('WebGLRenderingContext._bufferSubData_2')
1498 @DocsEditable
1499 void _bufferSubData_2(target, offset, data) native "WebGLRenderingContext__buf ferSubData_2_Callback"; 1489 void _bufferSubData_2(target, offset, data) native "WebGLRenderingContext__buf ferSubData_2_Callback";
1500 1490
1501 @DomName('WebGLRenderingContext.checkFramebufferStatus') 1491 @DomName('WebGLRenderingContext.checkFramebufferStatus')
1502 @DocsEditable 1492 @DocsEditable
1503 int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFram ebufferStatus_Callback"; 1493 int checkFramebufferStatus(int target) native "WebGLRenderingContext_checkFram ebufferStatus_Callback";
1504 1494
1505 @DomName('WebGLRenderingContext.clear') 1495 @DomName('WebGLRenderingContext.clear')
1506 @DocsEditable 1496 @DocsEditable
1507 void clear(int mask) native "WebGLRenderingContext_clear_Callback"; 1497 void clear(int mask) native "WebGLRenderingContext_clear_Callback";
1508 1498
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
1867 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 1857 _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
1868 return; 1858 return;
1869 } 1859 }
1870 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 VideoElement || border_OR_canv as_OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) { 1860 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 VideoElement || border_OR_canv as_OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) {
1871 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video); 1861 _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_ty pe, border_OR_canvas_OR_image_OR_pixels_OR_video);
1872 return; 1862 return;
1873 } 1863 }
1874 throw new ArgumentError("Incorrect number or type of arguments"); 1864 throw new ArgumentError("Incorrect number or type of arguments");
1875 } 1865 }
1876 1866
1877 @DomName('WebGLRenderingContext._texImage2D_1')
1878 @DocsEditable
1879 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) native "WebGLRenderingContext__texImage2D_1_Callback"; 1867 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) native "WebGLRenderingContext__texImage2D_1_Callback";
1880 1868
1881 @DomName('WebGLRenderingContext._texImage2D_2')
1882 @DocsEditable
1883 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_2_Callback"; 1869 void _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_2_Callback";
1884 1870
1885 @DomName('WebGLRenderingContext._texImage2D_3')
1886 @DocsEditable
1887 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_3_Callback"; 1871 void _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_3_Callback";
1888 1872
1889 @DomName('WebGLRenderingContext._texImage2D_4')
1890 @DocsEditable
1891 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_4_Callback"; 1873 void _texImage2D_4(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_4_Callback";
1892 1874
1893 @DomName('WebGLRenderingContext._texImage2D_5')
1894 @DocsEditable
1895 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_5_Callback"; 1875 void _texImage2D_5(target, level, internalformat, format_OR_width, height_OR_t ype, border_OR_canvas_OR_image_OR_pixels_OR_video) native "WebGLRenderingContext __texImage2D_5_Callback";
1896 1876
1897 @DomName('WebGLRenderingContext.texParameterf') 1877 @DomName('WebGLRenderingContext.texParameterf')
1898 @DocsEditable 1878 @DocsEditable
1899 void texParameterf(int target, int pname, num param) native "WebGLRenderingCon text_texParameterf_Callback"; 1879 void texParameterf(int target, int pname, num param) native "WebGLRenderingCon text_texParameterf_Callback";
1900 1880
1901 @DomName('WebGLRenderingContext.texParameteri') 1881 @DomName('WebGLRenderingContext.texParameteri')
1902 @DocsEditable 1882 @DocsEditable
1903 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon text_texParameteri_Callback"; 1883 void texParameteri(int target, int pname, int param) native "WebGLRenderingCon text_texParameteri_Callback";
1904 1884
(...skipping 14 matching lines...) Expand all
1919 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 1899 _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
1920 return; 1900 return;
1921 } 1901 }
1922 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 Video Element || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !? pixels) { 1902 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 Video Element || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !? pixels) {
1923 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); 1903 _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height_ OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video);
1924 return; 1904 return;
1925 } 1905 }
1926 throw new ArgumentError("Incorrect number or type of arguments"); 1906 throw new ArgumentError("Incorrect number or type of arguments");
1927 } 1907 }
1928 1908
1929 @DomName('WebGLRenderingContext._texSubImage2D_1')
1930 @DocsEditable
1931 void _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) native "We bGLRenderingContext__texSubImage2D_1_Callback"; 1909 void _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels) native "We bGLRenderingContext__texSubImage2D_1_Callback";
1932 1910
1933 @DomName('WebGLRenderingContext._texSubImage2D_2')
1934 @DocsEditable
1935 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_2_Callback"; 1911 void _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_2_Callback";
1936 1912
1937 @DomName('WebGLRenderingContext._texSubImage2D_3')
1938 @DocsEditable
1939 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_3_Callback"; 1913 void _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_3_Callback";
1940 1914
1941 @DomName('WebGLRenderingContext._texSubImage2D_4')
1942 @DocsEditable
1943 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_4_Callback"; 1915 void _texSubImage2D_4(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_4_Callback";
1944 1916
1945 @DomName('WebGLRenderingContext._texSubImage2D_5')
1946 @DocsEditable
1947 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_5_Callback"; 1917 void _texSubImage2D_5(target, level, xoffset, yoffset, format_OR_width, height _OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video) native "WebGLRenderingCo ntext__texSubImage2D_5_Callback";
1948 1918
1949 @DomName('WebGLRenderingContext.uniform1f') 1919 @DomName('WebGLRenderingContext.uniform1f')
1950 @DocsEditable 1920 @DocsEditable
1951 void uniform1f(UniformLocation location, num x) native "WebGLRenderingContext_ uniform1f_Callback"; 1921 void uniform1f(UniformLocation location, num x) native "WebGLRenderingContext_ uniform1f_Callback";
1952 1922
1953 @DomName('WebGLRenderingContext.uniform1fv') 1923 @DomName('WebGLRenderingContext.uniform1fv')
1954 @DocsEditable 1924 @DocsEditable
1955 void uniform1fv(UniformLocation location, List<double> v) native "WebGLRenderi ngContext_uniform1fv_Callback"; 1925 void uniform1fv(UniformLocation location, List<double> v) native "WebGLRenderi ngContext_uniform1fv_Callback";
1956 1926
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
2141 2111
2142 // WARNING: Do not edit - generated code. 2112 // WARNING: Do not edit - generated code.
2143 2113
2144 2114
2145 @DocsEditable 2115 @DocsEditable
2146 @DomName('WebGLVertexArrayObjectOES') 2116 @DomName('WebGLVertexArrayObjectOES')
2147 class VertexArrayObject extends NativeFieldWrapperClass1 { 2117 class VertexArrayObject extends NativeFieldWrapperClass1 {
2148 VertexArrayObject.internal(); 2118 VertexArrayObject.internal();
2149 2119
2150 } 2120 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698