Home
last modified time | relevance | path

Searched refs:mCurrentTexture (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/gui/
DGLConsumer.cpp122 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer()
151 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer()
245 int buf = mCurrentTexture; in releaseTexImage()
273 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in releaseTexImage()
394 if (slot != mCurrentTexture) { in updateAndReleaseLocked()
408 mCurrentTexture, mCurrentTextureImage != nullptr ? in updateAndReleaseLocked()
418 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
421 mCurrentTexture, mCurrentTextureImage->graphicBuffer(), in updateAndReleaseLocked()
422 mEglDisplay, mEglSlots[mCurrentTexture].mEglFence); in updateAndReleaseLocked()
430 pendingRelease->currentTexture = mCurrentTexture; in updateAndReleaseLocked()
[all …]
/frameworks/base/libs/hwui/surfacetexture/
DEGLConsumer.cpp137 int buf = st.mCurrentTexture; in releaseTexImage()
163 st.mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in releaseTexImage()
261 if (slot != st.mCurrentTexture) { in updateAndReleaseLocked()
275 "updateAndRelease: (slot=%d buf=%p) -> (slot=%d buf=%p)", st.mCurrentTexture, in updateAndReleaseLocked()
285 if (st.mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
288 st.mCurrentTexture, mCurrentTextureImage->graphicBuffer(), mEglDisplay, in updateAndReleaseLocked()
289 mEglSlots[st.mCurrentTexture].mEglFence); in updateAndReleaseLocked()
297 pendingRelease->currentTexture = st.mCurrentTexture; in updateAndReleaseLocked()
300 pendingRelease->fence = mEglSlots[st.mCurrentTexture].mEglFence; in updateAndReleaseLocked()
306 st.mCurrentTexture = slot; in updateAndReleaseLocked()
[all …]
DSurfaceTexture.cpp54 , mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT) in SurfaceTexture()
79 , mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT) in SurfaceTexture()
200 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in attachToContext()
202 mImageConsumer.onFreeBufferLocked(mCurrentTexture); in attachToContext()
218 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in attachToView()
220 mEGLConsumer.onFreeBufferLocked(mCurrentTexture); in attachToView()
266 if (needsRecompute && mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT) { in setFilteringEnabled()
270 if (needsRecompute && mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in setFilteringEnabled()
277 sp<GraphicBuffer> buf = (mCurrentTexture == BufferQueue::INVALID_BUFFER_SLOT) in computeCurrentTransformMatrixLocked()
279 : mSlots[mCurrentTexture].mGraphicBuffer; in computeCurrentTransformMatrixLocked()
[all …]
DImageConsumer.cpp197 int slot = st.mCurrentTexture; in dequeueImage()
226 if (st.mCurrentTexture != BufferItem::INVALID_BUFFER_SLOT) { in dequeueImage()
249 st.mCurrentTexture, st.mSlots[st.mCurrentTexture].mGraphicBuffer, releaseFence); in dequeueImage()
260 st.mCurrentTexture, st.mSlots[st.mCurrentTexture].mGraphicBuffer, display, in dequeueImage()
261 mImageSlots[st.mCurrentTexture].eglFence()); in dequeueImage()
270 st.mCurrentTexture = slot; in dequeueImage()
DSurfaceTexture.h423 int mCurrentTexture; variable
/frameworks/native/services/surfaceflinger/
DBufferLayerConsumer.cpp76 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT) { in BufferLayerConsumer()
176 auto slot = mPendingRelease.isPending ? mPendingRelease.currentTexture : mCurrentTexture; in setReleaseFence()
236 BLC_LOGV("updateAndRelease: (slot=%d buf=%p) -> (slot=%d buf=%p)", mCurrentTexture, in updateAndReleaseLocked()
253 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
256 releaseBufferLocked(mCurrentTexture, mCurrentTextureBuffer->graphicBuffer()); in updateAndReleaseLocked()
264 pendingRelease->currentTexture = mCurrentTexture; in updateAndReleaseLocked()
271 mCurrentTexture = slot; in updateAndReleaseLocked()
381 *outSlot = mCurrentTexture; in getCurrentBuffer()
449 if (slotIndex == mCurrentTexture) { in freeBufferLocked()
450 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
[all …]
DBufferLayerConsumer.h348 int mCurrentTexture; variable
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h489 int mCurrentTexture; variable