| 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/debug/lap_timer.h" |
| 15 #include "cc/layers/content_layer.h" | 15 #include "cc/layers/content_layer.h" |
| 16 #include "cc/layers/nine_patch_layer.h" | 16 #include "cc/layers/nine_patch_layer.h" |
| 17 #include "cc/layers/solid_color_layer.h" | 17 #include "cc/layers/solid_color_layer.h" |
| 18 #include "cc/layers/texture_layer.h" | 18 #include "cc/layers/texture_layer.h" |
| 19 #include "cc/resources/single_release_callback.h" |
| 19 #include "cc/resources/texture_mailbox.h" | 20 #include "cc/resources/texture_mailbox.h" |
| 20 #include "cc/test/fake_content_layer_client.h" | 21 #include "cc/test/fake_content_layer_client.h" |
| 21 #include "cc/test/layer_tree_json_parser.h" | 22 #include "cc/test/layer_tree_json_parser.h" |
| 22 #include "cc/test/layer_tree_test.h" | 23 #include "cc/test/layer_tree_test.h" |
| 23 #include "cc/test/paths.h" | 24 #include "cc/test/paths.h" |
| 24 #include "cc/trees/layer_tree_impl.h" | 25 #include "cc/trees/layer_tree_impl.h" |
| 25 #include "testing/perf/perf_test.h" | 26 #include "testing/perf/perf_test.h" |
| 26 | 27 |
| 27 namespace cc { | 28 namespace cc { |
| 28 namespace { | 29 namespace { |
| (...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 TEST_F(LayerTreeHostPerfTestJsonReader, HeavyPageThreadedImplSide) { | 330 TEST_F(LayerTreeHostPerfTestJsonReader, HeavyPageThreadedImplSide) { |
| 330 begin_frame_driven_drawing_ = true; | 331 begin_frame_driven_drawing_ = true; |
| 331 measure_commit_cost_ = true; | 332 measure_commit_cost_ = true; |
| 332 SetTestName("heavy_page"); | 333 SetTestName("heavy_page"); |
| 333 ReadTestFile("heavy_layer_tree"); | 334 ReadTestFile("heavy_layer_tree"); |
| 334 RunTestWithImplSidePainting(); | 335 RunTestWithImplSidePainting(); |
| 335 } | 336 } |
| 336 | 337 |
| 337 } // namespace | 338 } // namespace |
| 338 } // namespace cc | 339 } // namespace cc |
| OLD | NEW |