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

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

Issue 11564027: Enable virtual context on IMG devices in a different way (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add t604 Created 8 years 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
« no previous file with comments | « no previous file | content/gpu/gpu_info_collector_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/gpu_command_buffer_stub.cc
diff --git a/content/common/gpu/gpu_command_buffer_stub.cc b/content/common/gpu/gpu_command_buffer_stub.cc
index 2612db2a68d766743fb0ce32b52b6448a6cbe3d9..e6e1e78bc4597ceb4fd3b4aab203cdd2ede624d1 100644
--- a/content/common/gpu/gpu_command_buffer_stub.cc
+++ b/content/common/gpu/gpu_command_buffer_stub.cc
@@ -405,10 +405,8 @@ void GpuCommandBufferStub::OnInitialize(
}
scoped_refptr<gfx::GLContext> context;
- if ((context_group_->feature_info()->feature_flags().enable_virtual_context ||
- CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableVirtualGLContexts)) &&
- channel_->share_group()) {
+ if (CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kEnableVirtualGLContexts) && channel_->share_group()) {
context = channel_->share_group()->GetSharedContext();
if (!context) {
context = gfx::GLContext::CreateGLContext(
« no previous file with comments | « no previous file | content/gpu/gpu_info_collector_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698