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 #ifndef CCLayerSorter_h | 5 #ifndef CCLayerSorter_h |
6 #define CCLayerSorter_h | 6 #define CCLayerSorter_h |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/hash_tables.h" | |
10 #include "CCLayerImpl.h" | |
11 #include "FloatPoint3D.h" | 8 #include "FloatPoint3D.h" |
12 #include "FloatQuad.h" | 9 #include "FloatQuad.h" |
13 #include "FloatRect.h" | 10 #include "FloatRect.h" |
| 11 #include "base/basictypes.h" |
| 12 #include "base/hash_tables.h" |
| 13 #include "cc/layer_impl.h" |
14 | 14 |
15 #if defined(COMPILER_GCC) | 15 #if defined(COMPILER_GCC) |
16 namespace cc | 16 namespace cc |
17 { | 17 { |
18 struct GraphEdge; | 18 struct GraphEdge; |
19 }; | 19 }; |
20 | 20 |
21 namespace BASE_HASH_NAMESPACE { | 21 namespace BASE_HASH_NAMESPACE { |
22 template<> | 22 template<> |
23 struct hash<cc::GraphEdge*> { | 23 struct hash<cc::GraphEdge*> { |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 void createGraphNodes(LayerList::iterator first, LayerList::iterator last); | 105 void createGraphNodes(LayerList::iterator first, LayerList::iterator last); |
106 void createGraphEdges(); | 106 void createGraphEdges(); |
107 void removeEdgeFromList(GraphEdge*, std::vector<GraphEdge*>&); | 107 void removeEdgeFromList(GraphEdge*, std::vector<GraphEdge*>&); |
108 | 108 |
109 DISALLOW_COPY_AND_ASSIGN(CCLayerSorter); | 109 DISALLOW_COPY_AND_ASSIGN(CCLayerSorter); |
110 }; | 110 }; |
111 | 111 |
112 } | 112 } |
113 #endif | 113 #endif |
OLD | NEW |