Searched defs:egl_context_t (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/opengl/libs/EGL/
H A Degl.cpp194 struct egl_context_t : public egl_object_t struct in namespace:android
196 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
198 egl_context_t(EGLDisplay dpy, EGLContext context, function in struct:android::egl_context_t
228 typedef egl_context_t::Ref ContextRef;
469 egl_context_t* get_context(EGLContext context) {
470 return egl_to_native_cast<egl_context_t>(context);
531 egl_context_t const * const c = get_context(context);
1065 egl_context_t* c = new egl_context_t(dpy, context, i, cnx, version);
1080 egl_context_t * cons
[all...]
/frameworks/base/opengl/libagl/
H A Degl.cpp112 struct egl_context_t { struct in namespace:android
123 static inline egl_context_t* context(EGLContext ctx) {
125 return static_cast<egl_context_t*>(gl->rasterizer.base);
1228 egl_context_t* c = egl_context_t::context(gl);
1229 if (c->flags & egl_context_t::IS_CURRENT) {
1239 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1242 if (!(c->flags & egl_context_t::IS_CURRENT)) {
1245 c->flags |= egl_context_t
[all...]

Completed in 666 milliseconds