| Index: cc/test/fake_output_surface.h
|
| diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
|
| index d843ccab131e7958e1189c7a703aecd536c918fa..70e79b161fa48816ce75e02a16d2c1bc5758ca12 100644
|
| --- a/cc/test/fake_output_surface.h
|
| +++ b/cc/test/fake_output_surface.h
|
| @@ -23,6 +23,14 @@ class FakeOutputSurface : public OutputSurface {
|
| return make_scoped_ptr(new FakeOutputSurface(context3d.Pass(), false));
|
| }
|
|
|
| + static inline scoped_ptr<FakeOutputSurface> Create3d() {
|
| + scoped_ptr<WebKit::WebGraphicsContext3D> context3d =
|
| + FakeWebGraphicsContext3D::Create(
|
| + WebKit::WebGraphicsContext3D::Attributes())
|
| + .PassAs<WebKit::WebGraphicsContext3D>();
|
| + return make_scoped_ptr(new FakeOutputSurface(context3d.Pass(), false));
|
| + }
|
| +
|
| static inline scoped_ptr<FakeOutputSurface> CreateSoftware(
|
| scoped_ptr<SoftwareOutputDevice> software_device) {
|
| return make_scoped_ptr(
|
| @@ -34,6 +42,14 @@ class FakeOutputSurface : public OutputSurface {
|
| return make_scoped_ptr(new FakeOutputSurface(context3d.Pass(), true));
|
| }
|
|
|
| + static inline scoped_ptr<FakeOutputSurface> CreateDelegating3d() {
|
| + scoped_ptr<WebKit::WebGraphicsContext3D> context3d =
|
| + FakeWebGraphicsContext3D::Create(
|
| + WebKit::WebGraphicsContext3D::Attributes())
|
| + .PassAs<WebKit::WebGraphicsContext3D>();
|
| + return make_scoped_ptr(new FakeOutputSurface(context3d.Pass(), true));
|
| + }
|
| +
|
| static inline scoped_ptr<FakeOutputSurface> CreateDelegatingSoftware(
|
| scoped_ptr<SoftwareOutputDevice> software_device) {
|
| return make_scoped_ptr(
|
|
|