Index: ppapi/proxy/ppb_graphics_3d_proxy.h |
diff --git a/ppapi/proxy/ppb_graphics_3d_proxy.h b/ppapi/proxy/ppb_graphics_3d_proxy.h |
index c6975bf0d39e5606f23f3006206437183c8e5f83..521d90eb7f6a69caec84e6a630d34f7fa06d7df2 100644 |
--- a/ppapi/proxy/ppb_graphics_3d_proxy.h |
+++ b/ppapi/proxy/ppb_graphics_3d_proxy.h |
@@ -28,7 +28,7 @@ class Graphics3D : public PPB_Graphics3D_Shared { |
explicit Graphics3D(const HostResource& resource); |
virtual ~Graphics3D(); |
- bool Init(); |
+ bool Init(gpu::gles2::GLES2Implementation* share_gles2); |
// Graphics3DTrusted API. These are not implemented in the proxy. |
virtual PP_Bool InitCommandBuffer() OVERRIDE; |
@@ -61,9 +61,10 @@ class PPB_Graphics3D_Proxy : public InterfaceProxy { |
PPB_Graphics3D_Proxy(Dispatcher* dispatcher); |
virtual ~PPB_Graphics3D_Proxy(); |
- static PP_Resource CreateProxyResource(PP_Instance instance, |
- PP_Resource share_context, |
- const int32_t* attrib_list); |
+ static PP_Resource CreateProxyResource( |
+ PP_Instance instance, |
+ PP_Resource share_context, |
+ const int32_t* attrib_list); |
// InterfaceProxy implementation. |
virtual bool OnMessageReceived(const IPC::Message& msg); |
@@ -72,6 +73,7 @@ class PPB_Graphics3D_Proxy : public InterfaceProxy { |
private: |
void OnMsgCreate(PP_Instance instance, |
+ HostResource share_context, |
const std::vector<int32_t>& attribs, |
HostResource* result); |
void OnMsgInitCommandBuffer(const HostResource& context); |