Lines Matching refs:mSwapHistory
175 mSwapHistory.clear(); in setSurface()
257 if (mSwapHistory.size() != mSwapHistory.capacity()) { in isSwapChainStuffed()
263 auto& swapA = mSwapHistory[0]; in isSwapChainStuffed()
271 for (size_t i = 1; i < mSwapHistory.size(); i++) { in isSwapChainStuffed()
272 auto& swapB = mSwapHistory[i]; in isSwapChainStuffed()
335 if (CC_LIKELY(mSwapHistory.size() && !Properties::forceDrawFrame)) { in prepareTree()
337 SwapHistory& lastSwap = mSwapHistory.back(); in prepareTree()
467 SwapHistory& swap = mSwapHistory.next(); in draw()
721 if (frame.bufferAge() > (int)mSwapHistory.size()) { in computeDirtyRect()
729 for (int i = mSwapHistory.size() - 1; in computeDirtyRect()
730 i > ((int)mSwapHistory.size()) - frame.bufferAge(); i--) { in computeDirtyRect()
731 dirty->join(mSwapHistory[i].damage); in computeDirtyRect()