Home
last modified time | relevance | path

Searched refs:mEglSlots (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/surfacetexture/
DEGLConsumer.cpp217 if (item->mGraphicBuffer != nullptr || mEglSlots[slot].mEglImage.get() == nullptr) { in onAcquireBufferLocked()
218 mEglSlots[slot].mEglImage = new EglImage(st.mSlots[slot].mGraphicBuffer); in onAcquireBufferLocked()
223 mEglSlots[buf].mEglFence = EGL_NO_SYNC_KHR; in onReleaseBufferLocked()
252 err = mEglSlots[slot].mEglImage->createIfNeeded(mEglDisplay); in updateAndReleaseLocked()
282 sp<EglImage> nextTextureImage = mEglSlots[slot].mEglImage; in updateAndReleaseLocked()
289 mEglSlots[st.mCurrentTexture].mEglFence); in updateAndReleaseLocked()
300 pendingRelease->fence = mEglSlots[st.mCurrentTexture].mEglFence; 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()
[all …]
DEGLConsumer.h296 EglSlot mEglSlots[BufferQueueDefs::NUM_BUFFER_SLOTS]; variable
/frameworks/native/libs/gui/
DGLConsumer.cpp338 mEglSlots[slot].mEglImage = new EglImage(item->mGraphicBuffer); in acquireBufferLocked()
353 mEglSlots[buf].mEglFence = EGL_NO_SYNC_KHR; in releaseBufferLocked()
385 err = mEglSlots[slot].mEglImage->createIfNeeded(mEglDisplay); in updateAndReleaseLocked()
416 sp<EglImage> nextTextureImage = mEglSlots[slot].mEglImage; in updateAndReleaseLocked()
423 mEglDisplay, mEglSlots[mCurrentTexture].mEglFence); in updateAndReleaseLocked()
435 pendingRelease->fence = mEglSlots[mCurrentTexture].mEglFence; in updateAndReleaseLocked()
675 EGLSyncKHR fence = mEglSlots[mCurrentTexture].mEglFence; in syncForReleaseLocked()
703 mEglSlots[mCurrentTexture].mEglFence = fence; in syncForReleaseLocked()
911 mEglSlots[slotIndex].mEglImage.clear(); in freeBufferLocked()
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h481 EglSlot mEglSlots[BufferQueueDefs::NUM_BUFFER_SLOTS]; variable