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

/frameworks/native/opengl/libs/EGL/
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_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) {
/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 1054 milliseconds