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

Unified Diff: examples/surfaces_app/child_gl_impl.cc

Issue 756673004: Surfaces should acknowledge frame submissions (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 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
Index: examples/surfaces_app/child_gl_impl.cc
diff --git a/examples/surfaces_app/child_gl_impl.cc b/examples/surfaces_app/child_gl_impl.cc
index 4f91f3d9b7c44d8ad2ad721755458ba41148ebc3..fe4f23225187a480d2cfdbe41fbd231815d31211 100644
--- a/examples/surfaces_app/child_gl_impl.cc
+++ b/examples/surfaces_app/child_gl_impl.cc
@@ -177,7 +177,8 @@ void ChildGLImpl::Draw() {
scoped_ptr<CompositorFrame> frame(new CompositorFrame);
frame->delegated_frame_data = delegated_frame_data.Pass();
- surface_->SubmitFrame(mojo::SurfaceId::From(id_), mojo::Frame::From(*frame));
+ surface_->SubmitFrame(mojo::SurfaceId::From(id_), mojo::Frame::From(*frame),
+ mojo::Closure());
base::MessageLoop::current()->PostDelayedTask(
FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698