Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DGLConsumer.cpp123 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer()
152 mCurrentTexture(BufferQueue::INVALID_BUFFER_SLOT), in GLConsumer()
246 int buf = mCurrentTexture; in releaseTexImage()
274 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in releaseTexImage()
395 if (slot != mCurrentTexture) { in updateAndReleaseLocked()
409 mCurrentTexture, mCurrentTextureImage != nullptr ? in updateAndReleaseLocked()
419 if (mCurrentTexture != BufferQueue::INVALID_BUFFER_SLOT) { in updateAndReleaseLocked()
422 mCurrentTexture, mCurrentTextureImage->graphicBuffer(), in updateAndReleaseLocked()
423 mEglDisplay, mEglSlots[mCurrentTexture].mEglFence); in updateAndReleaseLocked()
431 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.cpp209 int slot = st.mCurrentTexture; in dequeueImage()
238 if (st.mCurrentTexture != BufferItem::INVALID_BUFFER_SLOT) { in dequeueImage()
261 st.mCurrentTexture, st.mSlots[st.mCurrentTexture].mGraphicBuffer, releaseFence); in dequeueImage()
272 st.mCurrentTexture, st.mSlots[st.mCurrentTexture].mGraphicBuffer, display, in dequeueImage()
273 mImageSlots[st.mCurrentTexture].eglFence()); in dequeueImage()
282 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()
390 *outSlot = mCurrentTexture; in getCurrentBuffer()
458 if (slotIndex == mCurrentTexture) { in freeBufferLocked()
459 mCurrentTexture = BufferQueue::INVALID_BUFFER_SLOT; in freeBufferLocked()
[all …]
DBufferLayerConsumer.h350 int mCurrentTexture; variable
/frameworks/native/libs/gui/include/gui/
DGLConsumer.h489 int mCurrentTexture; variable