Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DSurface.cpp880 for (size_t batchIdx = 0; batchIdx < numBufferRequested; batchIdx++) { in dequeueBuffers() local
881 const auto& output = dequeueOutput[batchIdx]; in dequeueBuffers()
895 buffers->at(batchIdx).fenceFd = output.fence->dup(); in dequeueBuffers()
896 if (buffers->at(batchIdx).fenceFd == -1) { in dequeueBuffers()
903 buffers->at(batchIdx).fenceFd = -1; in dequeueBuffers()
906 buffers->at(batchIdx).buffer = gbuf.get(); in dequeueBuffers()
1198 for (size_t batchIdx = 0; batchIdx < numBuffers; batchIdx++) { in queueBuffers() local
1199 int i = getSlotFromBufferLocked(buffers[batchIdx].buffer); in queueBuffers()
1201 if (buffers[batchIdx].fenceFd >= 0) { in queueBuffers()
1202 close(buffers[batchIdx].fenceFd); in queueBuffers()
[all …]