Home | History | Annotate | Download | only in libagl

Lines Matching refs:egl_context_t

121 struct egl_context_t {
132 static inline egl_context_t* context(EGLContext ctx) {
134 return static_cast<egl_context_t*>(gl->rasterizer.base);
1186 egl_context_t* c = egl_context_t::context(gl);
1187 if (c->flags & egl_context_t::IS_CURRENT) {
1197 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1200 if (!(c->flags & egl_context_t::IS_CURRENT)) {
1203 c->flags |= egl_context_t::IS_CURRENT;
1209 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1681 ogles_context_t* gl = ogles_init(sizeof(egl_context_t));
1684 egl_context_t* c = static_cast<egl_context_t*>(gl->rasterizer.base);
1685 c->flags = egl_context_t::NEVER_CURRENT;
1697 egl_context_t* c = egl_context_t::context(ctx);
1698 if (c->flags & egl_context_t::IS_CURRENT)
1738 egl_context_t* c = egl_context_t::context(ctx);
1751 egl_context_t* c = egl_context_t::context(ctx);
1769 if (c->flags & egl_context_t::NEVER_CURRENT) {
1770 c->flags &= ~egl_context_t::NEVER_CURRENT;
1797 egl_context_t* c = egl_context_t::context(current_ctx);
1834 egl_context_t* c = egl_context_t::context(ctx);
1850 egl_context_t* c = egl_context_t::context(ctx);
1859 egl_context_t* c = egl_context_t::context(ctx);
1899 egl_context_t* c = egl_context_t::context(d->ctx);