Home
last modified time | relevance | path

Searched refs:lockedIdx (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/gui/
DCpuConsumer.cpp175 size_t lockedIdx = 0; in lockNextBuffer() local
176 for (; lockedIdx < mMaxLockedBuffers; lockedIdx++) { in lockNextBuffer()
177 if (mAcquiredBuffers[lockedIdx].mSlot == in lockNextBuffer()
182 assert(lockedIdx < mMaxLockedBuffers); in lockNextBuffer()
184 AcquiredBuffer &ab = mAcquiredBuffers.editItemAt(lockedIdx); in lockNextBuffer()
217 size_t lockedIdx = 0; in unlockBuffer() local
221 for (; lockedIdx < mMaxLockedBuffers; lockedIdx++) { in unlockBuffer()
222 if (bufPtr == mAcquiredBuffers[lockedIdx].mBufferPointer) break; in unlockBuffer()
224 if (lockedIdx == mMaxLockedBuffers) { in unlockBuffer()
229 return releaseAcquiredBufferLocked(lockedIdx); in unlockBuffer()
[all …]
/frameworks/native/include/gui/
DCpuConsumer.h115 status_t releaseAcquiredBufferLocked(int lockedIdx);
/frameworks/rs/
DrsGrallocConsumer.cpp124 size_t lockedIdx = 0; in lockNextBuffer() local