summaryrefslogtreecommitdiffstats
path: root/opengl/libs/EGL
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-08-20 19:09:34 -0700
committerMathias Agopian <mathias@google.com>2009-08-20 19:09:34 -0700
commitbaca89c06a40c6c19ae2294fb4263d893126320c (patch)
treed8890896088c110ab3e72550ffad378d605915a1 /opengl/libs/EGL
parent2f142745be3d59b08dc148c518f8fc4d3ead77e9 (diff)
downloadframeworks_native-baca89c06a40c6c19ae2294fb4263d893126320c.zip
frameworks_native-baca89c06a40c6c19ae2294fb4263d893126320c.tar.gz
frameworks_native-baca89c06a40c6c19ae2294fb4263d893126320c.tar.bz2
fix a bug in ComponentSizeChooser where it could pick a software EGLConfig instead of a better h/w one.
We now just try to honor the stencil / depth buffer "at least", while doing a "shortest distance" on the colors.
Diffstat (limited to 'opengl/libs/EGL')
-rw-r--r--opengl/libs/EGL/Loader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl/libs/EGL/Loader.cpp b/opengl/libs/EGL/Loader.cpp
index 445e681..d51b333 100644
--- a/opengl/libs/EGL/Loader.cpp
+++ b/opengl/libs/EGL/Loader.cpp
@@ -224,12 +224,12 @@ void Loader::init_api(void* dso,
void *Loader::load_driver(const char* driver, gl_hooks_t* hooks, uint32_t mask)
{
- //LOGD("%s", driver);
void* dso = dlopen(driver, RTLD_NOW | RTLD_LOCAL);
- LOGE_IF(!dso, "%s", dlerror());
if (dso == 0)
return 0;
+ LOGD("loaded %s", driver);
+
if (mask & EGL) {
getProcAddress = (getProcAddressType)dlsym(dso, "eglGetProcAddress");