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

Unified Diff: examples/ganesh_app/texture_uploader.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/ganesh_app/texture_uploader.cc
diff --git a/examples/ganesh_app/texture_uploader.cc b/examples/ganesh_app/texture_uploader.cc
index dad71a6d2c5f4076af4bc159ec7b3bedadada6fd..0cecd5fa6b51aa976e09495d07bd7819435d6a96 100644
--- a/examples/ganesh_app/texture_uploader.cc
+++ b/examples/ganesh_app/texture_uploader.cc
@@ -121,7 +121,7 @@ void TextureUploader::Upload(scoped_ptr<mojo::GLTexture> texture) {
pass->quads.push_back(quad.Pass());
frame->passes.push_back(pass.Pass());
- surface_->SubmitFrame(surface_id_.Clone(), frame.Pass());
+ surface_->SubmitFrame(surface_id_.Clone(), frame.Pass(), mojo::Closure());
}
void TextureUploader::EnsureSurfaceForSize(const mojo::Size& size) {

Powered by Google App Engine
This is Rietveld 408576698