Home
last modified time | relevance | path

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

/frameworks/native/libs/gui/
DSurface.cpp840 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()
[all …]