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

/frameworks/native/opengl/libs/EGL/
H A Degl_object.cpp89 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, function in class:android::egl_context_t
95 void egl_context_t::onLooseCurrent() {
100 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) {
H A Degl_object.h144 class egl_context_t: public egl_object_t { class in namespace:android
146 ~egl_context_t() {}
148 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
150 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);
/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);
1169 egl_context_t* c = egl_context_t::context(gl);
1170 if (c->flags & egl_context_t::IS_CURRENT) {
1180 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1183 if (!(c->flags & egl_context_t::IS_CURRENT)) {
1186 c->flags |= egl_context_t
[all...]

Completed in 37 milliseconds