Searched refs:egl_context_t (Results 1 – 1 of 1) sorted by relevance
103 struct egl_context_t* base;147 struct egl_context_t { struct158 static inline egl_context_t* context(EGLContext ctx) { in context() argument160 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()[all …]