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()
954 bool haveImage = mEglImage != EGL_NO_IMAGE_KHR; in createIfNeeded()
957 if (!eglDestroyImageKHR(mEglDisplay, mEglImage)) { in createIfNeeded()
961 mEglImage = EGL_NO_IMAGE_KHR; in createIfNeeded()
966 if (mEglImage == EGL_NO_IMAGE_KHR) { in createIfNeeded()
968 mEglImage = createImage(mEglDisplay, mGraphicBuffer); in createIfNeeded()
972 if (mEglImage == EGL_NO_IMAGE_KHR) { in createIfNeeded()
986 static_cast<GLeglImageOES>(mEglImage)); in bindToTextureTarget()