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_common.h" | 5 #include "cc/trees/layer_tree_host_common.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "base/debug/trace_event.h" | 9 #include "base/trace_event/trace_event.h" |
10 #include "cc/base/math_util.h" | 10 #include "cc/base/math_util.h" |
11 #include "cc/layers/heads_up_display_layer_impl.h" | 11 #include "cc/layers/heads_up_display_layer_impl.h" |
12 #include "cc/layers/layer.h" | 12 #include "cc/layers/layer.h" |
13 #include "cc/layers/layer_impl.h" | 13 #include "cc/layers/layer_impl.h" |
14 #include "cc/layers/layer_iterator.h" | 14 #include "cc/layers/layer_iterator.h" |
15 #include "cc/layers/render_surface.h" | 15 #include "cc/layers/render_surface.h" |
16 #include "cc/layers/render_surface_impl.h" | 16 #include "cc/layers/render_surface_impl.h" |
17 #include "cc/trees/draw_property_utils.h" | 17 #include "cc/trees/draw_property_utils.h" |
18 #include "cc/trees/layer_sorter.h" | 18 #include "cc/trees/layer_sorter.h" |
19 #include "cc/trees/layer_tree_host.h" | 19 #include "cc/trees/layer_tree_host.h" |
(...skipping 2544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2564 inputs->current_render_surface_layer_list_id); | 2564 inputs->current_render_surface_layer_list_id); |
2565 | 2565 |
2566 // The dummy layer list should not have been used. | 2566 // The dummy layer list should not have been used. |
2567 DCHECK_EQ(0u, dummy_layer_list.size()); | 2567 DCHECK_EQ(0u, dummy_layer_list.size()); |
2568 // A root layer render_surface should always exist after | 2568 // A root layer render_surface should always exist after |
2569 // CalculateDrawProperties. | 2569 // CalculateDrawProperties. |
2570 DCHECK(inputs->root_layer->render_surface()); | 2570 DCHECK(inputs->root_layer->render_surface()); |
2571 } | 2571 } |
2572 | 2572 |
2573 } // namespace cc | 2573 } // namespace cc |
OLD | NEW |