| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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/trees/layer_tree_host.h" | 5 #include "cc/trees/layer_tree_host.h" |
| 6 | 6 |
| 7 #include <sstream> | 7 #include <sstream> |
| 8 | 8 |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/path_service.h" | 11 #include "base/path_service.h" |
| 12 #include "base/strings/string_piece.h" | 12 #include "base/strings/string_piece.h" |
| 13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
| 14 #include "cc/debug/lap_timer.h" |
| 14 #include "cc/layers/content_layer.h" | 15 #include "cc/layers/content_layer.h" |
| 15 #include "cc/layers/nine_patch_layer.h" | 16 #include "cc/layers/nine_patch_layer.h" |
| 16 #include "cc/layers/solid_color_layer.h" | 17 #include "cc/layers/solid_color_layer.h" |
| 17 #include "cc/layers/texture_layer.h" | 18 #include "cc/layers/texture_layer.h" |
| 18 #include "cc/resources/texture_mailbox.h" | 19 #include "cc/resources/texture_mailbox.h" |
| 19 #include "cc/test/fake_content_layer_client.h" | 20 #include "cc/test/fake_content_layer_client.h" |
| 20 #include "cc/test/lap_timer.h" | |
| 21 #include "cc/test/layer_tree_json_parser.h" | 21 #include "cc/test/layer_tree_json_parser.h" |
| 22 #include "cc/test/layer_tree_test.h" | 22 #include "cc/test/layer_tree_test.h" |
| 23 #include "cc/test/paths.h" | 23 #include "cc/test/paths.h" |
| 24 #include "cc/trees/layer_tree_impl.h" | 24 #include "cc/trees/layer_tree_impl.h" |
| 25 #include "testing/perf/perf_test.h" | 25 #include "testing/perf/perf_test.h" |
| 26 | 26 |
| 27 namespace cc { | 27 namespace cc { |
| 28 namespace { | 28 namespace { |
| 29 | 29 |
| 30 static const int kTimeLimitMillis = 2000; | 30 static const int kTimeLimitMillis = 2000; |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 326 TEST_F(LayerTreeHostPerfTestJsonReader, HeavyPageThreadedImplSide) { | 326 TEST_F(LayerTreeHostPerfTestJsonReader, HeavyPageThreadedImplSide) { |
| 327 animation_driven_drawing_ = true; | 327 animation_driven_drawing_ = true; |
| 328 measure_commit_cost_ = true; | 328 measure_commit_cost_ = true; |
| 329 SetTestName("heavy_page"); | 329 SetTestName("heavy_page"); |
| 330 ReadTestFile("heavy_layer_tree"); | 330 ReadTestFile("heavy_layer_tree"); |
| 331 RunTestWithImplSidePainting(); | 331 RunTestWithImplSidePainting(); |
| 332 } | 332 } |
| 333 | 333 |
| 334 } // namespace | 334 } // namespace |
| 335 } // namespace cc | 335 } // namespace cc |
| OLD | NEW |