| Index: cc/resources/tile_manager_unittest.cc
|
| diff --git a/cc/resources/tile_manager_unittest.cc b/cc/resources/tile_manager_unittest.cc
|
| index fdba0501df68bdd7b5f4ce0eedc39dcc4a07399e..f229fcddcd1d1584b44696d89af63ce100e016e7 100644
|
| --- a/cc/resources/tile_manager_unittest.cc
|
| +++ b/cc/resources/tile_manager_unittest.cc
|
| @@ -646,13 +646,37 @@
|
| // Renew all of the tile priorities.
|
| gfx::Rect viewport(50, 50, 100, 100);
|
| pending_layer_->HighResTiling()->UpdateTilePriorities(
|
| - PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + PENDING_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + pending_layer_->render_target(),
|
| + pending_layer_->draw_transform());
|
| pending_layer_->LowResTiling()->UpdateTilePriorities(
|
| - PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + PENDING_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + pending_layer_->render_target(),
|
| + pending_layer_->draw_transform());
|
| active_layer_->HighResTiling()->UpdateTilePriorities(
|
| - ACTIVE_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + ACTIVE_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + active_layer_->render_target(),
|
| + active_layer_->draw_transform());
|
| active_layer_->LowResTiling()->UpdateTilePriorities(
|
| - ACTIVE_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + ACTIVE_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + active_layer_->render_target(),
|
| + active_layer_->draw_transform());
|
|
|
| // Populate all tiles directly from the tilings.
|
| all_tiles.clear();
|
| @@ -821,13 +845,37 @@
|
| // Renew all of the tile priorities.
|
| gfx::Rect viewport(50, 50, 100, 100);
|
| pending_layer_->HighResTiling()->UpdateTilePriorities(
|
| - PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + PENDING_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + pending_layer_->render_target(),
|
| + pending_layer_->draw_transform());
|
| pending_layer_->LowResTiling()->UpdateTilePriorities(
|
| - PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + PENDING_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + pending_layer_->render_target(),
|
| + pending_layer_->draw_transform());
|
| active_layer_->HighResTiling()->UpdateTilePriorities(
|
| - ACTIVE_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + ACTIVE_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + active_layer_->render_target(),
|
| + active_layer_->draw_transform());
|
| active_layer_->LowResTiling()->UpdateTilePriorities(
|
| - ACTIVE_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + ACTIVE_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + active_layer_->render_target(),
|
| + active_layer_->draw_transform());
|
|
|
| // Populate all tiles directly from the tilings.
|
| all_tiles.clear();
|
| @@ -972,13 +1020,37 @@
|
| // Renew all of the tile priorities.
|
| gfx::Rect viewport(layer_bounds);
|
| pending_layer_->HighResTiling()->UpdateTilePriorities(
|
| - PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + PENDING_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + pending_layer_->render_target(),
|
| + pending_layer_->draw_transform());
|
| pending_layer_->LowResTiling()->UpdateTilePriorities(
|
| - PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + PENDING_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + pending_layer_->render_target(),
|
| + pending_layer_->draw_transform());
|
| pending_child_layer->HighResTiling()->UpdateTilePriorities(
|
| - PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + PENDING_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + pending_child_layer->render_target(),
|
| + pending_child_layer->draw_transform());
|
| pending_child_layer->LowResTiling()->UpdateTilePriorities(
|
| - PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
|
| + PENDING_TREE,
|
| + viewport,
|
| + 1.0f,
|
| + 1.0,
|
| + NULL,
|
| + pending_child_layer->render_target(),
|
| + pending_child_layer->draw_transform());
|
|
|
| // Populate all tiles directly from the tilings.
|
| all_tiles.clear();
|
|
|