#ifndef CC_TEST_RENDER_PASS_TEST_COMMON_H_
#define CC_TEST_RENDER_PASS_TEST_COMMON_H_
#include "cc/quads/render_pass.h"
namespace cc {
class ResourceProvider;
}
namespace cc {
class TestRenderPass : public RenderPass {
public:
static scoped_ptr<TestRenderPass> Create() {
return make_scoped_ptr(new TestRenderPass);
}
void AppendQuad(scoped_ptr<DrawQuad> quad);
void AppendSharedQuadState(scoped_ptr<SharedQuadState> state);
void AppendOneOfEveryQuadType(ResourceProvider* resource_provider,
RenderPass::Id child_pass);
protected:
TestRenderPass() : RenderPass() {}
};
}
#endif