| Index: cc/test/fake_output_surface.h
|
| diff --git a/cc/test/fake_output_surface.h b/cc/test/fake_output_surface.h
|
| index 0cfb41f59f932bf3461f2d04faba459407f6dfd0..a2dd67cdbff7bfa08475dc794668cc8089cda5ac 100644
|
| --- a/cc/test/fake_output_surface.h
|
| +++ b/cc/test/fake_output_surface.h
|
| @@ -24,6 +24,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(
|
| @@ -35,6 +43,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(
|
|
|