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

Unified Diff: cc/tile_manager.h

Issue 12353003: cc: Refactored Tile::GetResourceId (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: compile fix Created 7 years, 9 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.cc ('k') | cc/tile_manager.cc » ('j') | no next file with comments »
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 dd7e90b975aaed4ef32668592db0fc2806c18339..9f40724633cc6c423a6a035f00211aa99919bace 100644
--- a/cc/tile_manager.h
+++ b/cc/tile_manager.h
@@ -66,37 +66,6 @@ enum TileRasterState {
scoped_ptr<base::Value> TileRasterStateAsValue(
TileRasterState bin);
-// This is state that is specific to a tile that is
-// managed by the TileManager.
-class CC_EXPORT ManagedTileState {
- public:
- ManagedTileState();
- ~ManagedTileState();
- scoped_ptr<base::Value> AsValue() const;
-
- // Persisted state: valid all the time.
- bool can_use_gpu_memory;
- bool can_be_freed;
- scoped_ptr<ResourcePool::Resource> resource;
- bool resource_is_being_initialized;
- bool contents_swizzled;
- bool need_to_gather_pixel_refs;
- std::list<skia::LazyPixelRef*> pending_pixel_refs;
- TileRasterState raster_state;
-
- // Ephemeral state, valid only during Manage.
- TileManagerBin bin[NUM_BIN_PRIORITIES];
- TileManagerBin tree_bin[NUM_TREES];
- // The bin that the tile would have if the GPU memory manager had a maximally permissive policy,
- // send to the GPU memory manager to determine policy.
- TileManagerBin gpu_memmgr_stats_bin;
- TileResolution resolution;
- float time_to_needed_in_seconds;
- float distance_to_visible_in_pixels;
- PicturePileImpl::Analysis picture_pile_analysis;
- bool picture_pile_analyzed;
-};
-
// This class manages tiles, deciding which should get rasterized and which
// should no longer have any memory assigned to them. Tile objects are "owned"
// by layers; they automatically register with the manager when they are
« no previous file with comments | « cc/tile.cc ('k') | cc/tile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698