Home
last modified time | relevance | path

Searched refs:cnx (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/opengl/libs/EGL/
DeglApi.cpp351 egl_connection_t* const cnx = &gEGLImpl; in eglGetConfigs() local
352 if (cnx->dso) { in eglGetConfigs()
353 res = cnx->egl.eglGetConfigs( in eglGetConfigs()
376 egl_connection_t* const cnx = &gEGLImpl; in eglChooseConfig() local
377 if (cnx->dso) { in eglChooseConfig()
421 EGLBoolean resAA = cnx->egl.eglChooseConfig( in eglChooseConfig()
433 res = cnx->egl.eglChooseConfig( in eglChooseConfig()
444 egl_connection_t* cnx = NULL; in eglGetConfigAttrib() local
445 const egl_display_ptr dp = validate_display_connection(dpy, cnx); in eglGetConfigAttrib()
448 return cnx->egl.eglGetConfigAttrib( in eglGetConfigAttrib()
[all …]
Degl_display.cpp132 egl_connection_t* const cnx = &gEGLImpl; in getDisplay() local
133 if (cnx->dso && disp.dpy == EGL_NO_DISPLAY) { in getDisplay()
134 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); in getDisplay()
137 loader.close(cnx->dso); in getDisplay()
138 cnx->dso = NULL; in getDisplay()
174 egl_connection_t* const cnx = &gEGLImpl; in initialize() local
175 cnx->major = -1; in initialize()
176 cnx->minor = -1; in initialize()
177 if (cnx->dso) { in initialize()
179 if (cnx->egl.eglInitialize(idpy, &cnx->major, &cnx->minor)) { in initialize()
[all …]
Degl.cpp100 egl_connection_t*& cnx) { in validate_display_connection() argument
101 cnx = NULL; in validate_display_connection()
105 cnx = &gEGLImpl; in validate_display_connection()
106 if (cnx->dso == 0) { in validate_display_connection()
186 egl_connection_t* cnx = &gEGLImpl; in egl_init_drivers_locked() local
187 if (cnx->dso == 0) { in egl_init_drivers_locked()
188 cnx->hooks[egl_connection_t::GLESv1_INDEX] = in egl_init_drivers_locked()
190 cnx->hooks[egl_connection_t::GLESv2_INDEX] = in egl_init_drivers_locked()
192 cnx->dso = loader.open(cnx); in egl_init_drivers_locked()
195 return cnx->dso ? EGL_TRUE : EGL_FALSE; in egl_init_drivers_locked()
DLoader.cpp219 void* Loader::open(egl_connection_t* cnx) in open() argument
228 dso = load_driver("GLES", cnx, EGL | GLESv1_CM | GLESv2); in open()
233 dso = load_driver("EGL", cnx, EGL); in open()
236 hnd->set( load_driver("GLESv1_CM", cnx, GLESv1_CM), GLESv1_CM ); in open()
237 hnd->set( load_driver("GLESv2", cnx, GLESv2), GLESv2 ); in open()
243 cnx->libEgl = load_wrapper(EGL_WRAPPER_DIR "/libEGL.so"); in open()
244 cnx->libGles2 = load_wrapper(EGL_WRAPPER_DIR "/libGLESv2.so"); in open()
245 cnx->libGles1 = load_wrapper(EGL_WRAPPER_DIR "/libGLESv1_CM.so"); in open()
247 LOG_ALWAYS_FATAL_IF(!cnx->libEgl, in open()
250 LOG_ALWAYS_FATAL_IF(!cnx->libGles2 || !cnx->libGles1, in open()
[all …]
Degl_cache.cpp82 egl_connection_t* const cnx = &gEGLImpl; in initialize() local
83 if (cnx->dso && cnx->major >= 0 && cnx->minor >= 0) { in initialize()
96 cnx->egl.eglGetProcAddress( in initialize()
106 EGLint err = cnx->egl.eglGetError(); in initialize()
Degl_object.cpp59 EGLSurface surface, EGLint colorSpace, egl_connection_t const* cnx) in egl_surface_t() argument
64 cnx(cnx), in egl_surface_t()
282 egl_connection_t const* cnx, int version) : in egl_context_t() argument
284 config(config), read(0), draw(0), cnx(cnx), version(version) { in egl_context_t()
DLoader.h52 void* open(egl_connection_t* cnx);
57 void *load_driver(const char* kind, egl_connection_t* cnx, uint32_t mask);
Degl_object.h135 EGLint colorSpace, egl_connection_t const* cnx);
157 egl_connection_t const* cnx;
196 egl_connection_t const* cnx, int version);
206 egl_connection_t const* cnx; variable
Degl_display.h188 egl_connection_t*& cnx);