Lines Matching refs:batchIdx
880 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()
1206 bufferSlots[batchIdx] = i; in queueBuffers()
1210 buffers[batchIdx].buffer, buffers[batchIdx].fenceFd, buffers[batchIdx].timestamp, in queueBuffers()
1212 bufferFences[batchIdx] = input.fence; in queueBuffers()
1213 queueBufferInputs[batchIdx] = input; in queueBuffers()
1224 for (size_t batchIdx = 0; batchIdx < numBuffers; batchIdx++) { in queueBuffers() local
1225 onBufferQueuedLocked(bufferSlots[batchIdx], bufferFences[batchIdx], in queueBuffers()
1226 queueBufferOutputs[batchIdx]); in queueBuffers()