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

Unified Diff: samples/simplegl/web/raytrace_driver.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/raytrace.dart ('k') | samples/simplegl/web/simplegl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/simplegl/web/raytrace_driver.dart
diff --git a/sdk/lib/html/templates/html/dartium/cpp_derived_sources.template b/samples/simplegl/web/raytrace_driver.dart
similarity index 71%
copy from sdk/lib/html/templates/html/dartium/cpp_derived_sources.template
copy to samples/simplegl/web/raytrace_driver.dart
index c2f6b9c1eb09ed4d884de37b55bceaeb6685fcd8..4202587ba38f896d64c363b5fbe63a8505bd6b43 100644
--- a/sdk/lib/html/templates/html/dartium/cpp_derived_sources.template
+++ b/samples/simplegl/web/raytrace_driver.dart
@@ -2,8 +2,7 @@
// 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.
-// WARNING: Do not edit - generated code.
+import 'gl_driver.dart';
+import 'raytrace.dart';
-#define NO_IMPLICIT_ATOMICSTRING
-
-$!INCLUDES
+main() => glMain(setup, resize, draw);
« no previous file with comments | « samples/simplegl/web/raytrace.dart ('k') | samples/simplegl/web/simplegl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698