Lines Matching refs:mSwapHistory
172 mSwapHistory.clear(); in setSurface()
254 if (mSwapHistory.size() != mSwapHistory.capacity()) { in isSwapChainStuffed()
260 auto& swapA = mSwapHistory[0]; in isSwapChainStuffed()
268 for (size_t i = 1; i < mSwapHistory.size(); i++) { in isSwapChainStuffed()
269 auto& swapB = mSwapHistory[i]; in isSwapChainStuffed()
332 if (CC_LIKELY(mSwapHistory.size() && !Properties::forceDrawFrame)) { in prepareTree()
334 SwapHistory& lastSwap = mSwapHistory.back(); in prepareTree()
464 SwapHistory& swap = mSwapHistory.next(); in draw()
718 if (frame.bufferAge() > (int)mSwapHistory.size()) { in computeDirtyRect()
726 for (int i = mSwapHistory.size() - 1; in computeDirtyRect()
727 i > ((int)mSwapHistory.size()) - frame.bufferAge(); i--) { in computeDirtyRect()
728 dirty->join(mSwapHistory[i].damage); in computeDirtyRect()