Home
last modified time | relevance | path

Searched refs:egl_context_t (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/test/
Degl.cpp103 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()
[all …]