Loading opengl/libs/EGL/egl.cpp +5 −0 Original line number Original line Diff line number Diff line Loading @@ -331,6 +331,11 @@ EGLBoolean egl_init_drivers() { void gl_unimplemented() { void gl_unimplemented() { ALOGE("called unimplemented OpenGL ES API"); ALOGE("called unimplemented OpenGL ES API"); char value[PROPERTY_VALUE_MAX]; property_get("debug.egl.callstack", value, "0"); if (atoi(value)) { CallStack stack(LOG_TAG); } } } void gl_noop() { void gl_noop() { Loading services/surfaceflinger/SurfaceFlinger.cpp +4 −0 Original line number Original line Diff line number Diff line Loading @@ -487,6 +487,10 @@ status_t SurfaceFlinger::readyToRun() } } } } // make the GLContext current so that we can create textures when creating Layers // (which may happens before we render something) getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); // start the EventThread // start the EventThread mEventThread = new EventThread(this); mEventThread = new EventThread(this); mEventQueue.setEventThread(mEventThread); mEventQueue.setEventThread(mEventThread); Loading Loading
opengl/libs/EGL/egl.cpp +5 −0 Original line number Original line Diff line number Diff line Loading @@ -331,6 +331,11 @@ EGLBoolean egl_init_drivers() { void gl_unimplemented() { void gl_unimplemented() { ALOGE("called unimplemented OpenGL ES API"); ALOGE("called unimplemented OpenGL ES API"); char value[PROPERTY_VALUE_MAX]; property_get("debug.egl.callstack", value, "0"); if (atoi(value)) { CallStack stack(LOG_TAG); } } } void gl_noop() { void gl_noop() { Loading
services/surfaceflinger/SurfaceFlinger.cpp +4 −0 Original line number Original line Diff line number Diff line Loading @@ -487,6 +487,10 @@ status_t SurfaceFlinger::readyToRun() } } } } // make the GLContext current so that we can create textures when creating Layers // (which may happens before we render something) getDefaultDisplayDevice()->makeCurrent(mEGLDisplay, mEGLContext); // start the EventThread // start the EventThread mEventThread = new EventThread(this); mEventThread = new EventThread(this); mEventQueue.setEventThread(mEventThread); mEventQueue.setEventThread(mEventThread); Loading