OLD | NEW |
1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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/layers/layer.h" | 5 #include "cc/layers/layer.h" |
6 | 6 |
7 #include "base/thread_task_runner_handle.h" | 7 #include "base/thread_task_runner_handle.h" |
8 #include "cc/animation/keyframed_animation_curve.h" | 8 #include "cc/animation/keyframed_animation_curve.h" |
9 #include "cc/base/math_util.h" | 9 #include "cc/base/math_util.h" |
10 #include "cc/layers/layer_impl.h" | 10 #include "cc/layers/layer_impl.h" |
| 11 #include "cc/layers/layer_settings.h" |
11 #include "cc/output/copy_output_request.h" | 12 #include "cc/output/copy_output_request.h" |
12 #include "cc/output/copy_output_result.h" | 13 #include "cc/output/copy_output_result.h" |
13 #include "cc/proto/layer.pb.h" | 14 #include "cc/proto/layer.pb.h" |
14 #include "cc/test/animation_test_common.h" | 15 #include "cc/test/animation_test_common.h" |
15 #include "cc/test/fake_impl_task_runner_provider.h" | 16 #include "cc/test/fake_impl_task_runner_provider.h" |
16 #include "cc/test/fake_layer_tree_host_client.h" | 17 #include "cc/test/fake_layer_tree_host_client.h" |
17 #include "cc/test/fake_layer_tree_host_impl.h" | 18 #include "cc/test/fake_layer_tree_host_impl.h" |
18 #include "cc/test/geometry_test_utils.h" | 19 #include "cc/test/geometry_test_utils.h" |
19 #include "cc/test/layer_test_common.h" | 20 #include "cc/test/layer_test_common.h" |
20 #include "cc/test/test_gpu_memory_buffer_manager.h" | 21 #include "cc/test/test_gpu_memory_buffer_manager.h" |
(...skipping 1676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1697 | 1698 |
1698 properties.set_needs_push_properties(true); | 1699 properties.set_needs_push_properties(true); |
1699 properties.mutable_base(); | 1700 properties.mutable_base(); |
1700 layer->FromLayerPropertiesProto(properties); | 1701 layer->FromLayerPropertiesProto(properties); |
1701 EXPECT_TRUE(layer->needs_push_properties()); | 1702 EXPECT_TRUE(layer->needs_push_properties()); |
1702 EXPECT_FALSE(layer->descendant_needs_push_properties()); | 1703 EXPECT_FALSE(layer->descendant_needs_push_properties()); |
1703 } | 1704 } |
1704 | 1705 |
1705 } // namespace | 1706 } // namespace |
1706 } // namespace cc | 1707 } // namespace cc |
OLD | NEW |