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

Unified Diff: cc/tile_manager.h

Issue 12226046: Added a vector to TileManager to explicitly track live or allocated tiles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebaselining to origin/master Created 7 years, 10 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/tile.h ('k') | cc/tile_manager.cc » ('j') | cc/tile_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/tile_manager.h
diff --git a/cc/tile_manager.h b/cc/tile_manager.h
index 005c42f79a2d6530da91fb8f70a3cd3d4c724358..afa5ada34bd554d6cb08ac86e5645c384aa2c936 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -159,9 +159,9 @@ class CC_EXPORT TileManager {
int manage_tiles_call_count_when_dispatched);
void DidFinishTileInitialization(Tile* tile);
void DidTileRasterStateChange(Tile* tile, TileRasterState state);
- void DidTileBinChange(Tile* tile,
- TileManagerBin bin,
- WhichTree tree);
+ void DidTileTreeBinChange(Tile* tile,
+ TileManagerBin new_tree_bin,
+ WhichTree tree);
scoped_ptr<Value> GetMemoryRequirementsAsValue() const;
static void PerformRaster(uint8* buffer,
@@ -185,7 +185,8 @@ class CC_EXPORT TileManager {
GlobalStateThatImpactsTilePriority global_state_;
typedef std::vector<Tile*> TileVector;
- TileVector tiles_;
+ TileVector all_tiles_;
+ TileVector live_or_allocated_tiles_;
TileVector tiles_that_need_to_be_rasterized_;
typedef std::list<Tile*> TileList;
« no previous file with comments | « cc/tile.h ('k') | cc/tile_manager.cc » ('j') | cc/tile_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698