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

Unified Diff: cc/trees/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/thread_proxy.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/thread_proxy.cc
diff --git a/cc/trees/thread_proxy.cc b/cc/trees/thread_proxy.cc
index 4793cc5ecf5c27d3458a870230af7569bea5d5c0..e6ab017d37e221a5235d82502a341c22aa1bc35c 100644
--- a/cc/trees/thread_proxy.cc
+++ b/cc/trees/thread_proxy.cc
@@ -81,10 +81,11 @@ ThreadProxy::MainThreadOnly::MainThreadOnly(ThreadProxy* proxy,
commit_requested(false),
commit_request_sent_to_impl_thread(false),
started(false),
- manage_tiles_pending(false),
+ prepare_tiles_pending(false),
can_cancel_commit(true),
defer_commits(false),
- weak_factory(proxy) {}
+ weak_factory(proxy) {
+}
ThreadProxy::MainThreadOnly::~MainThreadOnly() {}
@@ -468,9 +469,9 @@ void ThreadProxy::SetNeedsAnimateOnImplThread() {
impl().scheduler->SetNeedsAnimate();
}
-void ThreadProxy::SetNeedsManageTilesOnImplThread() {
+void ThreadProxy::SetNeedsPrepareTilesOnImplThread() {
DCHECK(IsImplThread());
- impl().scheduler->SetNeedsManageTiles();
+ impl().scheduler->SetNeedsPrepareTiles();
}
void ThreadProxy::SetNeedsRedrawRectOnImplThread(const gfx::Rect& damage_rect) {
@@ -1050,10 +1051,10 @@ DrawResult ThreadProxy::DrawSwapInternal(bool forced_draw) {
return result;
}
-void ThreadProxy::ScheduledActionManageTiles() {
- TRACE_EVENT0("cc", "ThreadProxy::ScheduledActionManageTiles");
+void ThreadProxy::ScheduledActionPrepareTiles() {
+ TRACE_EVENT0("cc", "ThreadProxy::ScheduledActionPrepareTiles");
DCHECK(impl().layer_tree_host_impl->settings().impl_side_painting);
- impl().layer_tree_host_impl->ManageTiles();
+ impl().layer_tree_host_impl->PrepareTiles();
}
DrawResult ThreadProxy::ScheduledActionDrawAndSwapIfPossible() {
@@ -1342,9 +1343,9 @@ void ThreadProxy::DidActivateSyncTree() {
impl().timing_history.DidActivateSyncTree();
}
-void ThreadProxy::DidManageTiles() {
+void ThreadProxy::DidPrepareTiles() {
DCHECK(IsImplThread());
- impl().scheduler->DidManageTiles();
+ impl().scheduler->DidPrepareTiles();
}
} // namespace cc
« no previous file with comments | « cc/trees/thread_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698