diff options
-rw-r--r-- | gpu/command_buffer/service/in_process_command_buffer.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/in_process_command_buffer.cc b/gpu/command_buffer/service/in_process_command_buffer.cc index ed259e43c3..a27dc2b32b 100644 --- a/gpu/command_buffer/service/in_process_command_buffer.cc +++ b/gpu/command_buffer/service/in_process_command_buffer.cc @@ -371,7 +371,11 @@ bool InProcessCommandBuffer::InitializeOnGpuThread( return false; } - if (service_->UseVirtualizedGLContexts()) { + if (service_->UseVirtualizedGLContexts() || + decoder_->GetContextGroup() + ->feature_info() + ->workarounds() + .use_virtualized_gl_contexts) { context_ = gl_share_group_->GetSharedContext(); if (!context_.get()) { context_ = gfx::GLContext::CreateGLContext( |