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_QUADS_DRAW_POLYGON_H_ | 5 #ifndef CC_QUADS_DRAW_POLYGON_H_ |
6 #define CC_QUADS_DRAW_POLYGON_H_ | 6 #define CC_QUADS_DRAW_POLYGON_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "cc/base/math_util.h" | 10 #include "cc/base/math_util.h" |
| 11 #include "cc/cc_export.h" |
11 #include "cc/output/bsp_compare_result.h" | 12 #include "cc/output/bsp_compare_result.h" |
12 #include "ui/gfx/geometry/point3_f.h" | 13 #include "ui/gfx/geometry/point3_f.h" |
13 #include "ui/gfx/geometry/quad_f.h" | 14 #include "ui/gfx/geometry/quad_f.h" |
14 #include "ui/gfx/geometry/rect_f.h" | 15 #include "ui/gfx/geometry/rect_f.h" |
15 #include "ui/gfx/geometry/vector3d_f.h" | 16 #include "ui/gfx/geometry/vector3d_f.h" |
16 #include "ui/gfx/transform.h" | 17 #include "ui/gfx/transform.h" |
17 | 18 |
18 namespace cc { | 19 namespace cc { |
19 | 20 |
20 class DrawQuad; | 21 class DrawQuad; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // we need. | 79 // we need. |
79 // This DrawQuad is owned by the caller and its lifetime must be preserved | 80 // This DrawQuad is owned by the caller and its lifetime must be preserved |
80 // as long as this DrawPolygon is alive. | 81 // as long as this DrawPolygon is alive. |
81 const DrawQuad* original_ref_; | 82 const DrawQuad* original_ref_; |
82 bool is_split_; | 83 bool is_split_; |
83 }; | 84 }; |
84 | 85 |
85 } // namespace cc | 86 } // namespace cc |
86 | 87 |
87 #endif // CC_QUADS_DRAW_POLYGON_H_ | 88 #endif // CC_QUADS_DRAW_POLYGON_H_ |
OLD | NEW |