| Index: cc/tile_manager.h
|
| diff --git a/cc/tile_manager.h b/cc/tile_manager.h
|
| index 857f88908c83617912d553626fc9f4d521fbc35c..ec17ee25f25b62e01f7d168486cea44c081d3abb 100644
|
| --- a/cc/tile_manager.h
|
| +++ b/cc/tile_manager.h
|
| @@ -62,6 +62,9 @@ class CC_EXPORT ManagedTileState {
|
| TileManagerBin bin[NUM_TREES];
|
| // Bin used to determine raster priority.
|
| TileManagerBin raster_bin;
|
| + // 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;
|
| };
|
| @@ -88,6 +91,11 @@ class CC_EXPORT TileManager {
|
| int GetTilesInBinCount(TileManagerBin bin, WhichTree tree);
|
| int GetDrawableTilesInBinCount(TileManagerBin bin, WhichTree tree);
|
|
|
| + void GetManagedMemoryStats(
|
| + size_t* memoryVisibleBytes,
|
| + size_t* memoryVisibleAndNearbyBytes,
|
| + size_t* memoryUseBytes);
|
| +
|
| protected:
|
| // Methods called by Tile
|
| friend class Tile;
|
|
|