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

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

Issue 14241007: Return the shared context's handle when a virtualized context's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gl_context_virtual.cc
diff --git a/gpu/command_buffer/service/gl_context_virtual.cc b/gpu/command_buffer/service/gl_context_virtual.cc
index bc8c820f28c34fb3e9bc70b6054d00261fb5cbfd..60f3c90c30caecfb554761055e29a7572e1e0f32 100644
--- a/gpu/command_buffer/service/gl_context_virtual.cc
+++ b/gpu/command_buffer/service/gl_context_virtual.cc
@@ -73,7 +73,7 @@ bool GLContextVirtual::IsCurrent(gfx::GLSurface* surface) {
}
void* GLContextVirtual::GetHandle() {
- return NULL;
+ return shared_context_->GetHandle();
}
gfx::GLStateRestorer* GLContextVirtual::GetGLStateRestorer() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698