Lines Matching refs:egl_context_t
103 struct egl_context_t* base;
147 struct egl_context_t { struct
158 static inline egl_context_t* context(EGLContext ctx) { in context() argument
160 return static_cast<egl_context_t*>(gl->rasterizer.base); in context()
1158 egl_context_t* c = egl_context_t::context(gl); in makeCurrent()
1159 if (c->flags & egl_context_t::IS_CURRENT) { in makeCurrent()
1169 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT; in makeCurrent()
1172 if (!(c->flags & egl_context_t::IS_CURRENT)) { in makeCurrent()
1175 c->flags |= egl_context_t::IS_CURRENT; in makeCurrent()
1181 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT; in makeCurrent()
1594 gl->rasterizer.base = new egl_context_t; in eglCreateContext()
1595 egl_context_t* c = static_cast<egl_context_t*>(gl->rasterizer.base); in eglCreateContext()
1596 c->flags = egl_context_t::NEVER_CURRENT; in eglCreateContext()
1608 egl_context_t* c = egl_context_t::context(ctx); in eglDestroyContext()
1609 if (c->flags & egl_context_t::IS_CURRENT) in eglDestroyContext()
1653 egl_context_t* c = egl_context_t::context(ctx); in eglMakeCurrent()
1667 egl_context_t* c = egl_context_t::context(ctx); in eglMakeCurrent()
1696 egl_context_t* c = egl_context_t::context(current_ctx); in eglMakeCurrent()
1731 egl_context_t* c = egl_context_t::context(ctx); in eglGetCurrentSurface()
1747 egl_context_t* c = egl_context_t::context(ctx); in eglGetCurrentDisplay()
1756 egl_context_t* c = egl_context_t::context(ctx); in eglQueryContext()
1791 egl_context_t* c = egl_context_t::context(d->ctx); in eglSwapBuffers()