Searched refs:egl_context_t (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/opengl/libs/EGL/ |
D | egl_object.h | 142 class egl_context_t: public egl_object_t { 144 ~egl_context_t() {} in ~egl_context_t() 146 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref; 148 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, 167 typedef egl_context_t::Ref ContextRef; 182 egl_context_t* get_context(EGLContext context) { in get_context() 183 return egl_to_native_cast<egl_context_t>(context); in get_context()
|
D | egl_object.cpp | 87 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, in egl_context_t() function in android::egl_context_t 93 void egl_context_t::onLooseCurrent() { in onLooseCurrent() 98 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { in onMakeCurrent()
|
D | egl_display.h | 41 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);
|
D | eglApi.cpp | 631 egl_context_t* const c = get_context(share_list); in eglCreateContext() 652 egl_context_t* c = new egl_context_t(dpy, context, config, cnx, in eglCreateContext() 676 egl_context_t * const c = get_context(ctx); in eglDestroyContext() 717 egl_context_t * c = NULL; in eglMakeCurrent() 722 egl_context_t * cur_c = get_context(getContext()); in eglMakeCurrent() 794 egl_context_t * const c = get_context(ctx); in eglQueryContext() 820 egl_context_t const * const c = get_context(ctx); in eglGetCurrentSurface() 840 egl_context_t const * const c = get_context(ctx); in eglGetCurrentDisplay() 1068 egl_context_t * const c = get_context(ctx); in eglSwapBuffers() 1080 egl_context_t * const c = get_context(ctx); in eglSwapBuffers() [all …]
|
D | egl_display.cpp | 308 void egl_display_t::loseCurrent(egl_context_t * cur_c) in loseCurrent() 318 void egl_display_t::loseCurrentImpl(egl_context_t * cur_c) in loseCurrentImpl() 340 EGLBoolean egl_display_t::makeCurrent(egl_context_t* c, egl_context_t* cur_c, in makeCurrent()
|
D | egl.cpp | 285 egl_context_t const * const c = get_context(context); in egl_get_string_for_current_context()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 120 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() 1169 egl_context_t* c = egl_context_t::context(gl); in makeCurrent() 1170 if (c->flags & egl_context_t::IS_CURRENT) { in makeCurrent() 1180 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT; in makeCurrent() 1183 if (!(c->flags & egl_context_t::IS_CURRENT)) { in makeCurrent() 1186 c->flags |= egl_context_t::IS_CURRENT; in makeCurrent() 1192 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT; in makeCurrent() 1663 ogles_context_t* gl = ogles_init(sizeof(egl_context_t)); in eglCreateContext() [all …]
|