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

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

Issue 11883013: Refactored OpenGL embedder that works on Android, Mac or Linux. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « samples/mobile_emulator_sample/mobile_emulator_sample.gyp ('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_driver.dart
===================================================================
--- samples/simplegl/web/gl_driver.dart (revision 16976)
+++ samples/simplegl/web/gl_driver.dart (working copy)
@@ -18,8 +18,7 @@
gl = canvas.getContext('experimental-webgl');
// The first 'setup' entry point is called once.
- setup();
- resize(canvas.width, canvas.height);
+ setup(canvas.width, canvas.height);
// The second 'render' entry point is called each time the canvas should
// be re-drawn.
« no previous file with comments | « samples/mobile_emulator_sample/mobile_emulator_sample.gyp ('k') | samples/simplegl/web/raytrace.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698