Searched refs:cnx (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/opengl/libs/EGL/ |
D | egl_display.cpp | 87 egl_connection_t* const cnx = &gEGLImpl[i]; in getDisplay() local 88 if (cnx->dso && disp[i].dpy == EGL_NO_DISPLAY) { in getDisplay() 89 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); in getDisplay() 92 loader.close(cnx->dso); in getDisplay() 93 cnx->dso = NULL; in getDisplay() 128 egl_connection_t* const cnx = &gEGLImpl[i]; in initialize() local 129 cnx->major = -1; in initialize() 130 cnx->minor = -1; in initialize() 131 if (!cnx->dso) in initialize() 145 cnx->egl.eglGetDisplay(EGL_DEFAULT_DISPLAY); in initialize() [all …]
|
D | eglApi.cpp | 275 egl_connection_t* const cnx = &gEGLImpl[dp->configs[intptr_t(ourConfig)].impl]; in eglChooseConfig() local 276 if (found && cnx->dso) { in eglChooseConfig() 288 res = cnx->egl.eglChooseConfig( in eglChooseConfig() 307 egl_connection_t* const cnx = &gEGLImpl[i]; in eglChooseConfig() local 308 if (cnx->dso) { in eglChooseConfig() 309 if (cnx->egl.eglChooseConfig( in eglChooseConfig() 342 egl_connection_t* cnx = validate_display_config(dpy, config, dp); in eglGetConfigAttrib() local 343 if (!cnx) return EGL_FALSE; in eglGetConfigAttrib() 349 return cnx->egl.eglGetConfigAttrib( in eglGetConfigAttrib() 365 egl_connection_t* cnx = validate_display_config(dpy, config, dp); in eglCreateWindowSurface() local [all …]
|
D | egl.cpp | 204 egl_connection_t* const cnx = &gEGLImpl[dp->configs[intptr_t(config)].impl]; in validate_display_config() local 205 if (cnx->dso == 0) { in validate_display_config() 208 return cnx; in validate_display_config() 251 egl_connection_t* cnx; in egl_init_drivers_locked() local 253 cnx = &gEGLImpl[IMPL_SOFTWARE]; in egl_init_drivers_locked() 254 if (cnx->dso == 0) { in egl_init_drivers_locked() 255 cnx->hooks[GLESv1_INDEX] = &gHooks[GLESv1_INDEX][IMPL_SOFTWARE]; in egl_init_drivers_locked() 256 cnx->hooks[GLESv2_INDEX] = &gHooks[GLESv2_INDEX][IMPL_SOFTWARE]; in egl_init_drivers_locked() 257 cnx->dso = loader.open(EGL_DEFAULT_DISPLAY, 0, cnx); in egl_init_drivers_locked() 260 cnx = &gEGLImpl[IMPL_HARDWARE]; in egl_init_drivers_locked() [all …]
|
D | Loader.cpp | 175 void* Loader::open(EGLNativeDisplayType display, int impl, egl_connection_t* cnx) in open() argument 188 dso = load_driver("GLES", tag, cnx, EGL | GLESv1_CM | GLESv2); in open() 193 dso = load_driver("EGL", tag, cnx, EGL); in open() 198 hnd->set( load_driver("GLESv1_CM", tag, cnx, GLESv1_CM), GLESv1_CM ); in open() 200 hnd->set( load_driver("GLESv2", tag, cnx, GLESv2), GLESv2 ); in open() 263 egl_connection_t* cnx, uint32_t mask) in load_driver() argument 293 egl_t* egl = &cnx->egl; in load_driver() 316 &cnx->hooks[GLESv1_INDEX]->gl, in load_driver() 323 &cnx->hooks[GLESv2_INDEX]->gl, in load_driver()
|
D | egl_object.h | 141 EGLSurface surface, int impl, egl_connection_t const* cnx) : in egl_surface_t() argument 143 config(config), win(win), impl(impl), cnx(cnx) { in egl_surface_t() 150 egl_connection_t const* cnx; variable 160 int impl, egl_connection_t const* cnx, int version) : in egl_context_t() argument 162 config(config), read(0), draw(0), impl(impl), cnx(cnx), in egl_context_t() 171 egl_connection_t const* cnx; variable
|
D | Loader.h | 72 void* open(EGLNativeDisplayType display, int impl, egl_connection_t* cnx); 77 void *load_driver(const char* kind, const char *tag, egl_connection_t* cnx, uint32_t mask);
|