From: Pablo Ceballos Date: Wed, 4 May 2016 17:19:49 +0000 (-0700) Subject: Revert "Add debug dump if about to segfault" X-Git-Tag: android-x86-7.1-r1~145^2~73^2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=73f2c8b123abf245f21ed17db6b2ee5f7f762563;p=android-x86%2Fframeworks-native.git Revert "Add debug dump if about to segfault" This reverts commit 6366a10fd8223c91f1a3422620800cd6ac67ef90. Bug 27674961 --- diff --git a/libs/gui/GLConsumer.cpp b/libs/gui/GLConsumer.cpp index ac8bc6eee7..cf72b00e7a 100644 --- a/libs/gui/GLConsumer.cpp +++ b/libs/gui/GLConsumer.cpp @@ -415,21 +415,6 @@ status_t GLConsumer::updateAndReleaseLocked(const BufferItem& item, return err; } - // For investigating b/27674961 - if (mEglSlots[slot].mEglImage == nullptr) { - ALOGE("If you see this message in a log please post the log to " - "b/27674961"); - ALOGE("slot = %d, mCurrentTexture = %d, mCurrentTextureImage = %p", - slot, mCurrentTexture, mCurrentTextureImage.get()); - for (int i = 0; i < BufferQueue::NUM_BUFFER_SLOTS; i++) { - ALOGE("mEglSlots[%d].mEglImage = %p", i, - mEglSlots[i].mEglImage.get()); - } - String8 dump; - dumpLocked(dump, ""); - ALOGE("%s", dump.string()); - } - // Ensure we have a valid EglImageKHR for the slot, creating an EglImage // if nessessary, for the gralloc buffer currently in the slot in // ConsumerBase.