Lines Matching defs:egl_context_t
120 struct egl_context_t {
131 static inline egl_context_t* context(EGLContext ctx) {
133 return static_cast<egl_context_t*>(gl->rasterizer.base);
1169 egl_context_t* c = egl_context_t::context(gl);
1170 if (c->flags & egl_context_t::IS_CURRENT) {
1180 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1183 if (!(c->flags & egl_context_t::IS_CURRENT)) {
1186 c->flags |= egl_context_t::IS_CURRENT;
1192 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1662 ogles_context_t* gl = ogles_init(sizeof(egl_context_t));
1665 egl_context_t* c = static_cast<egl_context_t*>(gl->rasterizer.base);
1666 c->flags = egl_context_t::NEVER_CURRENT;
1678 egl_context_t* c = egl_context_t::context(ctx);
1679 if (c->flags & egl_context_t::IS_CURRENT)
1719 egl_context_t* c = egl_context_t::context(ctx);
1732 egl_context_t* c = egl_context_t::context(ctx);
1747 if (c->flags & egl_context_t::NEVER_CURRENT) {
1748 c->flags &= ~egl_context_t::NEVER_CURRENT;
1775 egl_context_t* c = egl_context_t::context(current_ctx);
1810 egl_context_t* c = egl_context_t::context(ctx);
1826 egl_context_t* c = egl_context_t::context(ctx);
1835 egl_context_t* c = egl_context_t::context(ctx);
1875 egl_context_t* c = egl_context_t::context(d->ctx);