| Index: cc/quads/draw_polygon.h
|
| diff --git a/cc/quads/draw_polygon.h b/cc/quads/draw_polygon.h
|
| index c4dfa13908082a8c4c6dfe64d7b6d672deb75b4b..8e65ea81a88693990cc8c08e88e8d58321fe6b8e 100644
|
| --- a/cc/quads/draw_polygon.h
|
| +++ b/cc/quads/draw_polygon.h
|
| @@ -9,13 +9,16 @@
|
|
|
| #include "cc/base/math_util.h"
|
| #include "cc/output/bsp_compare_result.h"
|
| -#include "cc/quads/draw_quad.h"
|
| #include "ui/gfx/point3_f.h"
|
| #include "ui/gfx/quad_f.h"
|
| +#include "ui/gfx/rect_f.h"
|
| +#include "ui/gfx/transform.h"
|
| #include "ui/gfx/vector3d_f.h"
|
|
|
| namespace cc {
|
|
|
| +class DrawQuad;
|
| +
|
| class CC_EXPORT DrawPolygon {
|
| public:
|
| DrawPolygon();
|
| @@ -25,6 +28,10 @@ class CC_EXPORT DrawPolygon {
|
| const std::vector<gfx::Point3F>& in_points,
|
| const gfx::Vector3dF& normal,
|
| int draw_order_index = 0);
|
| + DrawPolygon(DrawQuad* original_ref,
|
| + const gfx::RectF& visible_content_rect,
|
| + const gfx::Transform& transform,
|
| + int draw_order_index = 0);
|
|
|
| // Split takes this DrawPolygon and splits it into two pieces that are on
|
| // either side of |splitter|. Any edges of this polygon that cross the plane
|
|
|