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/quad_culler.h" | 5 #include "cc/trees/quad_culler.h" |
6 | 6 |
7 #include "cc/append_quads_data.h" | |
8 #include "cc/debug/debug_colors.h" | 7 #include "cc/debug/debug_colors.h" |
9 #include "cc/debug/overdraw_metrics.h" | 8 #include "cc/debug/overdraw_metrics.h" |
10 #include "cc/layer_impl.h" | 9 #include "cc/layers/append_quads_data.h" |
| 10 #include "cc/layers/layer_impl.h" |
11 #include "cc/quads/debug_border_draw_quad.h" | 11 #include "cc/quads/debug_border_draw_quad.h" |
12 #include "cc/quads/render_pass.h" | 12 #include "cc/quads/render_pass.h" |
13 #include "cc/trees/occlusion_tracker.h" | 13 #include "cc/trees/occlusion_tracker.h" |
14 #include "third_party/skia/include/core/SkColor.h" | 14 #include "third_party/skia/include/core/SkColor.h" |
15 #include "ui/gfx/transform.h" | 15 #include "ui/gfx/transform.h" |
16 | 16 |
17 namespace cc { | 17 namespace cc { |
18 | 18 |
19 QuadCuller::QuadCuller(QuadList* quad_list, | 19 QuadCuller::QuadCuller(QuadList* quad_list, |
20 SharedQuadStateList* shared_quad_state_list, | 20 SharedQuadStateList* shared_quad_state_list, |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 | 109 |
110 return AppendQuadInternal(draw_quad.Pass(), | 110 return AppendQuadInternal(draw_quad.Pass(), |
111 culled_rect, | 111 culled_rect, |
112 quad_list_, | 112 quad_list_, |
113 occlusion_tracker_, | 113 occlusion_tracker_, |
114 layer_, | 114 layer_, |
115 show_culling_with_debug_border_quads_); | 115 show_culling_with_debug_border_quads_); |
116 } | 116 } |
117 | 117 |
118 } // namespace cc | 118 } // namespace cc |
OLD | NEW |