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

Unified Diff: apps/moterm/gl_helper_test_app.cc

Issue 1168993002: Update the native_viewport interface to allow specification of the surface configuration, currently… (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Hopefully got all of the linux compile issues now... Created 5 years, 6 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: apps/moterm/gl_helper_test_app.cc
diff --git a/apps/moterm/gl_helper_test_app.cc b/apps/moterm/gl_helper_test_app.cc
index f5cff3bb3b81bc3223ff9d4d3876b60a01abbe03..e2c88e3f6e82d47e75e4d42e18ce4b438de3f0e0 100644
--- a/apps/moterm/gl_helper_test_app.cc
+++ b/apps/moterm/gl_helper_test_app.cc
@@ -218,7 +218,7 @@ class GlHelperExampleApp : public mojo::ApplicationDelegate,
viewport_size_.width = 800;
viewport_size_.height = 600;
native_viewport_->Create(
- viewport_size_.Clone(),
+ viewport_size_.Clone(), mojo::SurfaceConfiguration::New(),
viettrungluu 2015/06/09 22:38:35 It's up to you, but you could also just pass nullp
iansf 2015/06/09 23:45:25 That's true! For example apps like this, do you t
base::Bind(&GlHelperExampleApp::OnViewportMetricsReceived,
base::Unretained(this)));
native_viewport_->Show();
« no previous file with comments | « no previous file | examples/spinning_cube/spinning_cube_app.cc » ('j') | services/native_viewport/native_viewport_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698