Lines Matching refs:GLContext
26 class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
28 explicit GLContext(GLShareGroup* share_group);
43 friend class GLContext;
110 static scoped_refptr<GLContext> CreateGLContext(
117 // Returns the last GLContext made current, virtual or real.
118 static GLContext* GetCurrent();
126 bool MakeVirtuallyCurrent(GLContext* virtual_context, GLSurface* surface);
130 void OnReleaseVirtuallyCurrent(GLContext* virtual_context);
142 virtual ~GLContext();
165 // Returns the last real (non-virtual) GLContext made current.
166 static GLContext* GetRealCurrent();
169 friend class base::RefCounted<GLContext>;
181 DISALLOW_COPY_AND_ASSIGN(GLContext);
184 class GL_EXPORT GLContextReal : public GLContext {