summaryrefslogtreecommitdiff
path: root/chromium/cc/tiles
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-02-01 15:42:22 +0100
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-02-01 15:55:43 +0000
commit98a0061b881063a62c1941ccb67af6660ca89062 (patch)
tree5e77cc6ad4735e53db0d7a8766ed26ca726f9373 /chromium/cc/tiles
parent6c91641271e536ffaa88a1dff5127e42ee99a91e (diff)
downloadqtwebengine-chromium-98a0061b881063a62c1941ccb67af6660ca89062.tar.gz
BASELINE: Update Chromium to 49.0.2623.34
Change-Id: I89af6c0074347d4415cc1ce35a6d54a3760e6ad2 Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'chromium/cc/tiles')
-rw-r--r--chromium/cc/tiles/tile_manager_perftest.cc15
1 files changed, 5 insertions, 10 deletions
diff --git a/chromium/cc/tiles/tile_manager_perftest.cc b/chromium/cc/tiles/tile_manager_perftest.cc
index 07bbb2b618c..53b7ba819ba 100644
--- a/chromium/cc/tiles/tile_manager_perftest.cc
+++ b/chromium/cc/tiles/tile_manager_perftest.cc
@@ -187,9 +187,8 @@ class TileManagerPerfTest : public testing::Test {
int priority_count = 0;
std::vector<FakePictureLayerImpl*> layers = CreateLayers(layer_count, 10);
- bool resourceless_software_draw = false;
for (const auto& layer : layers)
- layer->UpdateTiles(resourceless_software_draw);
+ layer->UpdateTiles();
timer_.Reset();
do {
@@ -215,9 +214,8 @@ class TileManagerPerfTest : public testing::Test {
NEW_CONTENT_TAKES_PRIORITY};
std::vector<FakePictureLayerImpl*> layers = CreateLayers(layer_count, 100);
- bool resourceless_software_draw = false;
for (const auto& layer : layers)
- layer->UpdateTiles(resourceless_software_draw);
+ layer->UpdateTiles();
int priority_count = 0;
timer_.Reset();
@@ -251,9 +249,8 @@ class TileManagerPerfTest : public testing::Test {
int priority_count = 0;
std::vector<FakePictureLayerImpl*> layers = CreateLayers(layer_count, 10);
- bool resourceless_software_draw = false;
for (const auto& layer : layers) {
- layer->UpdateTiles(resourceless_software_draw);
+ layer->UpdateTiles();
for (size_t i = 0; i < layer->num_tilings(); ++i) {
tile_manager()->InitializeTilesWithResourcesForTesting(
layer->tilings()->tiling_at(i)->AllTilesForTesting());
@@ -286,9 +283,8 @@ class TileManagerPerfTest : public testing::Test {
std::vector<FakePictureLayerImpl*> layers =
CreateLayers(layer_count, tile_count);
- bool resourceless_software_draw = false;
for (const auto& layer : layers) {
- layer->UpdateTiles(resourceless_software_draw);
+ layer->UpdateTiles();
for (size_t i = 0; i < layer->num_tilings(); ++i) {
tile_manager()->InitializeTilesWithResourcesForTesting(
layer->tilings()->tiling_at(i)->AllTilesForTesting());
@@ -396,11 +392,10 @@ class TileManagerPerfTest : public testing::Test {
CreateLayers(layer_count, approximate_tile_count_per_layer);
timer_.Reset();
- bool resourceless_software_draw = false;
do {
host_impl_.AdvanceToNextFrame(base::TimeDelta::FromMilliseconds(1));
for (const auto& layer : layers)
- layer->UpdateTiles(resourceless_software_draw);
+ layer->UpdateTiles();
GlobalStateThatImpactsTilePriority global_state(GlobalStateForTest());
tile_manager()->PrepareTiles(global_state);