/frameworks/native/opengl/libs/EGL/ |
D | eglApi.cpp | 51 egl_connection_t* const cnx = &gEGLImpl; in eglGetDisplay() local 52 return cnx->platform.eglGetDisplay(display); in eglGetDisplay() 66 egl_connection_t* const cnx = &gEGLImpl; in eglGetPlatformDisplay() local 67 return cnx->platform.eglGetPlatformDisplay(platform, display, attrib_list); in eglGetPlatformDisplay() 73 egl_connection_t* const cnx = &gEGLImpl; in eglInitialize() local 74 return cnx->platform.eglInitialize(dpy, major, minor); in eglInitialize() 80 egl_connection_t* const cnx = &gEGLImpl; in eglTerminate() local 81 return cnx->platform.eglTerminate(dpy); in eglTerminate() 88 egl_connection_t* const cnx = &gEGLImpl; in eglGetConfigs() local 89 return cnx->platform.eglGetConfigs(dpy, configs, config_size, num_config); in eglGetConfigs() [all …]
|
D | Loader.cpp | 188 static bool should_unload_system_driver(egl_connection_t* cnx) { in should_unload_system_driver() argument 190 if (cnx->systemDriverUnloaded) { in should_unload_system_driver() 218 void Loader::unload_system_driver(egl_connection_t* cnx) { in unload_system_driver() argument 222 (__eglMustCastToProperFunctionPointerType*)&cnx in unload_system_driver() 226 (__eglMustCastToProperFunctionPointerType*)&cnx in unload_system_driver() 229 uninit_api(egl_names, (__eglMustCastToProperFunctionPointerType*)&cnx->egl); in unload_system_driver() 231 if (cnx->dso) { in unload_system_driver() 233 driver_t* hnd = (driver_t*)cnx->dso; in unload_system_driver() 243 cnx->dso = nullptr; in unload_system_driver() 246 cnx->systemDriverUnloaded = true; in unload_system_driver() [all …]
|
D | egl_display.cpp | 136 static bool addAnglePlatformAttributes(egl_connection_t* const cnx, in addAnglePlatformAttributes() argument 138 intptr_t vendorEGL = (intptr_t)cnx->vendorEGL; in addAnglePlatformAttributes() 143 attrs.push_back(cnx->angleBackend); in addAnglePlatformAttributes() 145 switch (cnx->angleBackend) { in addAnglePlatformAttributes() 163 ALOGV("%s: Requesting Unknown (%d) ANGLE back-end", __FUNCTION__, cnx->angleBackend); in addAnglePlatformAttributes() 172 static EGLDisplay getPlatformDisplayAngle(EGLNativeDisplayType display, egl_connection_t* const cnx, in getPlatformDisplayAngle() argument 177 if (cnx->egl.eglGetPlatformDisplay) { in getPlatformDisplayAngle() 186 if (!addAnglePlatformAttributes(cnx, attrs)) { in getPlatformDisplayAngle() 193 dpy = cnx->egl.eglGetPlatformDisplay(EGL_PLATFORM_ANGLE_ANGLE, in getPlatformDisplayAngle() 219 egl_connection_t* const cnx = &gEGLImpl; in getPlatformDisplay() local [all …]
|
D | egl_platform_entries.cpp | 359 egl_connection_t* const cnx = &gEGLImpl; in eglGetConfigsImpl() local 360 if (cnx->dso) { in eglGetConfigsImpl() 361 res = cnx->egl.eglGetConfigs( in eglGetConfigsImpl() 382 egl_connection_t* const cnx = &gEGLImpl; in eglChooseConfigImpl() local 383 if (cnx->dso) { in eglChooseConfigImpl() 427 EGLBoolean resAA = cnx->egl.eglChooseConfig( in eglChooseConfigImpl() 439 res = cnx->egl.eglChooseConfig( in eglChooseConfigImpl() 448 egl_connection_t* cnx = nullptr; in eglGetConfigAttribImpl() local 449 const egl_display_ptr dp = validate_display_connection(dpy, cnx); in eglGetConfigAttribImpl() 452 return cnx->egl.eglGetConfigAttrib( in eglGetConfigAttribImpl() [all …]
|
D | Loader.h | 53 void* open(egl_connection_t* cnx); 54 void close(egl_connection_t* cnx); 58 driver_t* attempt_to_load_angle(egl_connection_t* cnx); 59 driver_t* attempt_to_load_updated_driver(egl_connection_t* cnx); 60 …driver_t* attempt_to_load_system_driver(egl_connection_t* cnx, const char* suffix, const bool exac… 61 void unload_system_driver(egl_connection_t* cnx); 62 void initialize_api(void* dso, egl_connection_t* cnx, uint32_t mask);
|
D | egl.cpp | 99 egl_connection_t*& cnx) { in validate_display_connection() argument 100 cnx = nullptr; in validate_display_connection() 104 cnx = &gEGLImpl; in validate_display_connection() 105 if (cnx->dso == nullptr) { in validate_display_connection() 189 egl_connection_t* cnx = &gEGLImpl; in egl_init_drivers_locked() local 190 cnx->hooks[egl_connection_t::GLESv1_INDEX] = &gHooks[egl_connection_t::GLESv1_INDEX]; in egl_init_drivers_locked() 191 cnx->hooks[egl_connection_t::GLESv2_INDEX] = &gHooks[egl_connection_t::GLESv2_INDEX]; in egl_init_drivers_locked() 192 cnx->dso = loader.open(cnx); in egl_init_drivers_locked() 195 if (cnx->dso) { in egl_init_drivers_locked() 199 layer_loader.InitLayers(cnx); in egl_init_drivers_locked() [all …]
|
D | egl_cache.cpp | 82 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()
|
D | egl_layers.cpp | 258 void LayerLoader::InitLayers(egl_connection_t* cnx) { in InitLayers() argument 277 curr = reinterpret_cast<EGLFuncPointer*>(&cnx->platform); in InitLayers() 282 curr = reinterpret_cast<EGLFuncPointer*>(&cnx->egl); in InitLayers() 287 curr = reinterpret_cast<EGLFuncPointer*>(&cnx->hooks[egl_connection_t::GLESv2_INDEX]->gl); in InitLayers() 301 curr = reinterpret_cast<EGLFuncPointer*>(&cnx->platform); in InitLayers() 309 curr = reinterpret_cast<EGLFuncPointer*>(&cnx->egl); in InitLayers() 321 curr = reinterpret_cast<EGLFuncPointer*>(&cnx->hooks[egl_connection_t::GLESv2_INDEX]->gl); in InitLayers()
|
D | egl_object.cpp | 59 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(nullptr), draw(nullptr), cnx(cnx), version(version) { in egl_context_t()
|
D | egl_object.h | 135 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
|
D | egl_display.h | 190 egl_connection_t*& cnx);
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2.cpp | 304 egl_connection_t* const cnx = egl_get_connection(); in glGetString() local 305 return cnx->platform.glGetString(name); in glGetString() 309 egl_connection_t* const cnx = egl_get_connection(); in glGetStringi() local 310 return cnx->platform.glGetStringi(name, index); in glGetStringi() 314 egl_connection_t* const cnx = egl_get_connection(); in glGetBooleanv() local 315 return cnx->platform.glGetBooleanv(pname, data); in glGetBooleanv() 319 egl_connection_t* const cnx = egl_get_connection(); in glGetFloatv() local 320 return cnx->platform.glGetFloatv(pname, data); in glGetFloatv() 324 egl_connection_t* const cnx = egl_get_connection(); in glGetIntegerv() local 325 return cnx->platform.glGetIntegerv(pname, data); in glGetIntegerv() [all …]
|