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 <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "base/thread_task_runner_handle.h" | 9 #include "base/threading/thread_task_runner_handle.h" |
10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
11 #include "cc/debug/lap_timer.h" | 11 #include "cc/debug/lap_timer.h" |
12 #include "cc/layers/layer_iterator.h" | 12 #include "cc/layers/layer_iterator.h" |
13 #include "cc/layers/solid_color_layer_impl.h" | 13 #include "cc/layers/solid_color_layer_impl.h" |
14 #include "cc/test/fake_impl_task_runner_provider.h" | 14 #include "cc/test/fake_impl_task_runner_provider.h" |
15 #include "cc/test/fake_layer_tree_host_impl_client.h" | 15 #include "cc/test/fake_layer_tree_host_impl_client.h" |
16 #include "cc/test/fake_output_surface.h" | 16 #include "cc/test/fake_output_surface.h" |
17 #include "cc/test/fake_proxy.h" | 17 #include "cc/test/fake_proxy.h" |
18 #include "cc/test/fake_rendering_stats_instrumentation.h" | 18 #include "cc/test/fake_rendering_stats_instrumentation.h" |
19 #include "cc/test/test_shared_bitmap_manager.h" | 19 #include "cc/test/test_shared_bitmap_manager.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 EXPECT_EQ(active_tree()->root_layer(), next.current_layer); | 209 EXPECT_EQ(active_tree()->root_layer(), next.current_layer); |
210 | 210 |
211 ++begin; | 211 ++begin; |
212 EXPECT_EQ(end, begin); | 212 EXPECT_EQ(end, begin); |
213 | 213 |
214 PrintResults(); | 214 PrintResults(); |
215 } | 215 } |
216 | 216 |
217 } // namespace | 217 } // namespace |
218 } // namespace cc | 218 } // namespace cc |
OLD | NEW |