summaryrefslogtreecommitdiffstats
path: root/content/common/gpu/gpu_command_buffer_stub.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/common/gpu/gpu_command_buffer_stub.h')
-rw-r--r--content/common/gpu/gpu_command_buffer_stub.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/content/common/gpu/gpu_command_buffer_stub.h b/content/common/gpu/gpu_command_buffer_stub.h
index a6e91fb..f6e31f8 100644
--- a/content/common/gpu/gpu_command_buffer_stub.h
+++ b/content/common/gpu/gpu_command_buffer_stub.h
@@ -17,6 +17,7 @@
#include "base/task.h"
#include "content/common/gpu/media/gpu_video_decode_accelerator.h"
#include "gpu/command_buffer/service/command_buffer_service.h"
+#include "gpu/command_buffer/service/context_group.h"
#include "gpu/command_buffer/service/gpu_scheduler.h"
#include "ipc/ipc_channel.h"
#include "ipc/ipc_message.h"
@@ -33,6 +34,7 @@ class GpuCommandBufferStub
public:
GpuCommandBufferStub(
GpuChannel* channel,
+ GpuCommandBufferStub* share_group,
gfx::PluginWindowHandle handle,
const gfx::Size& size,
const gpu::gles2::DisallowedExtensions& disallowed_extensions,
@@ -133,6 +135,9 @@ class GpuCommandBufferStub
// are destroyed. So a raw pointer is safe.
GpuChannel* channel_;
+ // The group of contexts that share namespaces with this context.
+ scoped_refptr<gpu::gles2::ContextGroup> context_group_;
+
gfx::PluginWindowHandle handle_;
gfx::Size initial_size_;
gpu::gles2::DisallowedExtensions disallowed_extensions_;