| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * An HTML-based prototype implementation for GL. | 6 * An HTML-based prototype implementation for GL. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 // TODO(vsm): Move this out of the common directory. | 9 // TODO(vsm): Move this out of the common directory. |
| 10 library gl_html; | 10 library gl_html; |
| 11 | 11 |
| 12 import 'dart:html'; | 12 import 'dart:html'; |
| 13 export 'dart:html' show WebGLRenderingContext; | 13 export 'dart:html' show WebGLRenderingContext; |
| 14 export 'dart:html' show Float32Array; | 14 export 'dart:html' show Float32Array; |
| 15 export 'dart:html' show ImageElement; |
| 15 | 16 |
| 16 WebGLRenderingContext gl; | 17 WebGLRenderingContext gl; |
| 17 | 18 |
| 18 log(message) => window.console.log(message); | 19 log(message) => window.console.log(message); |
| 19 | 20 |
| OLD | NEW |