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

/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp93 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, function in class:android::egl_context_t
99 void egl_context_t::onLooseCurrent() {
104 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) {
H A Degl_object.h154 class egl_context_t: public egl_object_t { class in namespace:android
156 ~egl_context_t() {}
158 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
160 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
180 typedef egl_context_t::Ref ContextRef;
195 egl_context_t* get_context(EGLContext context) {
196 return egl_to_native_cast<egl_context_t>(context);
H A Degl_display.h42 class egl_context_t;
50 void loseCurrentImpl(egl_context_t * cur_c);
75 EGLBoolean makeCurrent(egl_context_t* c, egl_context_t* cur_c,
78 static void loseCurrent(egl_context_t * cur_c);
H A Degl.cpp122 egl_context_t const * const c = get_context(context);
140 egl_context_t const * const c = get_context(context);
163 egl_context_t const * const c = get_context(context);
H A Degl_display.cpp302 void egl_display_t::loseCurrent(egl_context_t * cur_c)
312 void egl_display_t::loseCurrentImpl(egl_context_t * cur_c)
334 EGLBoolean egl_display_t::makeCurrent(egl_context_t* c, egl_context_t* cur_c,
H A DeglApi.cpp696 egl_context_t* const c = get_context(share_list);
717 egl_context_t* c = new egl_context_t(dpy, context, config, cnx,
737 egl_context_t * const c = get_context(ctx);
778 egl_context_t * c = NULL;
783 egl_context_t * cur_c = get_context(getContext());
883 egl_context_t * const c = get_context(ctx);
909 egl_context_t const * const c = get_context(ctx);
929 egl_context_t const * const c = get_context(ctx);
1165 egl_context_t * cons
[all...]
/frameworks/native/opengl/libagl/
H A Degl.cpp122 struct egl_context_t { struct in namespace:android
133 static inline egl_context_t* context(EGLContext ctx) {
135 return static_cast<egl_context_t*>(gl->rasterizer.base);
1206 egl_context_t* c = egl_context_t::context(gl);
1207 if (c->flags & egl_context_t::IS_CURRENT) {
1217 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1220 if (!(c->flags & egl_context_t::IS_CURRENT)) {
1223 c->flags |= egl_context_t
[all...]

Completed in 884 milliseconds