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
This commit is contained in:
Siva Velusamy 2012-10-10 10:35:41 -07:00
parent 58deaa8b29
commit 2e080904ab
1 changed files with 0 additions and 1 deletions

View File

@ -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(