Lines Matching refs:mEglImage
338 mEglSlots[slot].mEglImage = new EglImage(item->mGraphicBuffer); in acquireBufferLocked()
385 err = mEglSlots[slot].mEglImage->createIfNeeded(mEglDisplay); in updateAndReleaseLocked()
416 sp<EglImage> nextTextureImage = mEglSlots[slot].mEglImage; in updateAndReleaseLocked()
911 mEglSlots[slotIndex].mEglImage.clear(); in freeBufferLocked()
939 mEglImage(EGL_NO_IMAGE_KHR), in EglImage()
944 if (mEglImage != EGL_NO_IMAGE_KHR) { in ~EglImage()
945 if (!eglDestroyImageKHR(mEglDisplay, mEglImage)) { in ~EglImage()
956 bool haveImage = mEglImage != EGL_NO_IMAGE_KHR; in createIfNeeded()
959 if (!eglDestroyImageKHR(mEglDisplay, mEglImage)) { in createIfNeeded()
964 mEglImage = EGL_NO_IMAGE_KHR; in createIfNeeded()
969 if (mEglImage == EGL_NO_IMAGE_KHR) { in createIfNeeded()
971 mEglImage = createImage(mEglDisplay, mGraphicBuffer); in createIfNeeded()
975 if (mEglImage == EGL_NO_IMAGE_KHR) { in createIfNeeded()
989 static_cast<GLeglImageOES>(mEglImage)); in bindToTextureTarget()