Index: content/common/gpu/client/gpu_channel_host.cc |
diff --git a/content/common/gpu/client/gpu_channel_host.cc b/content/common/gpu/client/gpu_channel_host.cc |
index d5bb6b37ab7e03007e4a9b040a666670089dee3e..a4c9421a45c3ecd26215e1098413e142daac2ccc 100644 |
--- a/content/common/gpu/client/gpu_channel_host.cc |
+++ b/content/common/gpu/client/gpu_channel_host.cc |
@@ -132,6 +132,7 @@ CommandBufferProxyImpl* GpuChannelHost::CreateViewCommandBuffer( |
const std::string& allowed_extensions, |
const std::vector<int32>& attribs, |
const GURL& active_url, |
+ bool use_virtual_gl_context, |
gfx::GpuPreference gpu_preference) { |
TRACE_EVENT1("gpu", |
"GpuChannelHost::CreateViewCommandBuffer", |
@@ -150,6 +151,7 @@ CommandBufferProxyImpl* GpuChannelHost::CreateViewCommandBuffer( |
init_params.attribs = attribs; |
init_params.active_url = active_url; |
init_params.gpu_preference = gpu_preference; |
+ init_params.use_virtual_gl_context = use_virtual_gl_context; |
int32 route_id = factory_->CreateViewCommandBuffer(surface_id, init_params); |
if (route_id == MSG_ROUTING_NONE) |
return NULL; |
@@ -167,6 +169,7 @@ CommandBufferProxyImpl* GpuChannelHost::CreateOffscreenCommandBuffer( |
const std::string& allowed_extensions, |
const std::vector<int32>& attribs, |
const GURL& active_url, |
+ bool use_virtual_gl_context, |
gfx::GpuPreference gpu_preference) { |
TRACE_EVENT0("gpu", "GpuChannelHost::CreateOffscreenCommandBuffer"); |
@@ -182,6 +185,7 @@ CommandBufferProxyImpl* GpuChannelHost::CreateOffscreenCommandBuffer( |
init_params.attribs = attribs; |
init_params.active_url = active_url; |
init_params.gpu_preference = gpu_preference; |
+ init_params.use_virtual_gl_context = use_virtual_gl_context; |
int32 route_id; |
if (!Send(new GpuChannelMsg_CreateOffscreenCommandBuffer(size, |
init_params, |