Lines Matching refs:mInFlightCommands
778 ASSERT(mInFlightCommands.empty() && mGarbageQueue.empty()); in destroy()
803 for (CommandBatch &batch : mInFlightCommands) in checkCompletedCommands()
831 CommandBatch &batch = mInFlightCommands[commandIndex]; in retireFinishedCommands()
843 auto beginIter = mInFlightCommands.begin(); in retireFinishedCommands()
844 mInFlightCommands.erase(beginIter, beginIter + finishedCount); in retireFinishedCommands()
923 for (CommandBatch &batch : mInFlightCommands) in handleDeviceLost()
937 mInFlightCommands.clear(); in handleDeviceLost()
942 return mInFlightCommands.empty() || mInFlightCommands[0].serial > serial; in allInFlightCommandsAreAfterSerial()
947 if (mInFlightCommands.empty()) in finishToSerial()
955 ASSERT(CommandsHaveValidOrdering(mInFlightCommands)); in finishToSerial()
958 while (finishedCount < mInFlightCommands.size() && in finishToSerial()
959 mInFlightCommands[finishedCount].serial <= finishSerial) in finishToSerial()
969 const CommandBatch &batch = mInFlightCommands[finishedCount - 1]; in finishToSerial()
1051 mInFlightCommands.emplace_back(scopedBatch.release()); in submitFrame()
1057 if (mInFlightCommands.size() > kInFlightCommandsLimit) in submitFrame()
1059 size_t numCommandsToFinish = mInFlightCommands.size() - kInFlightCommandsLimit; in submitFrame()
1060 Serial finishSerial = mInFlightCommands[numCommandsToFinish].serial; in submitFrame()
1073 if (mInFlightCommands.empty()) in waitForSerialWithUserTimeout()
1080 if (serial < mInFlightCommands[0].serial) in waitForSerialWithUserTimeout()
1087 while (batchIndex != mInFlightCommands.size() && mInFlightCommands[batchIndex].serial < serial) in waitForSerialWithUserTimeout()
1093 if (batchIndex >= mInFlightCommands.size()) in waitForSerialWithUserTimeout()
1100 ASSERT(serial == mInFlightCommands[batchIndex].serial); in waitForSerialWithUserTimeout()
1102 vk::Fence &fence = mInFlightCommands[batchIndex].fence.get(); in waitForSerialWithUserTimeout()