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

Unified Diff: mojo/services/surfaces/surfaces_impl.h

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: mojo/services/surfaces/surfaces_impl.h
diff --git a/mojo/services/surfaces/surfaces_impl.h b/mojo/services/surfaces/surfaces_impl.h
index f207a1e6526fe1fbe5a26f2090b99c3ef7f5afef..bf838a6b625203e47f5ada0747ebe3aa26f9aa9e 100644
--- a/mojo/services/surfaces/surfaces_impl.h
+++ b/mojo/services/surfaces/surfaces_impl.h
@@ -42,7 +42,9 @@ class SurfacesImpl : public Surface,
// Surface implementation.
void CreateSurface(SurfaceIdPtr id, mojo::SizePtr size) override;
- void SubmitFrame(SurfaceIdPtr id, FramePtr frame) override;
+ void SubmitFrame(SurfaceIdPtr id,
+ FramePtr frame,
+ const mojo::Closure& callback) override;
void DestroySurface(SurfaceIdPtr id) override;
void CreateGLES2BoundSurface(CommandBufferPtr gles2_client,
SurfaceIdPtr id,

Powered by Google App Engine
This is Rietveld 408576698