summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2012-10-10 10:35:41 -0700
committerSiva Velusamy <vsiva@google.com>2012-10-10 10:35:41 -0700
commit2e080904aba15f585fcf36df9b12ff8d00829523 (patch)
treeaadf3feb2ce904911aef61edd07fe7fcb6ea3b31
parent58deaa8b29c2cb437c1e268a2587b5fd32012e4c (diff)
downloadframeworks_native-2e080904aba15f585fcf36df9b12ff8d00829523.zip
frameworks_native-2e080904aba15f585fcf36df9b12ff8d00829523.tar.gz
frameworks_native-2e080904aba15f585fcf36df9b12ff8d00829523.tar.bz2
gltrace: Do not start gltrace from early_egl_init.
The debugging and tracing levels are initialized both during early_egl_init and egl_display_t::initialize(). For apps this has no effect since early_egl_init is called in the context of zygote. This CL removes the unnecessary call from early_egl_init. Change-Id: Ibc55c26228cd197f2e2623fbfb2d1a63d0722401
-rw-r--r--opengl/libs/EGL/egl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp
index 7ca210c..085d3b0 100644
--- a/opengl/libs/EGL/egl.cpp
+++ b/opengl/libs/EGL/egl.cpp
@@ -192,7 +192,6 @@ static void early_egl_init(void)
#if EGL_TRACE
pthread_key_create(&gGLTraceKey, NULL);
initEglTraceLevel();
- initEglDebugLevel();
#endif
uint32_t addr = (uint32_t)((void*)gl_no_context);
android_memset32(