| 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:_collection-dev' hide deprecated; | 7 import 'dart:_collection-dev' hide deprecated; |
| 8 import 'dart:html'; | 8 import 'dart:html'; |
| 9 import 'dart:html_common'; | 9 import 'dart:html_common'; |
| 10 import 'dart:typed_data'; | 10 import 'dart:typed_data'; |
| (...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2403 int getAttribLocation(Program program, String name) native; | 2403 int getAttribLocation(Program program, String name) native; |
| 2404 | 2404 |
| 2405 @DomName('WebGLRenderingContext.getBufferParameter') | 2405 @DomName('WebGLRenderingContext.getBufferParameter') |
| 2406 @DocsEditable() | 2406 @DocsEditable() |
| 2407 @Creates('int|Null') | 2407 @Creates('int|Null') |
| 2408 @Returns('int|Null') | 2408 @Returns('int|Null') |
| 2409 Object getBufferParameter(int target, int pname) native; | 2409 Object getBufferParameter(int target, int pname) native; |
| 2410 | 2410 |
| 2411 @DomName('WebGLRenderingContext.getContextAttributes') | 2411 @DomName('WebGLRenderingContext.getContextAttributes') |
| 2412 @DocsEditable() | 2412 @DocsEditable() |
| 2413 ContextAttributes getContextAttributes() native; | 2413 @Creates('ContextAttributes|=Object') |
| 2414 ContextAttributes getContextAttributes() { |
| 2415 return convertNativeToDart_ContextAttributes(_getContextAttributes_1()); |
| 2416 } |
| 2417 @JSName('getContextAttributes') |
| 2418 @DomName('WebGLRenderingContext.getContextAttributes') |
| 2419 @DocsEditable() |
| 2420 @Creates('ContextAttributes|=Object') |
| 2421 _getContextAttributes_1() native; |
| 2414 | 2422 |
| 2415 @DomName('WebGLRenderingContext.getError') | 2423 @DomName('WebGLRenderingContext.getError') |
| 2416 @DocsEditable() | 2424 @DocsEditable() |
| 2417 int getError() native; | 2425 int getError() native; |
| 2418 | 2426 |
| 2419 @DomName('WebGLRenderingContext.getExtension') | 2427 @DomName('WebGLRenderingContext.getExtension') |
| 2420 @DocsEditable() | 2428 @DocsEditable() |
| 2421 Object getExtension(String name) native; | 2429 Object getExtension(String name) native; |
| 2422 | 2430 |
| 2423 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | 2431 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
| (...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2885 | 2893 |
| 2886 | 2894 |
| 2887 @DocsEditable() | 2895 @DocsEditable() |
| 2888 @DomName('WebGLVertexArrayObjectOES') | 2896 @DomName('WebGLVertexArrayObjectOES') |
| 2889 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 2897 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 2890 @Experimental() // experimental | 2898 @Experimental() // experimental |
| 2891 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" { | 2899 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" { |
| 2892 // To suppress missing implicit constructor warnings. | 2900 // To suppress missing implicit constructor warnings. |
| 2893 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } | 2901 factory VertexArrayObject._() { throw new UnsupportedError("Not supported"); } |
| 2894 } | 2902 } |
| OLD | NEW |