OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/debug/lap_timer.h" | 5 #include "cc/debug/lap_timer.h" |
6 #include "cc/resources/picture_layer_tiling.h" | |
7 #include "cc/resources/resource_provider.h" | 6 #include "cc/resources/resource_provider.h" |
8 #include "cc/resources/scoped_resource.h" | 7 #include "cc/resources/scoped_resource.h" |
9 #include "cc/test/fake_output_surface.h" | 8 #include "cc/test/fake_output_surface.h" |
10 #include "cc/test/fake_output_surface_client.h" | 9 #include "cc/test/fake_output_surface_client.h" |
11 #include "cc/test/fake_picture_layer_tiling_client.h" | 10 #include "cc/test/fake_picture_layer_tiling_client.h" |
12 #include "cc/test/fake_picture_pile_impl.h" | 11 #include "cc/test/fake_picture_pile_impl.h" |
13 #include "cc/test/test_context_provider.h" | 12 #include "cc/test/test_context_provider.h" |
14 #include "cc/test/test_shared_bitmap_manager.h" | 13 #include "cc/test/test_shared_bitmap_manager.h" |
| 14 #include "cc/tiles/picture_layer_tiling.h" |
15 | 15 |
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 | 20 |
21 namespace { | 21 namespace { |
22 | 22 |
23 static const int kTimeLimitMillis = 2000; | 23 static const int kTimeLimitMillis = 2000; |
24 static const int kWarmupRuns = 5; | 24 static const int kWarmupRuns = 5; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 RunComputeTilePriorityRectsStationaryTest("rotation", transform); | 165 RunComputeTilePriorityRectsStationaryTest("rotation", transform); |
166 RunComputeTilePriorityRectsScrollingTest("rotation", transform); | 166 RunComputeTilePriorityRectsScrollingTest("rotation", transform); |
167 | 167 |
168 transform.ApplyPerspectiveDepth(10); | 168 transform.ApplyPerspectiveDepth(10); |
169 RunComputeTilePriorityRectsStationaryTest("perspective", transform); | 169 RunComputeTilePriorityRectsStationaryTest("perspective", transform); |
170 RunComputeTilePriorityRectsScrollingTest("perspective", transform); | 170 RunComputeTilePriorityRectsScrollingTest("perspective", transform); |
171 } | 171 } |
172 | 172 |
173 } // namespace | 173 } // namespace |
174 } // namespace cc | 174 } // namespace cc |
OLD | NEW |