| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CC_OUTPUT_BSP_TREE_H_ | 5 #ifndef CC_OUTPUT_BSP_TREE_H_ |
| 6 #define CC_OUTPUT_BSP_TREE_H_ | 6 #define CC_OUTPUT_BSP_TREE_H_ |
| 7 | 7 |
| 8 #include <list> | |
| 9 #include <vector> | 8 #include <vector> |
| 10 | 9 |
| 11 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| 12 #include "cc/base/scoped_ptr_deque.h" | 11 #include "cc/base/scoped_ptr_deque.h" |
| 13 #include "cc/base/scoped_ptr_vector.h" | 12 #include "cc/base/scoped_ptr_vector.h" |
| 14 #include "cc/output/bsp_compare_result.h" | 13 #include "cc/output/bsp_compare_result.h" |
| 15 #include "cc/quads/draw_polygon.h" | 14 #include "cc/quads/draw_polygon.h" |
| 16 | 15 |
| 17 namespace cc { | 16 namespace cc { |
| 18 | 17 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 static BspCompareResult GetNodePositionRelative(const DrawPolygon& node_a, | 105 static BspCompareResult GetNodePositionRelative(const DrawPolygon& node_a, |
| 107 const DrawPolygon& node_b); | 106 const DrawPolygon& node_b); |
| 108 // Returns whether or not our viewer is in front of or behind the plane | 107 // Returns whether or not our viewer is in front of or behind the plane |
| 109 // defined by this polygon/node | 108 // defined by this polygon/node |
| 110 static BspCompareResult GetCameraPositionRelative(const DrawPolygon& node); | 109 static BspCompareResult GetCameraPositionRelative(const DrawPolygon& node); |
| 111 }; | 110 }; |
| 112 | 111 |
| 113 } // namespace cc | 112 } // namespace cc |
| 114 | 113 |
| 115 #endif // CC_OUTPUT_BSP_TREE_H_ | 114 #endif // CC_OUTPUT_BSP_TREE_H_ |
| OLD | NEW |