Lines Matching refs:mEglImage
337 mEglSlots[slot].mEglImage = new EglImage(item->mGraphicBuffer); in acquireBufferLocked()
384 err = mEglSlots[slot].mEglImage->createIfNeeded(mEglDisplay); in updateAndReleaseLocked()
415 sp<EglImage> nextTextureImage = mEglSlots[slot].mEglImage; in updateAndReleaseLocked()
910 mEglSlots[slotIndex].mEglImage.clear(); in freeBufferLocked()
938 mEglImage(EGL_NO_IMAGE_KHR), in EglImage()
943 if (mEglImage != EGL_NO_IMAGE_KHR) { in ~EglImage()
944 if (!eglDestroyImageKHR(mEglDisplay, mEglImage)) { in ~EglImage()
955 bool haveImage = mEglImage != EGL_NO_IMAGE_KHR; in createIfNeeded()
958 if (!eglDestroyImageKHR(mEglDisplay, mEglImage)) { in createIfNeeded()
963 mEglImage = EGL_NO_IMAGE_KHR; in createIfNeeded()
968 if (mEglImage == EGL_NO_IMAGE_KHR) { in createIfNeeded()
970 mEglImage = createImage(mEglDisplay, mGraphicBuffer); in createIfNeeded()
974 if (mEglImage == EGL_NO_IMAGE_KHR) { in createIfNeeded()
988 static_cast<GLeglImageOES>(mEglImage)); in bindToTextureTarget()