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

Unified Diff: cc/output/compositor_frame_sink.h

Issue 2409923002: cc: Rename SwapBuffers on CompositorFrameSink to SubmitCompositorFrame (Closed)
Patch Set: swap-to-submit: rebase Created 4 years, 2 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: cc/output/compositor_frame_sink.h
diff --git a/cc/output/compositor_frame_sink.h b/cc/output/compositor_frame_sink.h
index e1f2ec641c5cc5e90f9507a2e7757e1d232aeb55..5aa440552e3573434cd910256e8f0dde7ff63464 100644
--- a/cc/output/compositor_frame_sink.h
+++ b/cc/output/compositor_frame_sink.h
@@ -104,10 +104,10 @@ class CC_EXPORT CompositorFrameSink {
// there's new content.
virtual void Invalidate() {}
- // For successful swaps, the implementation must call DidSwapBuffersComplete()
- // (via OnSwapBuffersComplete()) eventually.
- virtual void SwapBuffers(CompositorFrame frame) = 0;
- virtual void OnSwapBuffersComplete();
+ // For successful swaps, the implementation must call
+ // DidReceiveCompositorFrameAck() asynchronously when the frame has been
sunnyps 2016/10/11 18:32:48 bikeshed: DidAckCompositorFrame? or OnCompositorFr
+ // processed in order to unthrottle the next frame.
+ virtual void SubmitCompositorFrame(CompositorFrame frame) = 0;
protected:
// Bound to the ContextProvider to hear about when it is lost and inform the

Powered by Google App Engine
This is Rietveld 408576698