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