Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1290)

Unified Diff: content/common/gpu/gpu_channel.cc

Issue 13647014: Attach flag to use virtual context for WebGraphicsContext3D (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove printf... Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/gpu_channel.cc
diff --git a/content/common/gpu/gpu_channel.cc b/content/common/gpu/gpu_channel.cc
index b7231b4c9610fab8e6f02f6375a6c696918d260e..cc35c9c6ff94a321fd8da91db9c4ebde72c4bae0 100644
--- a/content/common/gpu/gpu_channel.cc
+++ b/content/common/gpu/gpu_channel.cc
@@ -644,6 +644,7 @@ void GpuChannel::CreateViewCommandBuffer(
surface_id,
watchdog_,
software_,
+ init_params.use_virtual_gl_context,
init_params.active_url));
if (preempted_flag_.get())
stub->SetPreemptByFlag(preempted_flag_);
@@ -858,8 +859,10 @@ void GpuChannel::OnCreateOffscreenCommandBuffer(
init_params.attribs,
init_params.gpu_preference,
*route_id,
- 0, watchdog_,
+ 0,
+ watchdog_,
software_,
+ init_params.use_virtual_gl_context,
init_params.active_url));
if (preempted_flag_.get())
stub->SetPreemptByFlag(preempted_flag_);
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | content/common/gpu/gpu_command_buffer_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698