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/delegated_renderer_layer_impl.h" | 5 #include "cc/delegated_renderer_layer_impl.h" |
6 | 6 |
7 #include "cc/append_quads_data.h" | 7 #include "cc/append_quads_data.h" |
| 8 #include "cc/base/scoped_ptr_vector.h" |
8 #include "cc/layer_tree_host_impl.h" | 9 #include "cc/layer_tree_host_impl.h" |
9 #include "cc/layer_tree_impl.h" | 10 #include "cc/layer_tree_impl.h" |
10 #include "cc/quad_sink.h" | 11 #include "cc/quad_sink.h" |
11 #include "cc/render_pass_draw_quad.h" | 12 #include "cc/render_pass_draw_quad.h" |
12 #include "cc/scoped_ptr_vector.h" | |
13 #include "cc/single_thread_proxy.h" | 13 #include "cc/single_thread_proxy.h" |
14 #include "cc/solid_color_draw_quad.h" | 14 #include "cc/solid_color_draw_quad.h" |
15 #include "cc/solid_color_layer_impl.h" | 15 #include "cc/solid_color_layer_impl.h" |
16 #include "cc/test/fake_delegated_renderer_layer_impl.h" | 16 #include "cc/test/fake_delegated_renderer_layer_impl.h" |
17 #include "cc/test/fake_layer_tree_host_impl.h" | 17 #include "cc/test/fake_layer_tree_host_impl.h" |
18 #include "cc/test/fake_layer_tree_host_impl_client.h" | 18 #include "cc/test/fake_layer_tree_host_impl_client.h" |
19 #include "cc/test/fake_output_surface.h" | 19 #include "cc/test/fake_output_surface.h" |
20 #include "cc/test/fake_proxy.h" | 20 #include "cc/test/fake_proxy.h" |
21 #include "cc/test/geometry_test_utils.h" | 21 #include "cc/test/geometry_test_utils.h" |
22 #include "cc/test/mock_quad_culler.h" | 22 #include "cc/test/mock_quad_culler.h" |
(...skipping 1223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1246 root_delegated_shared_quad_state->clip_rect.ToString()); | 1246 root_delegated_shared_quad_state->clip_rect.ToString()); |
1247 // Quads came with a clip rect. | 1247 // Quads came with a clip rect. |
1248 EXPECT_TRUE(root_delegated_shared_quad_state->is_clipped); | 1248 EXPECT_TRUE(root_delegated_shared_quad_state->is_clipped); |
1249 | 1249 |
1250 host_impl_->DrawLayers(&frame); | 1250 host_impl_->DrawLayers(&frame); |
1251 host_impl_->DidDrawAllLayers(frame); | 1251 host_impl_->DidDrawAllLayers(frame); |
1252 } | 1252 } |
1253 | 1253 |
1254 } // namespace | 1254 } // namespace |
1255 } // namespace cc | 1255 } // namespace cc |
OLD | NEW |