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/debug/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/layer_sorter.h" | 17 #include "cc/trees/layer_sorter.h" |
18 #include "cc/trees/layer_tree_impl.h" | 18 #include "cc/trees/layer_tree_impl.h" |
19 #include "ui/gfx/rect_conversions.h" | 19 #include "ui/gfx/rect_conversions.h" |
20 #include "ui/gfx/transform.h" | 20 #include "ui/gfx/transform.h" |
21 | 21 |
22 namespace cc { | 22 namespace cc { |
23 | 23 |
24 ScrollAndScaleSet::ScrollAndScaleSet() {} | 24 ScrollAndScaleSet::ScrollAndScaleSet() {} |
25 | 25 |
26 ScrollAndScaleSet::~ScrollAndScaleSet() {} | 26 ScrollAndScaleSet::~ScrollAndScaleSet() {} |
27 | 27 |
| 28 LayerTreeHostCommon::DrawTimingInfo::DrawTimingInfo() {} |
| 29 |
| 30 LayerTreeHostCommon::DrawTimingInfo::~DrawTimingInfo() {} |
| 31 |
| 32 DrawTimingSet::DrawTimingSet() {} |
| 33 |
| 34 DrawTimingSet::~DrawTimingSet() {} |
| 35 |
28 static void SortLayers(LayerList::iterator forst, | 36 static void SortLayers(LayerList::iterator forst, |
29 LayerList::iterator end, | 37 LayerList::iterator end, |
30 void* layer_sorter) { | 38 void* layer_sorter) { |
31 NOTREACHED(); | 39 NOTREACHED(); |
32 } | 40 } |
33 | 41 |
34 static void SortLayers(LayerImplList::iterator first, | 42 static void SortLayers(LayerImplList::iterator first, |
35 LayerImplList::iterator end, | 43 LayerImplList::iterator end, |
36 LayerSorter* layer_sorter) { | 44 LayerSorter* layer_sorter) { |
37 DCHECK(layer_sorter); | 45 DCHECK(layer_sorter); |
(...skipping 2447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2485 inputs->current_render_surface_layer_list_id); | 2493 inputs->current_render_surface_layer_list_id); |
2486 | 2494 |
2487 // The dummy layer list should not have been used. | 2495 // The dummy layer list should not have been used. |
2488 DCHECK_EQ(0u, dummy_layer_list.size()); | 2496 DCHECK_EQ(0u, dummy_layer_list.size()); |
2489 // A root layer render_surface should always exist after | 2497 // A root layer render_surface should always exist after |
2490 // CalculateDrawProperties. | 2498 // CalculateDrawProperties. |
2491 DCHECK(inputs->root_layer->render_surface()); | 2499 DCHECK(inputs->root_layer->render_surface()); |
2492 } | 2500 } |
2493 | 2501 |
2494 } // namespace cc | 2502 } // namespace cc |
OLD | NEW |