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

Unified Diff: cc/trees/layer_tree_host_single_thread_client.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
« no previous file with comments | « cc/trees/layer_tree_host_in_process.h ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_single_thread_client.h
diff --git a/cc/trees/layer_tree_host_single_thread_client.h b/cc/trees/layer_tree_host_single_thread_client.h
index 3d0789207354d54e48f6c78101af2f85668de7bb..4403c50c71925adc0ef981fd5d6c83c0791f37ee 100644
--- a/cc/trees/layer_tree_host_single_thread_client.h
+++ b/cc/trees/layer_tree_host_single_thread_client.h
@@ -17,11 +17,12 @@ class LayerTreeHostSingleThreadClient {
// Called whenever the compositor posts a SwapBuffers (either full or
// partial). After DidPostSwapBuffers(), exactly one of
- // DidCompleteSwapBuffers() or DidAbortSwapBuffers() will be called, thus
+ // DidReceiveCompositorFrameAck() or DidAbortSwapBuffers() will be called,
+ // thus
// these functions can be used to keep track of pending swap buffers calls for
// rate limiting.
virtual void DidPostSwapBuffers() = 0;
- virtual void DidCompleteSwapBuffers() = 0;
+ virtual void DidReceiveCompositorFrameAck() = 0;
virtual void DidAbortSwapBuffers() = 0;
protected:
« no previous file with comments | « cc/trees/layer_tree_host_in_process.h ('k') | cc/trees/layer_tree_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698