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

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

Issue 14985010: Map lists back to typed arrays (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | tools/dom/scripts/generator.py » ('j') | 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:typed_data'; 9 import 'dart:typed_data';
10 // DO NOT EDIT 10 // DO NOT EDIT
(...skipping 1904 matching lines...) Expand 10 before | Expand all | Expand 10 after
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"; 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";
1916 1916
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"; 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";
1918 1918
1919 @DomName('WebGLRenderingContext.uniform1f') 1919 @DomName('WebGLRenderingContext.uniform1f')
1920 @DocsEditable 1920 @DocsEditable
1921 void uniform1f(UniformLocation location, num x) native "WebGLRenderingContext_ uniform1f_Callback"; 1921 void uniform1f(UniformLocation location, num x) native "WebGLRenderingContext_ uniform1f_Callback";
1922 1922
1923 @DomName('WebGLRenderingContext.uniform1fv') 1923 @DomName('WebGLRenderingContext.uniform1fv')
1924 @DocsEditable 1924 @DocsEditable
1925 void uniform1fv(UniformLocation location, List<double> v) native "WebGLRenderi ngContext_uniform1fv_Callback"; 1925 void uniform1fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform1fv_Callback";
1926 1926
1927 @DomName('WebGLRenderingContext.uniform1i') 1927 @DomName('WebGLRenderingContext.uniform1i')
1928 @DocsEditable 1928 @DocsEditable
1929 void uniform1i(UniformLocation location, int x) native "WebGLRenderingContext_ uniform1i_Callback"; 1929 void uniform1i(UniformLocation location, int x) native "WebGLRenderingContext_ uniform1i_Callback";
1930 1930
1931 @DomName('WebGLRenderingContext.uniform1iv') 1931 @DomName('WebGLRenderingContext.uniform1iv')
1932 @DocsEditable 1932 @DocsEditable
1933 void uniform1iv(UniformLocation location, List<int> v) native "WebGLRenderingC ontext_uniform1iv_Callback"; 1933 void uniform1iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform1iv_Callback";
1934 1934
1935 @DomName('WebGLRenderingContext.uniform2f') 1935 @DomName('WebGLRenderingContext.uniform2f')
1936 @DocsEditable 1936 @DocsEditable
1937 void uniform2f(UniformLocation location, num x, num y) native "WebGLRenderingC ontext_uniform2f_Callback"; 1937 void uniform2f(UniformLocation location, num x, num y) native "WebGLRenderingC ontext_uniform2f_Callback";
1938 1938
1939 @DomName('WebGLRenderingContext.uniform2fv') 1939 @DomName('WebGLRenderingContext.uniform2fv')
1940 @DocsEditable 1940 @DocsEditable
1941 void uniform2fv(UniformLocation location, List<double> v) native "WebGLRenderi ngContext_uniform2fv_Callback"; 1941 void uniform2fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform2fv_Callback";
1942 1942
1943 @DomName('WebGLRenderingContext.uniform2i') 1943 @DomName('WebGLRenderingContext.uniform2i')
1944 @DocsEditable 1944 @DocsEditable
1945 void uniform2i(UniformLocation location, int x, int y) native "WebGLRenderingC ontext_uniform2i_Callback"; 1945 void uniform2i(UniformLocation location, int x, int y) native "WebGLRenderingC ontext_uniform2i_Callback";
1946 1946
1947 @DomName('WebGLRenderingContext.uniform2iv') 1947 @DomName('WebGLRenderingContext.uniform2iv')
1948 @DocsEditable 1948 @DocsEditable
1949 void uniform2iv(UniformLocation location, List<int> v) native "WebGLRenderingC ontext_uniform2iv_Callback"; 1949 void uniform2iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform2iv_Callback";
1950 1950
1951 @DomName('WebGLRenderingContext.uniform3f') 1951 @DomName('WebGLRenderingContext.uniform3f')
1952 @DocsEditable 1952 @DocsEditable
1953 void uniform3f(UniformLocation location, num x, num y, num z) native "WebGLRen deringContext_uniform3f_Callback"; 1953 void uniform3f(UniformLocation location, num x, num y, num z) native "WebGLRen deringContext_uniform3f_Callback";
1954 1954
1955 @DomName('WebGLRenderingContext.uniform3fv') 1955 @DomName('WebGLRenderingContext.uniform3fv')
1956 @DocsEditable 1956 @DocsEditable
1957 void uniform3fv(UniformLocation location, List<double> v) native "WebGLRenderi ngContext_uniform3fv_Callback"; 1957 void uniform3fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform3fv_Callback";
1958 1958
1959 @DomName('WebGLRenderingContext.uniform3i') 1959 @DomName('WebGLRenderingContext.uniform3i')
1960 @DocsEditable 1960 @DocsEditable
1961 void uniform3i(UniformLocation location, int x, int y, int z) native "WebGLRen deringContext_uniform3i_Callback"; 1961 void uniform3i(UniformLocation location, int x, int y, int z) native "WebGLRen deringContext_uniform3i_Callback";
1962 1962
1963 @DomName('WebGLRenderingContext.uniform3iv') 1963 @DomName('WebGLRenderingContext.uniform3iv')
1964 @DocsEditable 1964 @DocsEditable
1965 void uniform3iv(UniformLocation location, List<int> v) native "WebGLRenderingC ontext_uniform3iv_Callback"; 1965 void uniform3iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform3iv_Callback";
1966 1966
1967 @DomName('WebGLRenderingContext.uniform4f') 1967 @DomName('WebGLRenderingContext.uniform4f')
1968 @DocsEditable 1968 @DocsEditable
1969 void uniform4f(UniformLocation location, num x, num y, num z, num w) native "W ebGLRenderingContext_uniform4f_Callback"; 1969 void uniform4f(UniformLocation location, num x, num y, num z, num w) native "W ebGLRenderingContext_uniform4f_Callback";
1970 1970
1971 @DomName('WebGLRenderingContext.uniform4fv') 1971 @DomName('WebGLRenderingContext.uniform4fv')
1972 @DocsEditable 1972 @DocsEditable
1973 void uniform4fv(UniformLocation location, List<double> v) native "WebGLRenderi ngContext_uniform4fv_Callback"; 1973 void uniform4fv(UniformLocation location, Float32List v) native "WebGLRenderin gContext_uniform4fv_Callback";
1974 1974
1975 @DomName('WebGLRenderingContext.uniform4i') 1975 @DomName('WebGLRenderingContext.uniform4i')
1976 @DocsEditable 1976 @DocsEditable
1977 void uniform4i(UniformLocation location, int x, int y, int z, int w) native "W ebGLRenderingContext_uniform4i_Callback"; 1977 void uniform4i(UniformLocation location, int x, int y, int z, int w) native "W ebGLRenderingContext_uniform4i_Callback";
1978 1978
1979 @DomName('WebGLRenderingContext.uniform4iv') 1979 @DomName('WebGLRenderingContext.uniform4iv')
1980 @DocsEditable 1980 @DocsEditable
1981 void uniform4iv(UniformLocation location, List<int> v) native "WebGLRenderingC ontext_uniform4iv_Callback"; 1981 void uniform4iv(UniformLocation location, Int32List v) native "WebGLRenderingC ontext_uniform4iv_Callback";
1982 1982
1983 @DomName('WebGLRenderingContext.uniformMatrix2fv') 1983 @DomName('WebGLRenderingContext.uniformMatrix2fv')
1984 @DocsEditable 1984 @DocsEditable
1985 void uniformMatrix2fv(UniformLocation location, bool transpose, List<double> a rray) native "WebGLRenderingContext_uniformMatrix2fv_Callback"; 1985 void uniformMatrix2fv(UniformLocation location, bool transpose, Float32List ar ray) native "WebGLRenderingContext_uniformMatrix2fv_Callback";
1986 1986
1987 @DomName('WebGLRenderingContext.uniformMatrix3fv') 1987 @DomName('WebGLRenderingContext.uniformMatrix3fv')
1988 @DocsEditable 1988 @DocsEditable
1989 void uniformMatrix3fv(UniformLocation location, bool transpose, List<double> a rray) native "WebGLRenderingContext_uniformMatrix3fv_Callback"; 1989 void uniformMatrix3fv(UniformLocation location, bool transpose, Float32List ar ray) native "WebGLRenderingContext_uniformMatrix3fv_Callback";
1990 1990
1991 @DomName('WebGLRenderingContext.uniformMatrix4fv') 1991 @DomName('WebGLRenderingContext.uniformMatrix4fv')
1992 @DocsEditable 1992 @DocsEditable
1993 void uniformMatrix4fv(UniformLocation location, bool transpose, List<double> a rray) native "WebGLRenderingContext_uniformMatrix4fv_Callback"; 1993 void uniformMatrix4fv(UniformLocation location, bool transpose, Float32List ar ray) native "WebGLRenderingContext_uniformMatrix4fv_Callback";
1994 1994
1995 @DomName('WebGLRenderingContext.useProgram') 1995 @DomName('WebGLRenderingContext.useProgram')
1996 @DocsEditable 1996 @DocsEditable
1997 void useProgram(Program program) native "WebGLRenderingContext_useProgram_Call back"; 1997 void useProgram(Program program) native "WebGLRenderingContext_useProgram_Call back";
1998 1998
1999 @DomName('WebGLRenderingContext.validateProgram') 1999 @DomName('WebGLRenderingContext.validateProgram')
2000 @DocsEditable 2000 @DocsEditable
2001 void validateProgram(Program program) native "WebGLRenderingContext_validatePr ogram_Callback"; 2001 void validateProgram(Program program) native "WebGLRenderingContext_validatePr ogram_Callback";
2002 2002
2003 @DomName('WebGLRenderingContext.vertexAttrib1f') 2003 @DomName('WebGLRenderingContext.vertexAttrib1f')
2004 @DocsEditable 2004 @DocsEditable
2005 void vertexAttrib1f(int indx, num x) native "WebGLRenderingContext_vertexAttri b1f_Callback"; 2005 void vertexAttrib1f(int indx, num x) native "WebGLRenderingContext_vertexAttri b1f_Callback";
2006 2006
2007 @DomName('WebGLRenderingContext.vertexAttrib1fv') 2007 @DomName('WebGLRenderingContext.vertexAttrib1fv')
2008 @DocsEditable 2008 @DocsEditable
2009 void vertexAttrib1fv(int indx, List<double> values) native "WebGLRenderingCont ext_vertexAttrib1fv_Callback"; 2009 void vertexAttrib1fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib1fv_Callback";
2010 2010
2011 @DomName('WebGLRenderingContext.vertexAttrib2f') 2011 @DomName('WebGLRenderingContext.vertexAttrib2f')
2012 @DocsEditable 2012 @DocsEditable
2013 void vertexAttrib2f(int indx, num x, num y) native "WebGLRenderingContext_vert exAttrib2f_Callback"; 2013 void vertexAttrib2f(int indx, num x, num y) native "WebGLRenderingContext_vert exAttrib2f_Callback";
2014 2014
2015 @DomName('WebGLRenderingContext.vertexAttrib2fv') 2015 @DomName('WebGLRenderingContext.vertexAttrib2fv')
2016 @DocsEditable 2016 @DocsEditable
2017 void vertexAttrib2fv(int indx, List<double> values) native "WebGLRenderingCont ext_vertexAttrib2fv_Callback"; 2017 void vertexAttrib2fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib2fv_Callback";
2018 2018
2019 @DomName('WebGLRenderingContext.vertexAttrib3f') 2019 @DomName('WebGLRenderingContext.vertexAttrib3f')
2020 @DocsEditable 2020 @DocsEditable
2021 void vertexAttrib3f(int indx, num x, num y, num z) native "WebGLRenderingConte xt_vertexAttrib3f_Callback"; 2021 void vertexAttrib3f(int indx, num x, num y, num z) native "WebGLRenderingConte xt_vertexAttrib3f_Callback";
2022 2022
2023 @DomName('WebGLRenderingContext.vertexAttrib3fv') 2023 @DomName('WebGLRenderingContext.vertexAttrib3fv')
2024 @DocsEditable 2024 @DocsEditable
2025 void vertexAttrib3fv(int indx, List<double> values) native "WebGLRenderingCont ext_vertexAttrib3fv_Callback"; 2025 void vertexAttrib3fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib3fv_Callback";
2026 2026
2027 @DomName('WebGLRenderingContext.vertexAttrib4f') 2027 @DomName('WebGLRenderingContext.vertexAttrib4f')
2028 @DocsEditable 2028 @DocsEditable
2029 void vertexAttrib4f(int indx, num x, num y, num z, num w) native "WebGLRenderi ngContext_vertexAttrib4f_Callback"; 2029 void vertexAttrib4f(int indx, num x, num y, num z, num w) native "WebGLRenderi ngContext_vertexAttrib4f_Callback";
2030 2030
2031 @DomName('WebGLRenderingContext.vertexAttrib4fv') 2031 @DomName('WebGLRenderingContext.vertexAttrib4fv')
2032 @DocsEditable 2032 @DocsEditable
2033 void vertexAttrib4fv(int indx, List<double> values) native "WebGLRenderingCont ext_vertexAttrib4fv_Callback"; 2033 void vertexAttrib4fv(int indx, Float32List values) native "WebGLRenderingConte xt_vertexAttrib4fv_Callback";
2034 2034
2035 @DomName('WebGLRenderingContext.vertexAttribPointer') 2035 @DomName('WebGLRenderingContext.vertexAttribPointer')
2036 @DocsEditable 2036 @DocsEditable
2037 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback"; 2037 void vertexAttribPointer(int indx, int size, int type, bool normalized, int st ride, int offset) native "WebGLRenderingContext_vertexAttribPointer_Callback";
2038 2038
2039 @DomName('WebGLRenderingContext.viewport') 2039 @DomName('WebGLRenderingContext.viewport')
2040 @DocsEditable 2040 @DocsEditable
2041 void viewport(int x, int y, int width, int height) native "WebGLRenderingConte xt_viewport_Callback"; 2041 void viewport(int x, int y, int width, int height) native "WebGLRenderingConte xt_viewport_Callback";
2042 2042
2043 } 2043 }
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW
« no previous file with comments | « sdk/lib/web_audio/dartium/web_audio_dartium.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698