| Index: content/renderer/gpu/compositor_output_surface.h
|
| diff --git a/content/renderer/gpu/compositor_output_surface.h b/content/renderer/gpu/compositor_output_surface.h
|
| index 255c61865d849155a0627ba05e9768fdcf5ac2eb..683744f3484f8d5a0566c8d966741f398450ecef 100644
|
| --- a/content/renderer/gpu/compositor_output_surface.h
|
| +++ b/content/renderer/gpu/compositor_output_surface.h
|
| @@ -29,6 +29,8 @@ class CompositorFrameAck;
|
|
|
| namespace content {
|
|
|
| +class WebGraphicsContext3DCommandBufferImpl;
|
| +
|
| // This class can be created only on the main thread, but then becomes pinned
|
| // to a fixed thread when bindToClient is called.
|
| class CompositorOutputSurface
|
| @@ -39,13 +41,15 @@ class CompositorOutputSurface
|
| base::TaskRunner* target_task_runner);
|
|
|
| CompositorOutputSurface(int32 routing_id,
|
| - WebKit::WebGraphicsContext3D* context3d,
|
| + WebGraphicsContext3DCommandBufferImpl* context3d,
|
| cc::SoftwareOutputDevice* software);
|
| virtual ~CompositorOutputSurface();
|
|
|
| // cc::OutputSurface implementation.
|
| virtual bool BindToClient(cc::OutputSurfaceClient* client) OVERRIDE;
|
| virtual void SendFrameToParentCompositor(cc::CompositorFrame*) OVERRIDE;
|
| + virtual void PostSubBuffer(gfx::Rect rect, const cc::LatencyInfo&) OVERRIDE;
|
| + virtual void SwapBuffers(const cc::LatencyInfo&) OVERRIDE;
|
|
|
| // TODO(epenner): This seems out of place here and would be a better fit
|
| // int CompositorThread after it is fully refactored (http://crbug/170828)
|
|
|