| 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' hide deprecated; | 4 import 'dart:_collection-dev' hide deprecated; |
| 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, JSExtendableArray; | 10 import 'dart:_interceptors' show Interceptor, JSExtendableArray; |
| (...skipping 708 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 719 } | 719 } |
| 720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 720 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 721 // for details. All rights reserved. Use of this source code is governed by a | 721 // for details. All rights reserved. Use of this source code is governed by a |
| 722 // BSD-style license that can be found in the LICENSE file. | 722 // BSD-style license that can be found in the LICENSE file. |
| 723 | 723 |
| 724 | 724 |
| 725 @DocsEditable() | 725 @DocsEditable() |
| 726 @DomName('WebGLLoseContext') | 726 @DomName('WebGLLoseContext') |
| 727 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ | 727 // http://www.khronos.org/registry/webgl/extensions/WEBGL_lose_context/ |
| 728 @Experimental() | 728 @Experimental() |
| 729 class LoseContext extends Interceptor native "WebGLLoseContext" { | 729 class LoseContext extends Interceptor native "WebGLLoseContext,WebGLExtensionLos
eContext" { |
| 730 | 730 |
| 731 @DomName('WebGLLoseContext.loseContext') | 731 @DomName('WebGLLoseContext.loseContext') |
| 732 @DocsEditable() | 732 @DocsEditable() |
| 733 void loseContext() native; | 733 void loseContext() native; |
| 734 | 734 |
| 735 @DomName('WebGLLoseContext.restoreContext') | 735 @DomName('WebGLLoseContext.restoreContext') |
| 736 @DocsEditable() | 736 @DocsEditable() |
| 737 void restoreContext() native; | 737 void restoreContext() native; |
| 738 } | 738 } |
| 739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 739 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| (...skipping 2051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2791 // for details. All rights reserved. Use of this source code is governed by a | 2791 // for details. All rights reserved. Use of this source code is governed by a |
| 2792 // BSD-style license that can be found in the LICENSE file. | 2792 // BSD-style license that can be found in the LICENSE file. |
| 2793 | 2793 |
| 2794 | 2794 |
| 2795 @DocsEditable() | 2795 @DocsEditable() |
| 2796 @DomName('WebGLVertexArrayObjectOES') | 2796 @DomName('WebGLVertexArrayObjectOES') |
| 2797 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ | 2797 // http://www.khronos.org/registry/webgl/extensions/OES_vertex_array_object/ |
| 2798 @Experimental() // experimental | 2798 @Experimental() // experimental |
| 2799 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" { | 2799 class VertexArrayObject extends Interceptor native "WebGLVertexArrayObjectOES" { |
| 2800 } | 2800 } |
| OLD | NEW |