Lines Matching refs:batchIdx
840 for (size_t batchIdx = 0; batchIdx < numBufferRequested; batchIdx++) { in dequeueBuffers() local
841 const auto& output = dequeueOutput[batchIdx]; in dequeueBuffers()
855 buffers->at(batchIdx).fenceFd = output.fence->dup(); in dequeueBuffers()
856 if (buffers->at(batchIdx).fenceFd == -1) { in dequeueBuffers()
863 buffers->at(batchIdx).fenceFd = -1; in dequeueBuffers()
866 buffers->at(batchIdx).buffer = gbuf.get(); in dequeueBuffers()
1174 for (size_t batchIdx = 0; batchIdx < numBuffers; batchIdx++) { in queueBuffers() local
1175 int i = getSlotFromBufferLocked(buffers[batchIdx].buffer); in queueBuffers()
1177 if (buffers[batchIdx].fenceFd >= 0) { in queueBuffers()
1178 close(buffers[batchIdx].fenceFd); in queueBuffers()
1182 bufferSlots[batchIdx] = i; in queueBuffers()
1186 buffers[batchIdx].buffer, buffers[batchIdx].fenceFd, buffers[batchIdx].timestamp, in queueBuffers()
1188 bufferFences[batchIdx] = input.fence; in queueBuffers()
1189 queueBufferInputs[batchIdx] = input; in queueBuffers()
1200 for (size_t batchIdx = 0; batchIdx < numBuffers; batchIdx++) { in queueBuffers() local
1201 onBufferQueuedLocked(bufferSlots[batchIdx], bufferFences[batchIdx], in queueBuffers()
1202 queueBufferOutputs[batchIdx]); in queueBuffers()