Index: cc/output/bsp_walk_action.h |
diff --git a/cc/output/bsp_walk_action.h b/cc/output/bsp_walk_action.h |
index bb3186542076c76613f06a6c174a0a39951898b3..3f8045a0b2d223303953dc80d4f8b743c85bb8bc 100644 |
--- a/cc/output/bsp_walk_action.h |
+++ b/cc/output/bsp_walk_action.h |
@@ -20,6 +20,22 @@ class CC_EXPORT BspWalkAction { |
// The BspTree class takes ownership of all the DrawPolygons returned in list_ |
// so the BspTree must be preserved while elements in that vector are in use. |
+class CC_EXPORT BspWalkActionDrawPolygon : public BspWalkAction { |
+ public: |
+ virtual void operator()(DrawPolygon* item)OVERRIDE; |
+ |
+ BspWalkActionDrawPolygon(DirectRenderer* renderer, |
+ DirectRenderer::DrawingFrame* frame, |
+ const gfx::Rect& render_pass_scissor, |
+ bool using_scissor_as_optimization); |
+ |
+ private: |
+ DirectRenderer* renderer_; |
+ DirectRenderer::DrawingFrame* frame_; |
+ const gfx::Rect& render_pass_scissor_; |
+ bool using_scissor_as_optimization_; |
+}; |
+ |
class CC_EXPORT BspWalkActionToVector : public BspWalkAction { |
public: |
explicit BspWalkActionToVector(std::vector<DrawPolygon*>* in_list); |