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

Unified Diff: cc/layer_tree_host_impl_unittest.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.cc ('k') | cc/scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layer_tree_host_impl_unittest.cc
diff --git a/cc/layer_tree_host_impl_unittest.cc b/cc/layer_tree_host_impl_unittest.cc
index 6f9f638a21cc7bc8ad6628ebf06e98dff8e1a464..062588a44aa4732e374ebcf50225255e458c6446 100644
--- a/cc/layer_tree_host_impl_unittest.cc
+++ b/cc/layer_tree_host_impl_unittest.cc
@@ -67,7 +67,7 @@ public:
, m_hasPendingTree(false)
, m_didRequestCommit(false)
, m_didRequestRedraw(false)
- , m_didSwapUseIncompleteTexture(false)
+ , m_didSwapUseIncompleteTile(false)
, m_didUploadVisibleHighResolutionTile(false)
, m_reduceMemoryResult(true)
{
@@ -95,8 +95,8 @@ public:
virtual void onCanDrawStateChanged(bool canDraw) OVERRIDE { m_onCanDrawStateChangedCalled = true; }
virtual void onHasPendingTreeStateChanged(bool hasPendingTree) OVERRIDE { m_hasPendingTree = hasPendingTree; }
virtual void setNeedsRedrawOnImplThread() OVERRIDE { m_didRequestRedraw = true; }
- virtual void didSwapUseIncompleteTextureOnImplThread() OVERRIDE { m_didSwapUseIncompleteTexture = true; }
- virtual void didUploadVisibleHighResolutionTileOnImplTread() OVERRIDE { m_didUploadVisibleHighResolutionTile = true; }
+ virtual void didSwapUseIncompleteTileOnImplThread() OVERRIDE { m_didSwapUseIncompleteTile = true; }
+ virtual void didUploadVisibleHighResolutionTileOnImplThread() OVERRIDE { m_didUploadVisibleHighResolutionTile = true; }
virtual void setNeedsCommitOnImplThread() OVERRIDE { m_didRequestCommit = true; }
virtual void setNeedsManageTilesOnImplThread() OVERRIDE { }
virtual void postAnimationEventsToMainThreadOnImplThread(scoped_ptr<AnimationEventsVector>, base::Time wallClockTime) OVERRIDE { }
@@ -229,7 +229,7 @@ protected:
bool m_hasPendingTree;
bool m_didRequestCommit;
bool m_didRequestRedraw;
- bool m_didSwapUseIncompleteTexture;
+ bool m_didSwapUseIncompleteTile;
bool m_didUploadVisibleHighResolutionTile;
bool m_reduceMemoryResult;
};
« no previous file with comments | « cc/layer_tree_host_impl.cc ('k') | cc/scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698