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

/frameworks/native/opengl/libs/EGL/
H A Degl_object.h148 class egl_context_t: public egl_object_t { class in namespace:android
150 ~egl_context_t() {}
152 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
154 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
174 typedef egl_context_t::Ref ContextRef;
189 egl_context_t* get_context(EGLContext context) {
190 return egl_to_native_cast<egl_context_t>(context);
H A Degl_object.cpp104 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, function in class:android::egl_context_t
110 void egl_context_t::onLooseCurrent() {
115 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) {
/frameworks/native/opengl/libagl/
H A Degl.cpp121 struct egl_context_t { struct in namespace:android
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
[all...]

Completed in 1175 milliseconds