Lines Matching refs:mEglSlots
219 if (item->mGraphicBuffer != nullptr || mEglSlots[slot].mEglImage.get() == nullptr) { in onAcquireBufferLocked()
220 mEglSlots[slot].mEglImage = new EglImage(st.mSlots[slot].mGraphicBuffer); in onAcquireBufferLocked()
225 mEglSlots[buf].mEglFence = EGL_NO_SYNC_KHR; in onReleaseBufferLocked()
253 err = mEglSlots[slot].mEglImage->createIfNeeded(mEglDisplay); in updateAndReleaseLocked()
283 sp<EglImage> nextTextureImage = mEglSlots[slot].mEglImage; in updateAndReleaseLocked()
291 mEglSlots[st.mCurrentTexture].mEglFence); in updateAndReleaseLocked()
302 pendingRelease->fence = mEglSlots[st.mCurrentTexture].mEglFence; in updateAndReleaseLocked()
436 if (!mEglSlots[slot].mEglImage.get()) { in attachToContext()
437 mEglSlots[slot].mEglImage = new EglImage(st.mSlots[slot].mGraphicBuffer); in attachToContext()
439 mCurrentTextureImage = mEglSlots[slot].mEglImage; in attachToContext()
507 EGLSyncKHR fence = mEglSlots[st.mCurrentTexture].mEglFence; in syncForReleaseLocked()
535 mEglSlots[st.mCurrentTexture].mEglFence = fence; in syncForReleaseLocked()
596 mEglSlots[slotIndex].mEglImage.clear(); in onFreeBufferLocked()