Searched refs:egl_context_t (Results 1 – 7 of 7) sorted by relevance
/frameworks/native/opengl/libs/EGL/ |
D | egl_object.h | 189 class egl_context_t: public egl_object_t { 191 ~egl_context_t() {} in ~egl_context_t() 193 typedef egl_object_t::LocalRef<egl_context_t, EGLContext> Ref; 195 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, 215 typedef egl_context_t::Ref ContextRef; 230 egl_context_t* get_context(EGLContext context) { in get_context() 231 return egl_to_native_cast<egl_context_t>(context); in get_context()
|
D | egl_display.h | 42 class egl_context_t; variable 54 void loseCurrentImpl(egl_context_t * cur_c); 79 EGLBoolean makeCurrent(egl_context_t* c, egl_context_t* cur_c, 82 static void loseCurrent(egl_context_t * cur_c);
|
D | egl.cpp | 121 egl_context_t const * const c = get_context(context); in egl_get_string_for_current_context() 139 egl_context_t const * const c = get_context(context); in egl_get_string_for_current_context() 162 egl_context_t const * const c = get_context(context); in egl_get_num_extensions_for_current_context()
|
D | egl_object.cpp | 281 egl_context_t::egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config, in egl_context_t() function in android::egl_context_t 287 void egl_context_t::onLooseCurrent() { in onLooseCurrent() 292 void egl_context_t::onMakeCurrent(EGLSurface draw, EGLSurface read) { in onMakeCurrent()
|
D | egl_display.cpp | 508 void egl_display_t::loseCurrent(egl_context_t * cur_c) in loseCurrent() 518 void egl_display_t::loseCurrentImpl(egl_context_t * cur_c) in loseCurrentImpl() 540 EGLBoolean egl_display_t::makeCurrent(egl_context_t* c, egl_context_t* cur_c, in makeCurrent()
|
D | egl_platform_entries.cpp | 956 egl_context_t* const c = get_context(share_list); in eglCreateContextImpl() 993 egl_context_t* c = new egl_context_t(dpy, context, config, cnx, in eglCreateContextImpl() 1011 egl_context_t * const c = get_context(ctx); in eglDestroyContextImpl() 1050 egl_context_t * c = nullptr; in eglMakeCurrentImpl() 1055 egl_context_t * cur_c = get_context(getContext()); in eglMakeCurrentImpl() 1120 egl_context_t * const c = get_context(ctx); in eglQueryContextImpl() 1141 egl_context_t const * const c = get_context(ctx); in eglGetCurrentSurfaceImpl() 1159 egl_context_t const * const c = get_context(ctx); in eglGetCurrentDisplayImpl() 1412 egl_context_t * const c = get_context( egl_tls_t::getContext() ); in eglSwapBuffersWithDamageKHRImpl() 1753 egl_context_t* const c = _c.get(); in eglCreateImageTmpl()
|
/frameworks/native/opengl/libagl/ |
D | egl.cpp | 142 struct egl_context_t { struct 153 static inline egl_context_t* context(EGLContext ctx) { in context() argument 155 return static_cast<egl_context_t*>(gl->rasterizer.base); in context() 1226 egl_context_t* c = egl_context_t::context(gl); in makeCurrent() 1227 if (c->flags & egl_context_t::IS_CURRENT) { in makeCurrent() 1237 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT; in makeCurrent() 1240 if (!(c->flags & egl_context_t::IS_CURRENT)) { in makeCurrent() 1243 c->flags |= egl_context_t::IS_CURRENT; in makeCurrent() 1249 egl_context_t::context(current)->flags &= ~egl_context_t::IS_CURRENT; in makeCurrent() 1724 ogles_context_t* gl = ogles_init(sizeof(egl_context_t)); in eglCreateContext() [all …]
|