| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "cc/layers/picture_layer_impl.h" | 5 #include "cc/layers/picture_layer_impl.h" |
| 6 | 6 |
| 7 #include "cc/debug/lap_timer.h" |
| 7 #include "cc/test/fake_impl_proxy.h" | 8 #include "cc/test/fake_impl_proxy.h" |
| 8 #include "cc/test/fake_layer_tree_host_impl.h" | 9 #include "cc/test/fake_layer_tree_host_impl.h" |
| 9 #include "cc/test/fake_output_surface.h" | 10 #include "cc/test/fake_output_surface.h" |
| 10 #include "cc/test/fake_picture_layer_impl.h" | 11 #include "cc/test/fake_picture_layer_impl.h" |
| 11 #include "cc/test/fake_picture_pile_impl.h" | 12 #include "cc/test/fake_picture_pile_impl.h" |
| 12 #include "cc/test/impl_side_painting_settings.h" | 13 #include "cc/test/impl_side_painting_settings.h" |
| 13 #include "cc/test/lap_timer.h" | |
| 14 #include "cc/test/test_shared_bitmap_manager.h" | 14 #include "cc/test/test_shared_bitmap_manager.h" |
| 15 #include "cc/trees/layer_tree_impl.h" | 15 #include "cc/trees/layer_tree_impl.h" |
| 16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
| 17 #include "testing/perf/perf_test.h" | 17 #include "testing/perf/perf_test.h" |
| 18 | 18 |
| 19 namespace cc { | 19 namespace cc { |
| 20 namespace { | 20 namespace { |
| 21 | 21 |
| 22 static const int kTimeLimitMillis = 2000; | 22 static const int kTimeLimitMillis = 2000; |
| 23 static const int kWarmupRuns = 5; | 23 static const int kWarmupRuns = 5; |
| (...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 pending_layer_->AddTiling(2.0f); | 105 pending_layer_->AddTiling(2.0f); |
| 106 | 106 |
| 107 RunLayerRasterTileIteratorTest("32_100x100", 32, gfx::Size(100, 100)); | 107 RunLayerRasterTileIteratorTest("32_100x100", 32, gfx::Size(100, 100)); |
| 108 RunLayerRasterTileIteratorTest("32_500x500", 32, gfx::Size(500, 500)); | 108 RunLayerRasterTileIteratorTest("32_500x500", 32, gfx::Size(500, 500)); |
| 109 RunLayerRasterTileIteratorTest("64_100x100", 64, gfx::Size(100, 100)); | 109 RunLayerRasterTileIteratorTest("64_100x100", 64, gfx::Size(100, 100)); |
| 110 RunLayerRasterTileIteratorTest("64_500x500", 64, gfx::Size(500, 500)); | 110 RunLayerRasterTileIteratorTest("64_500x500", 64, gfx::Size(500, 500)); |
| 111 } | 111 } |
| 112 | 112 |
| 113 } // namespace | 113 } // namespace |
| 114 } // namespace cc | 114 } // namespace cc |
| OLD | NEW |