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

Unified Diff: samples/simplegl/web/gl_html.dart

Issue 11362256: Added raytracer to gl samples. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 years, 1 month 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
« no previous file with comments | « samples/simplegl/web/gl_driver.dart ('k') | samples/simplegl/web/raytrace.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/simplegl/web/gl_html.dart
diff --git a/samples/simplegl/web/gl_html.dart b/samples/simplegl/web/gl_html.dart
deleted file mode 100644
index 880fd4f1da4d2168fce8f421406f6ce1be17d02d..0000000000000000000000000000000000000000
--- a/samples/simplegl/web/gl_html.dart
+++ /dev/null
@@ -1,24 +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.
- */
-library gl_html;
-
-import 'dart:html';
-import 'gl.dart';
-
-class HtmlGlContext extends GlContext {
- WebGLRenderingContext _context;
- HtmlGlContext(this._context);
-
- int get COLOR_BUFFER_BIT => WebGLRenderingContext.COLOR_BUFFER_BIT;
- int get DEPTH_BUFFER_BIT => WebGLRenderingContext.DEPTH_BUFFER_BIT;
-
- void clearColor(num red, num green, num blue, num alpha) =>
- _context.clearColor(red, green, blue, alpha);
- void clear(int mask) =>
- _context.clear(mask);
-}
« no previous file with comments | « samples/simplegl/web/gl_driver.dart ('k') | samples/simplegl/web/raytrace.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698