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

Unified Diff: cc/layer_tree_host_impl.cc

Issue 12022043: cc: Fix inappropriate use of term "texture". (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: s/InitializeTile/UploadTile/ and s/CompletedSetPixels/CompletedTileUploads/ Created 7 years, 11 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/layer_tree_host_impl.h ('k') | cc/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl.cc
diff --git a/cc/layer_tree_host_impl.cc b/cc/layer_tree_host_impl.cc
index 5f186527744e2ab694741efd27c326687012e053..e10d70ff298ef2e55270d9d09c6c63aa3be863e6 100644
--- a/cc/layer_tree_host_impl.cc
+++ b/cc/layer_tree_host_impl.cc
@@ -721,7 +721,7 @@ void LayerTreeHostImpl::ScheduleManageTiles()
void LayerTreeHostImpl::DidUploadVisibleHighResolutionTile()
{
if (m_client)
- m_client->didUploadVisibleHighResolutionTileOnImplTread();
+ m_client->didUploadVisibleHighResolutionTileOnImplThread();
}
bool LayerTreeHostImpl::shouldClearRootRenderPass() const
@@ -854,7 +854,7 @@ bool LayerTreeHostImpl::swapBuffers()
if (m_settings.implSidePainting &&
!activeTree()->AreVisibleResourcesReady()) {
- m_client->didSwapUseIncompleteTextureOnImplThread();
+ m_client->didSwapUseIncompleteTileOnImplThread();
}
return result;
@@ -936,11 +936,11 @@ void LayerTreeHostImpl::createPendingTree()
m_client->onHasPendingTreeStateChanged(pendingTree());
}
-void LayerTreeHostImpl::checkForCompletedTextures()
+void LayerTreeHostImpl::checkForCompletedTileUploads()
{
- DCHECK(!m_client->isInsideDraw()) << "Checking for completed textures within a draw may trigger spurious redraws.";
+ DCHECK(!m_client->isInsideDraw()) << "Checking for completed uploads within a draw may trigger spurious redraws.";
if (m_tileManager)
- m_tileManager->CheckForCompletedTextures();
+ m_tileManager->CheckForCompletedTileUploads();
}
void LayerTreeHostImpl::activatePendingTreeIfNeeded()
« no previous file with comments | « cc/layer_tree_host_impl.h ('k') | cc/layer_tree_host_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698