From 2e080904aba15f585fcf36df9b12ff8d00829523 Mon Sep 17 00:00:00 2001 From: Siva Velusamy Date: Wed, 10 Oct 2012 10:35:41 -0700 Subject: [PATCH] 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 --- opengl/libs/EGL/egl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/opengl/libs/EGL/egl.cpp b/opengl/libs/EGL/egl.cpp index 7ca210c2f..085d3b0aa 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(