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

Unified Diff: gpu/command_buffer/service/gpu_processor_linux.cc

Issue 2134006: Added EGL based GLContext.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 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
« no previous file with comments | « gpu/command_buffer/service/gpu_processor.h ('k') | gpu/command_buffer/service/gpu_processor_mac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gpu_processor_linux.cc
===================================================================
--- gpu/command_buffer/service/gpu_processor_linux.cc (revision 49195)
+++ gpu/command_buffer/service/gpu_processor_linux.cc (working copy)
@@ -27,9 +27,6 @@
parent_context = parent_decoder->GetGLContext();
DCHECK(parent_context);
-
- parent_handle = parent_context->GetHandle();
- DCHECK(parent_handle);
}
// Create either a view or pbuffer based GLContext.
@@ -39,7 +36,7 @@
// TODO(apatrick): support multisampling.
context_.reset(gfx::GLContext::CreateViewGLContext(window, false));
} else {
- context_.reset(gfx::GLContext::CreateOffscreenGLContext(parent_handle));
+ context_.reset(gfx::GLContext::CreateOffscreenGLContext(parent_context));
}
if (!context_.get())
« no previous file with comments | « gpu/command_buffer/service/gpu_processor.h ('k') | gpu/command_buffer/service/gpu_processor_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698