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/occlusion_tracker.h" | 5 #include "cc/trees/occlusion_tracker.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include "cc/animation/animation_host.h" | 9 #include "cc/animation/animation_host.h" |
| 10 #include "cc/base/filter_operation.h" |
| 11 #include "cc/base/filter_operations.h" |
10 #include "cc/base/math_util.h" | 12 #include "cc/base/math_util.h" |
11 #include "cc/layers/layer.h" | 13 #include "cc/layers/layer.h" |
12 #include "cc/layers/layer_impl.h" | 14 #include "cc/layers/layer_impl.h" |
13 #include "cc/output/copy_output_request.h" | 15 #include "cc/output/copy_output_request.h" |
14 #include "cc/output/copy_output_result.h" | 16 #include "cc/output/copy_output_result.h" |
15 #include "cc/output/filter_operation.h" | |
16 #include "cc/output/filter_operations.h" | |
17 #include "cc/test/animation_test_common.h" | 17 #include "cc/test/animation_test_common.h" |
18 #include "cc/test/fake_impl_task_runner_provider.h" | 18 #include "cc/test/fake_impl_task_runner_provider.h" |
19 #include "cc/test/fake_layer_tree_host.h" | 19 #include "cc/test/fake_layer_tree_host.h" |
20 #include "cc/test/fake_layer_tree_host_impl.h" | 20 #include "cc/test/fake_layer_tree_host_impl.h" |
21 #include "cc/test/geometry_test_utils.h" | 21 #include "cc/test/geometry_test_utils.h" |
22 #include "cc/test/test_occlusion_tracker.h" | 22 #include "cc/test/test_occlusion_tracker.h" |
23 #include "cc/test/test_task_graph_runner.h" | 23 #include "cc/test/test_task_graph_runner.h" |
24 #include "cc/trees/layer_tree_host_common.h" | 24 #include "cc/trees/layer_tree_host_common.h" |
25 #include "cc/trees/single_thread_proxy.h" | 25 #include "cc/trees/single_thread_proxy.h" |
26 #include "testing/gmock/include/gmock/gmock.h" | 26 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 2398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2425 EXPECT_EQ(gfx::Rect(), | 2425 EXPECT_EQ(gfx::Rect(), |
2426 occlusion.UnoccludedSurfaceContentRect( | 2426 occlusion.UnoccludedSurfaceContentRect( |
2427 surface, gfx::Rect(80, 70, 50, 50))); | 2427 surface, gfx::Rect(80, 70, 50, 50))); |
2428 } | 2428 } |
2429 }; | 2429 }; |
2430 | 2430 |
2431 ALL_OCCLUSIONTRACKER_TEST(OcclusionTrackerTestUnoccludedSurfaceQuery) | 2431 ALL_OCCLUSIONTRACKER_TEST(OcclusionTrackerTestUnoccludedSurfaceQuery) |
2432 | 2432 |
2433 } // namespace | 2433 } // namespace |
2434 } // namespace cc | 2434 } // namespace cc |
OLD | NEW |