Lines Matching refs:mBuffers
84 if (mBuffers.size() > 0) { in shutdown()
86 for (auto&& rec : mBuffers) { in shutdown()
93 mBuffers.clear(); in shutdown()
222 } else if (buffer.bufferId >= mBuffers.size()) { in doneWithFrame()
224 buffer.bufferId, mBuffers.size()-1); in doneWithFrame()
225 } else if (!mBuffers[buffer.bufferId].inUse) { in doneWithFrame()
230 mBuffers[buffer.bufferId].inUse = false; in doneWithFrame()
237 for (auto&& rec : mBuffers) { in doneWithFrame()
239 rec.handle = mBuffers[buffer.bufferId].handle; in doneWithFrame()
240 mBuffers[buffer.bufferId].handle = nullptr; in doneWithFrame()
376 for (auto&& rec : mBuffers) { in increaseAvailableFrames_Locked()
387 mBuffers.emplace_back(memHandle); in increaseAvailableFrames_Locked()
404 for (auto&& rec : mBuffers) { in decreaseAvailableFrames_Locked()
439 for (idx = 0; idx < mBuffers.size(); idx++) { in forwardFrame()
440 if (!mBuffers[idx].inUse) { in forwardFrame()
441 if (mBuffers[idx].handle != nullptr) { in forwardFrame()
447 if (idx >= mBuffers.size()) { in forwardFrame()
452 mBuffers[idx].inUse = true; in forwardFrame()
471 buff.memHandle = mBuffers[idx].handle; in forwardFrame()
512 mBuffers[idx].inUse = false; in forwardFrame()