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

/frameworks/native/opengl/libs/EGL/
H A Degl_object.h155 class egl_context_t: public egl_object_t { class in namespace:android
157 ~egl_context_t() {}
159 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
161 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
181 typedef egl_context_t::Ref ContextRef;
196 egl_context_t* get_context(EGLContext context) {
197 return egl_to_native_cast<egl_context_t>(context);
H A Degl_object.cpp96 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, function in class:android::egl_context_t
102 void egl_context_t::onLooseCurrent() {
107 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) {
/frameworks/native/opengl/libagl/
H A Degl.cpp140 struct egl_context_t { struct in namespace:android
151 static inline egl_context_t* context(EGLContext ctx) {
153 return static_cast<egl_context_t*>(gl->rasterizer.base);
1224 egl_context_t* c = egl_context_t::context(gl);
1225 if (c->flags & egl_context_t::IS_CURRENT) {
1235 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT;
1238 if (!(c->flags & egl_context_t::IS_CURRENT)) {
1241 c->flags |= egl_context_t
[all...]

Completed in 56 milliseconds