Searched refs:mEglImage (Results 1 – 4 of 4) sorted by relevance
217 if (item->mGraphicBuffer != nullptr || mEglSlots[slot].mEglImage.get() == nullptr) { in onAcquireBufferLocked()218 mEglSlots[slot].mEglImage = new EglImage(st.mSlots[slot].mGraphicBuffer); in onAcquireBufferLocked()252 err = mEglSlots[slot].mEglImage->createIfNeeded(mEglDisplay); in updateAndReleaseLocked()282 sp<EglImage> nextTextureImage = mEglSlots[slot].mEglImage; in updateAndReleaseLocked()433 if (!mEglSlots[slot].mEglImage.get()) { in attachToContext()434 mEglSlots[slot].mEglImage = new EglImage(st.mSlots[slot].mGraphicBuffer); in attachToContext()436 mCurrentTextureImage = mEglSlots[slot].mEglImage; in attachToContext()597 mEglSlots[slotIndex].mEglImage.clear(); in onFreeBufferLocked()605 : mGraphicBuffer(graphicBuffer), mEglImage(EGL_NO_IMAGE_KHR), mEglDisplay(EGL_NO_DISPLAY) {} in EglImage()608 if (mEglImage != EGL_NO_IMAGE_KHR) { in ~EglImage()[all …]
205 EGLImageKHR mEglImage; variable260 sp<EglImage> mEglImage; member
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()[all …]
337 EGLImageKHR mEglImage; variable453 sp<EglImage> mEglImage; member