| OLD | NEW |
| 1 library dart.dom.web_gl; | 1 library dart.dom.web_gl; |
| 2 | 2 |
| 3 import 'dart:collection'; | 3 import 'dart:collection'; |
| 4 import 'dart:_collection-dev'; | 4 import 'dart:_collection-dev'; |
| 5 import 'dart:html'; | 5 import 'dart:html'; |
| 6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
| 7 import 'dart:typed_data'; | 7 import 'dart:typed_data'; |
| 8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure
ToJS; | 8 import 'dart:_js_helper' show Creates, JSName, Null, Returns, convertDartClosure
ToJS; |
| 9 import 'dart:_foreign_helper' show JS; | 9 import 'dart:_foreign_helper' show JS; |
| 10 import 'dart:_interceptors' show Interceptor; | 10 import 'dart:_interceptors' show Interceptor, JSExtendableArray; |
| 11 // DO NOT EDIT - unless you are editing documentation as per: | 11 // DO NOT EDIT - unless you are editing documentation as per: |
| 12 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation | 12 // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| 13 // Auto-generated dart:web_gl library. | 13 // Auto-generated dart:web_gl library. |
| 14 | 14 |
| 15 | 15 |
| 16 | 16 |
| 17 | 17 |
| 18 | 18 |
| 19 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 19 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 20 // for details. All rights reserved. Use of this source code is governed by a | 20 // for details. All rights reserved. Use of this source code is governed by a |
| (...skipping 2292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2313 Object getExtension(String name) native; | 2313 Object getExtension(String name) native; |
| 2314 | 2314 |
| 2315 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') | 2315 @DomName('WebGLRenderingContext.getFramebufferAttachmentParameter') |
| 2316 @DocsEditable | 2316 @DocsEditable |
| 2317 @Creates('int|Renderbuffer|Texture|Null') | 2317 @Creates('int|Renderbuffer|Texture|Null') |
| 2318 @Returns('int|Renderbuffer|Texture|Null') | 2318 @Returns('int|Renderbuffer|Texture|Null') |
| 2319 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native; | 2319 Object getFramebufferAttachmentParameter(int target, int attachment, int pname
) native; |
| 2320 | 2320 |
| 2321 @DomName('WebGLRenderingContext.getParameter') | 2321 @DomName('WebGLRenderingContext.getParameter') |
| 2322 @DocsEditable | 2322 @DocsEditable |
| 2323 @Creates('Null|num|String|bool|=List|Float32List|Int32List|Uint32List|Framebuf
fer|Renderbuffer|Texture') | 2323 @Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L
ist|Framebuffer|Renderbuffer|Texture') |
| 2324 @Returns('Null|num|String|bool|=List|Float32List|Int32List|Uint32List|Framebuf
fer|Renderbuffer|Texture') | 2324 @Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L
ist|Framebuffer|Renderbuffer|Texture') |
| 2325 Object getParameter(int pname) native; | 2325 Object getParameter(int pname) native; |
| 2326 | 2326 |
| 2327 @DomName('WebGLRenderingContext.getProgramInfoLog') | 2327 @DomName('WebGLRenderingContext.getProgramInfoLog') |
| 2328 @DocsEditable | 2328 @DocsEditable |
| 2329 String getProgramInfoLog(Program program) native; | 2329 String getProgramInfoLog(Program program) native; |
| 2330 | 2330 |
| 2331 @DomName('WebGLRenderingContext.getProgramParameter') | 2331 @DomName('WebGLRenderingContext.getProgramParameter') |
| 2332 @DocsEditable | 2332 @DocsEditable |
| 2333 @Creates('int|bool|Null') | 2333 @Creates('int|bool|Null') |
| 2334 @Returns('int|bool|Null') | 2334 @Returns('int|bool|Null') |
| (...skipping 28 matching lines...) Expand all Loading... |
| 2363 List<String> getSupportedExtensions() native; | 2363 List<String> getSupportedExtensions() native; |
| 2364 | 2364 |
| 2365 @DomName('WebGLRenderingContext.getTexParameter') | 2365 @DomName('WebGLRenderingContext.getTexParameter') |
| 2366 @DocsEditable | 2366 @DocsEditable |
| 2367 @Creates('int|Null') | 2367 @Creates('int|Null') |
| 2368 @Returns('int|Null') | 2368 @Returns('int|Null') |
| 2369 Object getTexParameter(int target, int pname) native; | 2369 Object getTexParameter(int target, int pname) native; |
| 2370 | 2370 |
| 2371 @DomName('WebGLRenderingContext.getUniform') | 2371 @DomName('WebGLRenderingContext.getUniform') |
| 2372 @DocsEditable | 2372 @DocsEditable |
| 2373 @Creates('Null|num|String|bool|=List|Float32List|Int32List|Uint32List') | 2373 @Creates('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L
ist') |
| 2374 @Returns('Null|num|String|bool|=List|Float32List|Int32List|Uint32List') | 2374 @Returns('Null|num|String|bool|JSExtendableArray|Float32List|Int32List|Uint32L
ist') |
| 2375 Object getUniform(Program program, UniformLocation location) native; | 2375 Object getUniform(Program program, UniformLocation location) native; |
| 2376 | 2376 |
| 2377 @DomName('WebGLRenderingContext.getUniformLocation') | 2377 @DomName('WebGLRenderingContext.getUniformLocation') |
| 2378 @DocsEditable | 2378 @DocsEditable |
| 2379 UniformLocation getUniformLocation(Program program, String name) native; | 2379 UniformLocation getUniformLocation(Program program, String name) native; |
| 2380 | 2380 |
| 2381 @DomName('WebGLRenderingContext.getVertexAttrib') | 2381 @DomName('WebGLRenderingContext.getVertexAttrib') |
| 2382 @DocsEditable | 2382 @DocsEditable |
| 2383 @Creates('Null|num|bool|Float32List|Buffer') | 2383 @Creates('Null|num|bool|Float32List|Buffer') |
| 2384 @Returns('Null|num|bool|Float32List|Buffer') | 2384 @Returns('Null|num|bool|Float32List|Buffer') |
| (...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2762 // for details. All rights reserved. Use of this source code is governed by a | 2762 // for details. All rights reserved. Use of this source code is governed by a |
| 2763 // BSD-style license that can be found in the LICENSE file. | 2763 // BSD-style license that can be found in the LICENSE file. |
| 2764 | 2764 |
| 2765 | 2765 |
| 2766 @DocsEditable | 2766 @DocsEditable |
| 2767 @DomName('WebGLVertexArrayObjectOES') | 2767 @DomName('WebGLVertexArrayObjectOES') |
| 2768 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 2768 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 2769 @Experimental // experimental | 2769 @Experimental // experimental |
| 2770 class VertexArrayObject native "WebGLVertexArrayObjectOES" { | 2770 class VertexArrayObject native "WebGLVertexArrayObjectOES" { |
| 2771 } | 2771 } |
| OLD | NEW |