#ifndef CC_TEST_PIXEL_TEST_OUTPUT_SURFACE_H_
#define CC_TEST_PIXEL_TEST_OUTPUT_SURFACE_H_
#include "cc/output/output_surface.h"
namespace cc {
class PixelTestOutputSurface : public OutputSurface {
public:
explicit PixelTestOutputSurface(
scoped_refptr<ContextProvider> context_provider);
explicit PixelTestOutputSurface(
scoped_ptr<SoftwareOutputDevice> software_device);
virtual void Reshape(const gfx::Size& size, float scale_factor) OVERRIDE;
virtual bool HasExternalStencilTest() const OVERRIDE;
void set_surface_expansion_size(const gfx::Size& surface_expansion_size) {
surface_expansion_size_ = surface_expansion_size;
}
void set_has_external_stencil_test(bool has_test) {
external_stencil_test_ = has_test;
}
private:
gfx::Size surface_expansion_size_;
bool external_stencil_test_;
};
}
#endif