Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ed8b613f authored by Pablo Ceballos's avatar Pablo Ceballos Committed by android-build-merger
Browse files

Merge "Revert "Add debug dump if about to segfault"" into nyc-dev

am: 876c150b

* commit '876c150b':
  Revert "Add debug dump if about to segfault"

Change-Id: Ibedf9b01990c6283cbb908b47acb41e93ace37dd
parents 91ea3c08 876c150b
Loading
Loading
Loading
Loading
+0 −15
Original line number Diff line number Diff line
@@ -416,21 +416,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.