Home | History | Annotate | Download | only in gl

Lines Matching defs:GLContext

23 class GL_EXPORT GLContext : public base::RefCounted<GLContext> {
25 explicit GLContext(GLShareGroup* share_group);
84 static scoped_refptr<GLContext> CreateGLContext(
91 // Returns the last GLContext made current, virtual or real.
92 static GLContext* GetCurrent();
100 bool MakeVirtuallyCurrent(GLContext* virtual_context, GLSurface* surface);
104 void OnReleaseVirtuallyCurrent(GLContext* virtual_context);
107 virtual ~GLContext();
118 // Returns the last real (non-virtual) GLContext made current.
119 static GLContext* GetRealCurrent();
122 friend class base::RefCounted<GLContext>;
131 DISALLOW_COPY_AND_ASSIGN(GLContext);
134 class GL_EXPORT GLContextReal : public GLContext {