diff options
author | vmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-12 19:15:10 +0000 |
---|---|---|
committer | vmpstr@chromium.org <vmpstr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-12 19:15:10 +0000 |
commit | b67a44ea99660b674298c5e1f87a54ad8fe93e93 (patch) | |
tree | d92cdab1a64669871053c40d4ee4c5f66a86cd03 /cc/test/fake_tile_manager.cc | |
parent | 67fd9f011cb12e30350d432cd5de4348507f2386 (diff) | |
download | chromium_src-b67a44ea99660b674298c5e1f87a54ad8fe93e93.zip chromium_src-b67a44ea99660b674298c5e1f87a54ad8fe93e93.tar.gz chromium_src-b67a44ea99660b674298c5e1f87a54ad8fe93e93.tar.bz2 |
cc: Remove reassign gpu memory from tile manager.
Remove reassign gpu memory. Instead of doing that this patch relies
on proper sorting that comes from tree priority. That is, in the
case of smoothness takes priority, we might not be able to activate
until the mode changes, because we prioritize active tree tiles.
Review URL: https://chromiumcodereview.appspot.com/18435006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_tile_manager.cc')
-rw-r--r-- | cc/test/fake_tile_manager.cc | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/cc/test/fake_tile_manager.cc b/cc/test/fake_tile_manager.cc index eb4ab1f..c1b61f3 100644 --- a/cc/test/fake_tile_manager.cc +++ b/cc/test/fake_tile_manager.cc @@ -40,19 +40,12 @@ FakeTileManager::FakeTileManager(TileManagerClient* client, FakeTileManager::~FakeTileManager() {} -void FakeTileManager::ReassignMemoryToOOMTilesRequiredForActivation() { - ReassignGpuMemoryToOOMTilesRequiredForActivation( - all_tiles, &tiles_for_raster, &oom_tiles_required_for_activation); -} - void FakeTileManager::AssignMemoryToTiles() { tiles_for_raster.clear(); - oom_tiles_required_for_activation.clear(); all_tiles.clear(); GetSortedTiles(&all_tiles); - AssignGpuMemoryToTiles( - all_tiles, &tiles_for_raster, &oom_tiles_required_for_activation); + AssignGpuMemoryToTiles(all_tiles, &tiles_for_raster); } bool FakeTileManager::HasBeenAssignedMemory(Tile* tile) { |