Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: samples/openglui/src/gl.dart

Issue 24698003: Removed the openglui sample app. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: samples/openglui/src/gl.dart
diff --git a/samples/openglui/src/gl.dart b/samples/openglui/src/gl.dart
deleted file mode 100644
index 08ab5599c91f55176d0138ea058b3c23ff2f5fca..0000000000000000000000000000000000000000
--- a/samples/openglui/src/gl.dart
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-/**
- * An HTML-based prototype implementation for GL.
- */
-
-// TODO(vsm): Move this out of the common directory.
-library gl_html;
-
-import 'dart:html' as html;
-export 'dart:html' show WebGLRenderingContext;
-export 'dart:html' show Float32Array;
-export 'dart:html' show ImageElement;
-export 'dart:html' show CanvasElement;
-export 'dart:html' show AudioElement;
-export 'dart:html' show KeyboardEvent;
-export 'dart:html' show MouseEvent;
-export 'dart:html' show HtmlDocument;
-export 'dart:html' show CanvasRenderingContext2D;
-export 'dart:html' show Rect;
-
-get document => html.document;
-get window => html.window;
-get sfx_extension => 'mp3';
-
-log(message) => window.console.log(message);
-glSwapBuffers() {}
-
-getDisplayCanvas(resize) {
- var canvas = document.query('#canvas');
- if (canvas == null) {
- canvas = new html.CanvasElement(
- width: window.innerWidth, height: window.innerHeight);
- document.body.nodes.add(canvas);
- }
- return canvas;
-}
-
-

Powered by Google App Engine
This is Rietveld 408576698