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

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

Issue 15928002: GPU: Keep track of the last real context and real surface made current. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use ScopedMakeCurrent. Created 7 years, 7 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 | gpu/command_buffer/service/gl_context_virtual.cc » ('j') | ui/gl/gl_context.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gl_context_virtual.h
diff --git a/gpu/command_buffer/service/gl_context_virtual.h b/gpu/command_buffer/service/gl_context_virtual.h
index fdecbddbc463e91d407ea98774f1d7f4d0f4fc03..3e4782cf1f2d7dc6570cdb160d90691348dfb382 100644
--- a/gpu/command_buffer/service/gl_context_virtual.h
+++ b/gpu/command_buffer/service/gl_context_virtual.h
@@ -52,6 +52,8 @@ class GPU_EXPORT GLContextVirtual : public gfx::GLContext {
protected:
virtual ~GLContextVirtual();
+ virtual bool IsVirtualContext() OVERRIDE;
+
private:
scoped_refptr<gfx::GLContext> shared_context_;
gfx::Display* display_;
« no previous file with comments | « no previous file | gpu/command_buffer/service/gl_context_virtual.cc » ('j') | ui/gl/gl_context.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698