Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
index 425990c8c752a926f1769e75dad328bffd12394e..6262fa0696905f6a1ac816e878166ecc41b76636 100644 |
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc |
@@ -354,6 +354,8 @@ bool WebGraphicsContext3DCommandBufferImpl::InitializeCommandBuffer( |
attribs.push_back(attributes_.failIfMajorPerformanceCaveat ? 1 : 0); |
attribs.push_back(LOSE_CONTEXT_WHEN_OUT_OF_MEMORY); |
attribs.push_back(lose_context_when_out_of_memory_ ? 1 : 0); |
+ attribs.push_back(BIND_GENERATES_RESOURCES); |
+ attribs.push_back(bind_generates_resources_ ? 1 : 0); |
piman
2014/04/02 22:23:00
nit: how about removing bind_generates_resources_
vmiura
2014/04/02 22:44:25
Done.
|
attribs.push_back(NONE); |
// Create a proxy to a command buffer in the GPU process. |