Lines Matching refs:CacheBlock
30 // CacheBlock
38 CacheBlock* CacheBlock::insertBlock(CacheBlock* head, CacheBlock* newBlock) {
44 CacheBlock* currBlock = head;
45 CacheBlock* prevBlock = nullptr;
81 CacheBlock* CacheBlock::removeBlock(CacheBlock* head, CacheBlock* blockToRemove) {
87 CacheBlock* newHead = head;
88 CacheBlock* nextBlock = blockToRemove->mNext;
89 CacheBlock* prevBlock = blockToRemove->mPrev;
123 new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE,
141 CacheBlock* tmpBlock = mCacheBlocks;
153 new CacheBlock(TEXTURE_BORDER_SIZE, TEXTURE_BORDER_SIZE,
269 CacheBlock* cacheBlock = mCacheBlocks;
294 // There's enough height left over to create a new CacheBlock
295 CacheBlock* newBlock =
296 new CacheBlock(oldX, glyphH + TEXTURE_BORDER_SIZE, roundedUpW,
303 mCacheBlocks = CacheBlock::insertBlock(mCacheBlocks, newBlock);
318 mCacheBlocks = CacheBlock::removeBlock(mCacheBlocks, cacheBlock);
343 CacheBlock* cacheBlock = mCacheBlocks;