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/trees/layer_tree_host_impl.h" | 5 #include "cc/trees/layer_tree_host_impl.h" |
6 | 6 |
7 #include <cmath> | 7 #include <cmath> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
11 #include "base/hash_tables.h" | 11 #include "base/hash_tables.h" |
12 #include "cc/base/math_util.h" | 12 #include "cc/base/math_util.h" |
13 #include "cc/input/top_controls_manager.h" | 13 #include "cc/input/top_controls_manager.h" |
14 #include "cc/layers/delegated_renderer_layer_impl.h" | 14 #include "cc/layers/delegated_renderer_layer_impl.h" |
15 #include "cc/layers/heads_up_display_layer_impl.h" | 15 #include "cc/layers/heads_up_display_layer_impl.h" |
16 #include "cc/layers/io_surface_layer_impl.h" | 16 #include "cc/layers/io_surface_layer_impl.h" |
17 #include "cc/layers/layer_impl.h" | 17 #include "cc/layers/layer_impl.h" |
18 #include "cc/layers/quad_sink.h" | 18 #include "cc/layers/quad_sink.h" |
| 19 #include "cc/layers/render_surface_impl.h" |
19 #include "cc/layers/scrollbar_geometry_fixed_thumb.h" | 20 #include "cc/layers/scrollbar_geometry_fixed_thumb.h" |
20 #include "cc/layers/scrollbar_layer_impl.h" | 21 #include "cc/layers/scrollbar_layer_impl.h" |
21 #include "cc/layers/solid_color_layer_impl.h" | 22 #include "cc/layers/solid_color_layer_impl.h" |
22 #include "cc/layers/texture_layer_impl.h" | 23 #include "cc/layers/texture_layer_impl.h" |
23 #include "cc/layers/tiled_layer_impl.h" | 24 #include "cc/layers/tiled_layer_impl.h" |
24 #include "cc/layers/video_layer_impl.h" | 25 #include "cc/layers/video_layer_impl.h" |
25 #include "cc/output/compositor_frame_metadata.h" | 26 #include "cc/output/compositor_frame_metadata.h" |
26 #include "cc/output/gl_renderer.h" | 27 #include "cc/output/gl_renderer.h" |
27 #include "cc/quads/render_pass_draw_quad.h" | 28 #include "cc/quads/render_pass_draw_quad.h" |
28 #include "cc/quads/solid_color_draw_quad.h" | 29 #include "cc/quads/solid_color_draw_quad.h" |
(...skipping 4959 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4988 EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), | 4989 EXPECT_EQ(gfx::RectF(0.f, 0.f, 1.f, 1.f).ToString(), |
4989 render_pass_quad->mask_uv_rect.ToString()); | 4990 render_pass_quad->mask_uv_rect.ToString()); |
4990 | 4991 |
4991 host_impl_->DrawLayers(&frame, base::TimeTicks::Now()); | 4992 host_impl_->DrawLayers(&frame, base::TimeTicks::Now()); |
4992 host_impl_->DidDrawAllLayers(frame); | 4993 host_impl_->DidDrawAllLayers(frame); |
4993 } | 4994 } |
4994 } | 4995 } |
4995 | 4996 |
4996 } // namespace | 4997 } // namespace |
4997 } // namespace cc | 4998 } // namespace cc |
OLD | NEW |