OLD | NEW |
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 1827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1838 | 1838 |
1839 @DomName('WebGLRenderingContext.stencilOpSeparate') | 1839 @DomName('WebGLRenderingContext.stencilOpSeparate') |
1840 @DocsEditable | 1840 @DocsEditable |
1841 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGL
RenderingContext_stencilOpSeparate_Callback"; | 1841 void stencilOpSeparate(int face, int fail, int zfail, int zpass) native "WebGL
RenderingContext_stencilOpSeparate_Callback"; |
1842 | 1842 |
1843 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]) { | 1843 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]) { |
1844 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)) { | 1844 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)) { |
1845 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); | 1845 _texImage2D_1(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video, format, type, pixels); |
1846 return; | 1846 return; |
1847 } | 1847 } |
1848 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) { | 1848 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 == null && type == null && pixels
== null) { |
1849 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 1849 _texImage2D_2(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
1850 return; | 1850 return; |
1851 } | 1851 } |
1852 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) { | 1852 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 == null && type == null && pix
els == null) { |
1853 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); | 1853 _texImage2D_3(target, level, internalformat, format_OR_width, height_OR_ty
pe, border_OR_canvas_OR_image_OR_pixels_OR_video); |
1854 return; | 1854 return; |
1855 } | 1855 } |
1856 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 CanvasElement || border_OR_can
vas_OR_image_OR_pixels_OR_video == null) && !?format && !?type && !?pixels) { | 1856 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 CanvasElement || border_OR_can
vas_OR_image_OR_pixels_OR_video == null) && format == null && type == null && pi
xels == null) { |
1857 _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); |
1858 return; | 1858 return; |
1859 } | 1859 } |
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) { | 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 == null && type == null && pix
els == null) { |
1861 _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); |
1862 return; | 1862 return; |
1863 } | 1863 } |
1864 throw new ArgumentError("Incorrect number or type of arguments"); | 1864 throw new ArgumentError("Incorrect number or type of arguments"); |
1865 } | 1865 } |
1866 | 1866 |
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"; | 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"; |
1868 | 1868 |
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"; | 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"; |
1870 | 1870 |
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"; | 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"; |
1872 | 1872 |
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"; | 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"; |
1874 | 1874 |
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"; | 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"; |
1876 | 1876 |
1877 @DomName('WebGLRenderingContext.texParameterf') | 1877 @DomName('WebGLRenderingContext.texParameterf') |
1878 @DocsEditable | 1878 @DocsEditable |
1879 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"; |
1880 | 1880 |
1881 @DomName('WebGLRenderingContext.texParameteri') | 1881 @DomName('WebGLRenderingContext.texParameteri') |
1882 @DocsEditable | 1882 @DocsEditable |
1883 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"; |
1884 | 1884 |
1885 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]) { | 1885 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]) { |
1886 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)) { | 1886 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)) { |
1887 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); | 1887 _texSubImage2D_1(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video, type, pixels); |
1888 return; | 1888 return; |
1889 } | 1889 } |
1890 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) { | 1890 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 == null &&
pixels == null) { |
1891 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 1891 _texSubImage2D_2(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
1892 return; | 1892 return; |
1893 } | 1893 } |
1894 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) { | 1894 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 == null
&& pixels == null) { |
1895 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); | 1895 _texSubImage2D_3(target, level, xoffset, yoffset, format_OR_width, height_
OR_type, canvas_OR_format_OR_image_OR_pixels_OR_video); |
1896 return; | 1896 return; |
1897 } | 1897 } |
1898 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 Canva
sElement || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && !?type && !
?pixels) { | 1898 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 Canva
sElement || canvas_OR_format_OR_image_OR_pixels_OR_video == null) && type == nul
l && pixels == null) { |
1899 _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); |
1900 return; | 1900 return; |
1901 } | 1901 } |
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) { | 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 == null
&& pixels == null) { |
1903 _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); |
1904 return; | 1904 return; |
1905 } | 1905 } |
1906 throw new ArgumentError("Incorrect number or type of arguments"); | 1906 throw new ArgumentError("Incorrect number or type of arguments"); |
1907 } | 1907 } |
1908 | 1908 |
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"; | 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"; |
1910 | 1910 |
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"; | 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"; |
1912 | 1912 |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2111 | 2111 |
2112 // WARNING: Do not edit - generated code. | 2112 // WARNING: Do not edit - generated code. |
2113 | 2113 |
2114 | 2114 |
2115 @DocsEditable | 2115 @DocsEditable |
2116 @DomName('WebGLVertexArrayObjectOES') | 2116 @DomName('WebGLVertexArrayObjectOES') |
2117 class VertexArrayObject extends NativeFieldWrapperClass1 { | 2117 class VertexArrayObject extends NativeFieldWrapperClass1 { |
2118 VertexArrayObject.internal(); | 2118 VertexArrayObject.internal(); |
2119 | 2119 |
2120 } | 2120 } |
OLD | NEW |