Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DeglApi.cpp272 egl_connection_t* const cnx = &gEGLImpl; in eglGetConfigs() local
273 if (cnx->dso) { in eglGetConfigs()
274 res = cnx->egl.eglGetConfigs( in eglGetConfigs()
297 egl_connection_t* const cnx = &gEGLImpl; in eglChooseConfig() local
298 if (cnx->dso) { in eglChooseConfig()
340 EGLBoolean resAA = cnx->egl.eglChooseConfig( in eglChooseConfig()
352 res = cnx->egl.eglChooseConfig( in eglChooseConfig()
363 egl_connection_t* cnx = NULL; in eglGetConfigAttrib() local
364 const egl_display_ptr dp = validate_display_connection(dpy, cnx); in eglGetConfigAttrib()
367 return cnx->egl.eglGetConfigAttrib( in eglGetConfigAttrib()
[all …]
Degl_display.cpp108 egl_connection_t* const cnx = &gEGLImpl; in getDisplay() local
109 if (cnx->dso && disp.dpy == EGL_NO_DISPLAY) { in getDisplay()
110 EGLDisplay dpy = cnx->egl.eglGetDisplay(display); in getDisplay()
113 loader.close(cnx->dso); in getDisplay()
114 cnx->dso = NULL; in getDisplay()
157 egl_connection_t* const cnx = &gEGLImpl; in initialize() local
158 cnx->major = -1; in initialize()
159 cnx->minor = -1; in initialize()
160 if (cnx->dso) { in initialize()
162 if (cnx->egl.eglInitialize(idpy, &cnx->major, &cnx->minor)) { in initialize()
[all …]
DLoader.cpp170 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()
[all …]
Degl.cpp263 egl_connection_t*& cnx) { in validate_display_connection() argument
264 cnx = NULL; in validate_display_connection()
268 cnx = &gEGLImpl; in validate_display_connection()
269 if (cnx->dso == 0) { in validate_display_connection()
311 egl_connection_t* cnx = &gEGLImpl; in egl_init_drivers_locked() local
312 if (cnx->dso == 0) { in egl_init_drivers_locked()
313 cnx->hooks[egl_connection_t::GLESv1_INDEX] = in egl_init_drivers_locked()
315 cnx->hooks[egl_connection_t::GLESv2_INDEX] = in egl_init_drivers_locked()
317 cnx->dso = loader.open(cnx); in egl_init_drivers_locked()
320 return cnx->dso ? EGL_TRUE : EGL_FALSE; in egl_init_drivers_locked()
Degl_object.cpp66 egl_connection_t const* cnx) : in egl_surface_t() argument
67 egl_object_t(dpy), surface(surface), config(config), win(win), cnx(cnx) in egl_surface_t()
88 egl_connection_t const* cnx, int version) : in egl_context_t() argument
90 config(config), read(0), draw(0), cnx(cnx), version(version) { in egl_context_t()
Degl_cache.cpp92 egl_connection_t* const cnx = &gEGLImpl; in initialize() local
93 if (cnx->dso && cnx->major >= 0 && cnx->minor >= 0) { in initialize()
106 cnx->egl.eglGetProcAddress( in initialize()
116 EGLint err = cnx->egl.eglGetError(); in initialize()
Degl_object.h134 egl_connection_t const* cnx);
139 egl_connection_t const* cnx; variable
149 egl_connection_t const* cnx, int version);
159 egl_connection_t const* cnx; variable
DLoader.h60 void* open(egl_connection_t* cnx);
65 void *load_driver(const char* kind, egl_connection_t* cnx, uint32_t mask);
Degl_display.h254 egl_connection_t*& cnx);