Loading opengl/libs/EGL/egl.cpp +3 −3 Original line number Original line Diff line number Diff line Loading @@ -95,12 +95,12 @@ void initEglTraceLevel() { if (fgets(cmdline, sizeof(cmdline) - 1, file)) if (fgets(cmdline, sizeof(cmdline) - 1, file)) { { if (!strcmp(value, cmdline)) if (!strcmp(value, cmdline)) sEGLTraceLevel = 1; gEGLDebugLevel = 1; } } fclose(file); fclose(file); } } if (sEGLTraceLevel > 0) if (gEGLDebugLevel > 0) { { property_get("debug.egl.debug_port", value, "5039"); property_get("debug.egl.debug_port", value, "5039"); const unsigned short port = (unsigned short)atoi(value); const unsigned short port = (unsigned short)atoi(value); Loading @@ -117,7 +117,7 @@ void setGLHooksThreadSpecific(gl_hooks_t const *value) { if (sEGLTraceLevel > 0) { if (sEGLTraceLevel > 0) { setGlTraceThreadSpecific(value); setGlTraceThreadSpecific(value); setGlThreadSpecific(&gHooksTrace); setGlThreadSpecific(&gHooksTrace); } else if (sEGLTraceLevel > 0 && value != &gHooksNoContext) { } else if (gEGLDebugLevel > 0 && value != &gHooksNoContext) { setGlTraceThreadSpecific(value); setGlTraceThreadSpecific(value); setGlThreadSpecific(&gHooksDebug); setGlThreadSpecific(&gHooksDebug); } else { } else { Loading Loading
opengl/libs/EGL/egl.cpp +3 −3 Original line number Original line Diff line number Diff line Loading @@ -95,12 +95,12 @@ void initEglTraceLevel() { if (fgets(cmdline, sizeof(cmdline) - 1, file)) if (fgets(cmdline, sizeof(cmdline) - 1, file)) { { if (!strcmp(value, cmdline)) if (!strcmp(value, cmdline)) sEGLTraceLevel = 1; gEGLDebugLevel = 1; } } fclose(file); fclose(file); } } if (sEGLTraceLevel > 0) if (gEGLDebugLevel > 0) { { property_get("debug.egl.debug_port", value, "5039"); property_get("debug.egl.debug_port", value, "5039"); const unsigned short port = (unsigned short)atoi(value); const unsigned short port = (unsigned short)atoi(value); Loading @@ -117,7 +117,7 @@ void setGLHooksThreadSpecific(gl_hooks_t const *value) { if (sEGLTraceLevel > 0) { if (sEGLTraceLevel > 0) { setGlTraceThreadSpecific(value); setGlTraceThreadSpecific(value); setGlThreadSpecific(&gHooksTrace); setGlThreadSpecific(&gHooksTrace); } else if (sEGLTraceLevel > 0 && value != &gHooksNoContext) { } else if (gEGLDebugLevel > 0 && value != &gHooksNoContext) { setGlTraceThreadSpecific(value); setGlTraceThreadSpecific(value); setGlThreadSpecific(&gHooksDebug); setGlThreadSpecific(&gHooksDebug); } else { } else { Loading