summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h')
-rw-r--r--content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index 31a5c81..7b0755b 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -24,6 +24,7 @@
#endif
class GpuChannelHost;
+class GpuChannelHostFactory;
namespace gpu {
namespace gles2 {
@@ -61,6 +62,7 @@ class WebGraphicsContext3DCommandBufferImpl
WebGraphicsContext3DCommandBufferImpl(
int surface_id,
const GURL& active_url,
+ GpuChannelHostFactory* factory,
const base::WeakPtr<WebGraphicsContext3DSwapBuffersClient>& swap_client);
virtual ~WebGraphicsContext3DCommandBufferImpl();
@@ -509,6 +511,9 @@ class WebGraphicsContext3DCommandBufferImpl
bool initialize_failed_;
+ // The channel factory to talk to the GPU process
+ GpuChannelHostFactory* factory_;
+
// The context we use for OpenGL rendering.
ContentGLContext* context_;
// The GLES2Implementation we use for OpenGL rendering.