Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
Degl_object.h147 class egl_context_t: public egl_object_t {
149 ~egl_context_t() {} in ~egl_context_t()
151 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref;
153 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
173 typedef egl_context_t::Ref ContextRef;
188 egl_context_t* get_context(EGLContext context) { in get_context()
189 return egl_to_native_cast<egl_context_t>(context); in get_context()
Degl_object.cpp104 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, in egl_context_t() function in android::egl_context_t
110 void egl_context_t::onLooseCurrent() { in onLooseCurrent()
115 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { in onMakeCurrent()
Degl_display.h41 class egl_context_t; variable
49 void loseCurrentImpl(egl_context_t * cur_c);
88 EGLBoolean makeCurrent(egl_context_t* c, egl_context_t* cur_c,
91 static void loseCurrent(egl_context_t * cur_c);
Degl.cpp129 egl_context_t const * const c = get_context(context); in egl_get_string_for_current_context()
147 egl_context_t const * const c = get_context(context); in egl_get_string_for_current_context()
170 egl_context_t const * const c = get_context(context); in egl_get_num_extensions_for_current_context()
Degl_display.cpp294 void egl_display_t::loseCurrent(egl_context_t * cur_c) in loseCurrent()
304 void egl_display_t::loseCurrentImpl(egl_context_t * cur_c) in loseCurrentImpl()
326 EGLBoolean egl_display_t::makeCurrent(egl_context_t* c, egl_context_t* cur_c, in makeCurrent()
DeglApi.cpp662 egl_context_t* const c = get_context(share_list); in eglCreateContext()
683 egl_context_t* c = new egl_context_t(dpy, context, config, cnx, in eglCreateContext()
703 egl_context_t * const c = get_context(ctx); in eglDestroyContext()
744 egl_context_t * c = NULL; in eglMakeCurrent()
749 egl_context_t * cur_c = get_context(getContext()); in eglMakeCurrent()
817 egl_context_t * const c = get_context(ctx); in eglQueryContext()
843 egl_context_t const * const c = get_context(ctx); in eglGetCurrentSurface()
863 egl_context_t const * const c = get_context(ctx); in eglGetCurrentDisplay()
1085 egl_context_t * const c = get_context( egl_tls_t::getContext() ); in eglSwapBuffersWithDamageKHR()
1409 egl_context_t * const c = _c.get(); in eglCreateImageKHR()
/frameworks/native/opengl/libagl/
Degl.cpp120 struct egl_context_t { struct
131 static inline egl_context_t* context(EGLContext ctx) { in context() argument
133 return static_cast<egl_context_t*>(gl->rasterizer.base); in context()
1196 egl_context_t* c = egl_context_t::context(gl); in makeCurrent()
1197 if (c->flags & egl_context_t::IS_CURRENT) { in makeCurrent()
1207 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT; in makeCurrent()
1210 if (!(c->flags & egl_context_t::IS_CURRENT)) { in makeCurrent()
1213 c->flags |= egl_context_t::IS_CURRENT; in makeCurrent()
1219 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT; in makeCurrent()
1691 ogles_context_t* gl = ogles_init(sizeof(egl_context_t)); in eglCreateContext()
[all …]