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

Unified Diff: cc/trees/single_thread_proxy.cc

Issue 767083005: cc: Rename TileManager::ManageTiles to PrepareTiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a Trace name. Created 6 years 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/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/single_thread_proxy.cc
diff --git a/cc/trees/single_thread_proxy.cc b/cc/trees/single_thread_proxy.cc
index dfce8088d18ac248bfef847f62a4ac35231bc3ac..b1248e005f8b3ff52c80a5f60f255816e577c0c4 100644
--- a/cc/trees/single_thread_proxy.cc
+++ b/cc/trees/single_thread_proxy.cc
@@ -372,10 +372,10 @@ void SingleThreadProxy::SetNeedsAnimateOnImplThread() {
scheduler_on_impl_thread_->SetNeedsAnimate();
}
-void SingleThreadProxy::SetNeedsManageTilesOnImplThread() {
- TRACE_EVENT0("cc", "SingleThreadProxy::SetNeedsManageTilesOnImplThread");
+void SingleThreadProxy::SetNeedsPrepareTilesOnImplThread() {
+ TRACE_EVENT0("cc", "SingleThreadProxy::SetNeedsPrepareTilesOnImplThread");
if (scheduler_on_impl_thread_)
- scheduler_on_impl_thread_->SetNeedsManageTiles();
+ scheduler_on_impl_thread_->SetNeedsPrepareTiles();
}
void SingleThreadProxy::SetNeedsRedrawRectOnImplThread(
@@ -438,11 +438,11 @@ void SingleThreadProxy::DidActivateSyncTree() {
timing_history_.DidActivateSyncTree();
}
-void SingleThreadProxy::DidManageTiles() {
+void SingleThreadProxy::DidPrepareTiles() {
DCHECK(layer_tree_host_impl_->settings().impl_side_painting);
DCHECK(Proxy::IsImplThread());
if (scheduler_on_impl_thread_)
- scheduler_on_impl_thread_->DidManageTiles();
+ scheduler_on_impl_thread_->DidPrepareTiles();
}
void SingleThreadProxy::UpdateRendererCapabilitiesOnImplThread() {
@@ -507,7 +507,7 @@ void SingleThreadProxy::CompositeImmediately(base::TimeTicks frame_begin_time) {
if (layer_tree_host_impl_->settings().impl_side_painting) {
layer_tree_host_impl_->ActivateSyncTree();
layer_tree_host_impl_->active_tree()->UpdateDrawProperties();
- layer_tree_host_impl_->ManageTiles();
+ layer_tree_host_impl_->PrepareTiles();
layer_tree_host_impl_->SynchronouslyInitializeAllTiles();
}
@@ -771,11 +771,11 @@ void SingleThreadProxy::ScheduledActionBeginOutputSurfaceCreation() {
}
}
-void SingleThreadProxy::ScheduledActionManageTiles() {
- TRACE_EVENT0("cc", "SingleThreadProxy::ScheduledActionManageTiles");
+void SingleThreadProxy::ScheduledActionPrepareTiles() {
+ TRACE_EVENT0("cc", "SingleThreadProxy::ScheduledActionPrepareTiles");
DCHECK(layer_tree_host_impl_->settings().impl_side_painting);
DebugScopedSetImplThread impl(this);
- layer_tree_host_impl_->ManageTiles();
+ layer_tree_host_impl_->PrepareTiles();
}
void SingleThreadProxy::DidAnticipatedDrawTimeChange(base::TimeTicks time) {
« no previous file with comments | « cc/trees/single_thread_proxy.h ('k') | cc/trees/thread_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698