summaryrefslogtreecommitdiffstats
path: root/ppapi/proxy/ppb_graphics_3d_proxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/proxy/ppb_graphics_3d_proxy.h')
-rw-r--r--ppapi/proxy/ppb_graphics_3d_proxy.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.h b/ppapi/proxy/ppb_graphics_3d_proxy.h
index ffda80c..8f6b40f 100644
--- a/ppapi/proxy/ppb_graphics_3d_proxy.h
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.h
@@ -24,6 +24,7 @@ class HostResource;
namespace proxy {
class SerializedHandle;
+class PpapiCommandBufferProxy;
class Graphics3D : public PPB_Graphics3D_Shared {
public:
@@ -52,12 +53,13 @@ class Graphics3D : public PPB_Graphics3D_Shared {
// PPB_Graphics3D_Shared overrides.
virtual gpu::CommandBuffer* GetCommandBuffer() OVERRIDE;
+ virtual gpu::GpuControl* GetGpuControl() OVERRIDE;
virtual int32 DoSwapBuffers() OVERRIDE;
virtual void PushAlreadyLocked() OVERRIDE;
virtual void PopAlreadyLocked() OVERRIDE;
int num_already_locked_calls_;
- scoped_ptr<gpu::CommandBuffer> command_buffer_;
+ scoped_ptr<PpapiCommandBufferProxy> command_buffer_;
scoped_ptr<LockingCommandBuffer> locking_command_buffer_;
DISALLOW_COPY_AND_ASSIGN(Graphics3D);