Lines Matching refs:cnx
170 void* Loader::open(egl_connection_t* cnx) in open() argument
175 dso = load_driver("GLES", cnx, EGL | GLESv1_CM | GLESv2); in open()
180 dso = load_driver("EGL", cnx, EGL); in open()
183 hnd->set( load_driver("GLESv1_CM", cnx, GLESv1_CM), GLESv1_CM ); in open()
184 hnd->set( load_driver("GLESv2", cnx, GLESv2), GLESv2 ); in open()
191 cnx->libEgl = load_wrapper("/system/lib64/libEGL.so"); in open()
192 cnx->libGles2 = load_wrapper("/system/lib64/libGLESv2.so"); in open()
193 cnx->libGles1 = load_wrapper("/system/lib64/libGLESv1_CM.so"); in open()
195 cnx->libEgl = load_wrapper("/system/lib/libEGL.so"); in open()
196 cnx->libGles2 = load_wrapper("/system/lib/libGLESv2.so"); in open()
197 cnx->libGles1 = load_wrapper("/system/lib/libGLESv1_CM.so"); in open()
199 LOG_ALWAYS_FATAL_IF(!cnx->libEgl, in open()
202 LOG_ALWAYS_FATAL_IF(!cnx->libGles2 || !cnx->libGles1, in open()
272 egl_connection_t* cnx, uint32_t mask) in load_driver() argument
396 egl_t* egl = &cnx->egl; in load_driver()
419 &cnx->hooks[egl_connection_t::GLESv1_INDEX]->gl, in load_driver()
426 &cnx->hooks[egl_connection_t::GLESv2_INDEX]->gl, in load_driver()