Home | History | Annotate | Download | only in test

Lines Matching refs:egl_context_t

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