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/trees/occlusion_tracker.h" | 5 #include "cc/trees/occlusion_tracker.h" |
6 | 6 |
7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
| 8 #include "cc/debug/lap_timer.h" |
8 #include "cc/layers/layer_iterator.h" | 9 #include "cc/layers/layer_iterator.h" |
9 #include "cc/layers/solid_color_layer_impl.h" | 10 #include "cc/layers/solid_color_layer_impl.h" |
10 #include "cc/test/fake_layer_tree_host_impl_client.h" | 11 #include "cc/test/fake_layer_tree_host_impl_client.h" |
11 #include "cc/test/fake_output_surface.h" | 12 #include "cc/test/fake_output_surface.h" |
12 #include "cc/test/fake_proxy.h" | 13 #include "cc/test/fake_proxy.h" |
13 #include "cc/test/fake_rendering_stats_instrumentation.h" | 14 #include "cc/test/fake_rendering_stats_instrumentation.h" |
14 #include "cc/test/lap_timer.h" | |
15 #include "cc/test/test_shared_bitmap_manager.h" | 15 #include "cc/test/test_shared_bitmap_manager.h" |
16 #include "cc/trees/layer_tree_host_impl.h" | 16 #include "cc/trees/layer_tree_host_impl.h" |
17 #include "cc/trees/layer_tree_impl.h" | 17 #include "cc/trees/layer_tree_impl.h" |
18 #include "cc/trees/single_thread_proxy.h" | 18 #include "cc/trees/single_thread_proxy.h" |
19 #include "testing/gtest/include/gtest/gtest.h" | 19 #include "testing/gtest/include/gtest/gtest.h" |
20 #include "testing/perf/perf_test.h" | 20 #include "testing/perf/perf_test.h" |
21 | 21 |
22 namespace cc { | 22 namespace cc { |
23 namespace { | 23 namespace { |
24 | 24 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 EXPECT_EQ(active_tree()->root_layer(), next.current_layer); | 201 EXPECT_EQ(active_tree()->root_layer(), next.current_layer); |
202 | 202 |
203 ++begin; | 203 ++begin; |
204 EXPECT_EQ(end, begin); | 204 EXPECT_EQ(end, begin); |
205 | 205 |
206 PrintResults(); | 206 PrintResults(); |
207 } | 207 } |
208 | 208 |
209 } // namespace | 209 } // namespace |
210 } // namespace cc | 210 } // namespace cc |
OLD | NEW |