| 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 14fa05a598e2dc7a85372c108265cfc6289bf56a..5abf63d064d87e5c5a783850cbc6449e2e5204db 100644
|
| --- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| +++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc
|
| @@ -343,6 +343,9 @@ bool WebGraphicsContext3DCommandBufferImpl::CreateContext(
|
| if (!gles2_helper_->Initialize(kCommandBufferSize))
|
| return false;
|
|
|
| + if (attributes_.noAutomaticFlushes)
|
| + gles2_helper_->SetAutomaticFlushes(false);
|
| +
|
| // Create a transfer buffer used to copy resources between the renderer
|
| // process and the GPU process.
|
| transfer_buffer_ = new gpu::TransferBuffer(gles2_helper_);
|
|
|