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

Unified Diff: cc/blimp/layer_tree_host_remote.cc

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/blimp/layer_tree_host_remote.h ('k') | cc/blimp/layer_tree_host_remote_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/blimp/layer_tree_host_remote.cc
diff --git a/cc/blimp/layer_tree_host_remote.cc b/cc/blimp/layer_tree_host_remote.cc
index 45ab48ef6f07e67327c5373579c943eaf0fcd300..6ce97101fa38df4d839c2d01cdb92e8d8d7de43b 100644
--- a/cc/blimp/layer_tree_host_remote.cc
+++ b/cc/blimp/layer_tree_host_remote.cc
@@ -414,8 +414,9 @@ void LayerTreeHostRemote::BeginMainFrame() {
// being used for. Consider migrating clients to understand/cope with the fact
// that there is no actual compositing happening here.
task_runner_provider_->MainThreadTaskRunner()->PostTask(
- FROM_HERE, base::Bind(&LayerTreeHostRemote::DispatchDrawAndSwapCallbacks,
- weak_factory_.GetWeakPtr()));
+ FROM_HERE,
+ base::Bind(&LayerTreeHostRemote::DispatchDrawAndSubmitCallbacks,
+ weak_factory_.GetWeakPtr()));
}
bool LayerTreeHostRemote::ApplyScrollAndScaleUpdateFromClient(
@@ -471,9 +472,9 @@ void LayerTreeHostRemote::MainFrameComplete() {
client_->DidBeginMainFrame();
}
-void LayerTreeHostRemote::DispatchDrawAndSwapCallbacks() {
+void LayerTreeHostRemote::DispatchDrawAndSubmitCallbacks() {
client_->DidCommitAndDrawFrame();
- client_->DidCompleteSwapBuffers();
+ client_->DidReceiveCompositorFrameAck();
}
void LayerTreeHostRemote::SetTaskRunnerProviderForTesting(
« no previous file with comments | « cc/blimp/layer_tree_host_remote.h ('k') | cc/blimp/layer_tree_host_remote_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698