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

/frameworks/native/opengl/libs/EGL/
H A Degl_object.h143 class egl_context_t: public egl_object_t { class in namespace:android
145 ~egl_context_t() {}
147 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
149 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
169 typedef egl_context_t::Ref ContextRef;
184 egl_context_t* get_context(EGLContext context) {
185 return egl_to_native_cast<egl_context_t>(context);
H A Degl_object.cpp90 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, function in class:android::egl_context_t
96 void egl_context_t::onLooseCurrent() {
101 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) {
H A Degl_display.h41 class egl_context_t;
49 void loseCurrentImpl(egl_context_t * cur_c);
88 EGLBoolean makeCurrent(egl_context_t* c, egl_context_t* cur_c,
91 static void loseCurrent(egl_context_t * cur_c);
H A Degl_display.cpp308 void egl_display_t::loseCurrent(egl_context_t * cur_c)
318 void egl_display_t::loseCurrentImpl(egl_context_t * cur_c)
340 EGLBoolean egl_display_t::makeCurrent(egl_context_t* c, egl_context_t* cur_c,
H A Degl.cpp285 egl_context_t const * const c = get_context(context);
303 egl_context_t const * const c = get_context(context);
326 egl_context_t const * const c = get_context(context);
H A DeglApi.cpp663 egl_context_t* const c = get_context(share_list);
684 egl_context_t* c = new egl_context_t(dpy, context, config, cnx,
708 egl_context_t * const c = get_context(ctx);
749 egl_context_t * c = NULL;
754 egl_context_t * cur_c = get_context(getContext());
826 egl_context_t * const c = get_context(ctx);
852 egl_context_t const * const c = get_context(ctx);
872 egl_context_t const * const c = get_context(ctx);
1101 egl_context_t * cons
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp120 struct egl_context_t { struct in namespace:android
131 static inline egl_context_t* context(EGLContext ctx) {
133 return static_cast<egl_context_t*>(gl->rasterizer.base);
1196 egl_context_t* c = egl_context_t::context(gl);
1197 if (c->flags & egl_context_t::IS_CURRENT) {
1207 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1210 if (!(c->flags & egl_context_t::IS_CURRENT)) {
1213 c->flags |= egl_context_t
[all...]

Completed in 94 milliseconds