| OLD | NEW |
| 1 /** | 1 /** |
| 2 * 3D programming in the browser. | 2 * 3D programming in the browser. |
| 3 */ | 3 */ |
| 4 library dart.dom.web_gl; | 4 library dart.dom.web_gl; |
| 5 | 5 |
| 6 import 'dart:collection'; | 6 import 'dart:collection'; |
| 7 import 'dart:_internal' hide deprecated; | 7 import 'dart:_internal' hide deprecated; |
| 8 import 'dart:html'; | 8 import 'dart:html'; |
| 9 import 'dart:html_common'; | 9 import 'dart:html_common'; |
| 10 import 'dart:_native_typed_data'; | 10 import 'dart:_native_typed_data'; |
| (...skipping 1354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1365 @DomName('WebGLRenderingContext.getActiveAttrib') | 1365 @DomName('WebGLRenderingContext.getActiveAttrib') |
| 1366 @DocsEditable() | 1366 @DocsEditable() |
| 1367 ActiveInfo getActiveAttrib(Program program, int index) native; | 1367 ActiveInfo getActiveAttrib(Program program, int index) native; |
| 1368 | 1368 |
| 1369 @DomName('WebGLRenderingContext.getActiveUniform') | 1369 @DomName('WebGLRenderingContext.getActiveUniform') |
| 1370 @DocsEditable() | 1370 @DocsEditable() |
| 1371 ActiveInfo getActiveUniform(Program program, int index) native; | 1371 ActiveInfo getActiveUniform(Program program, int index) native; |
| 1372 | 1372 |
| 1373 @DomName('WebGLRenderingContext.getAttachedShaders') | 1373 @DomName('WebGLRenderingContext.getAttachedShaders') |
| 1374 @DocsEditable() | 1374 @DocsEditable() |
| 1375 void getAttachedShaders(Program program) native; | 1375 List<Shader> getAttachedShaders(Program program) native; |
| 1376 | 1376 |
| 1377 @DomName('WebGLRenderingContext.getAttribLocation') | 1377 @DomName('WebGLRenderingContext.getAttribLocation') |
| 1378 @DocsEditable() | 1378 @DocsEditable() |
| 1379 int getAttribLocation(Program program, String name) native; | 1379 int getAttribLocation(Program program, String name) native; |
| 1380 | 1380 |
| 1381 @DomName('WebGLRenderingContext.getBufferParameter') | 1381 @DomName('WebGLRenderingContext.getBufferParameter') |
| 1382 @DocsEditable() | 1382 @DocsEditable() |
| 1383 @Creates('int|Null') | 1383 @Creates('int|Null') |
| 1384 @Returns('int|Null') | 1384 @Returns('int|Null') |
| 1385 Object getBufferParameter(int target, int pname) native; | 1385 Object getBufferParameter(int target, int pname) native; |
| (...skipping 2305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3691 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level); | 3691 void framebufferTexture2D(int target, int attachment, int textarget, Texture t
exture, int level); |
| 3692 | 3692 |
| 3693 void frontFace(int mode); | 3693 void frontFace(int mode); |
| 3694 | 3694 |
| 3695 void generateMipmap(int target); | 3695 void generateMipmap(int target); |
| 3696 | 3696 |
| 3697 ActiveInfo getActiveAttrib(Program program, int index); | 3697 ActiveInfo getActiveAttrib(Program program, int index); |
| 3698 | 3698 |
| 3699 ActiveInfo getActiveUniform(Program program, int index); | 3699 ActiveInfo getActiveUniform(Program program, int index); |
| 3700 | 3700 |
| 3701 void getAttachedShaders(Program program); | 3701 List<Shader> getAttachedShaders(Program program); |
| 3702 | 3702 |
| 3703 int getAttribLocation(Program program, String name); | 3703 int getAttribLocation(Program program, String name); |
| 3704 | 3704 |
| 3705 Object getBufferParameter(int target, int pname); | 3705 Object getBufferParameter(int target, int pname); |
| 3706 | 3706 |
| 3707 ContextAttributes getContextAttributes(); | 3707 ContextAttributes getContextAttributes(); |
| 3708 | 3708 |
| 3709 int getError(); | 3709 int getError(); |
| 3710 | 3710 |
| 3711 Object getExtension(String name); | 3711 Object getExtension(String name); |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3941 | 3941 |
| 3942 @DocsEditable() | 3942 @DocsEditable() |
| 3943 @DomName('WebGLVertexArrayObjectOES') | 3943 @DomName('WebGLVertexArrayObjectOES') |
| 3944 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 3944 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 3945 @Experimental() // experimental | 3945 @Experimental() // experimental |
| 3946 @Native("WebGLVertexArrayObjectOES") | 3946 @Native("WebGLVertexArrayObjectOES") |
| 3947 class VertexArrayObject extends Interceptor { | 3947 class VertexArrayObject extends Interceptor { |
| 3948 // To suppress missing implicit constructor warnings. | 3948 // To suppress missing implicit constructor warnings. |
| 3949 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 3949 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
| 3950 } | 3950 } |
| OLD | NEW |