Lines Matching refs:originalBitmap
239 bool SkBitmapHeap::copyBitmap(const SkBitmap& originalBitmap, SkBitmap& copiedBitmap) { in copyBitmap() argument
244 if (originalBitmap.isImmutable()) { in copyBitmap()
245 copiedBitmap = originalBitmap; in copyBitmap()
250 } else if (originalBitmap.empty()) { in copyBitmap()
252 } else if (!originalBitmap.deepCopyTo(&copiedBitmap)) { in copyBitmap()
272 int32_t SkBitmapHeap::insert(const SkBitmap& originalBitmap) { in insert() argument
274 int searchIndex = this->findInLookupTable(LookupEntry(originalBitmap), &entry); in insert()
298 LookupEntry* lookupEntry = this->findEntryToReplace(originalBitmap); in insert()
330 copySucceeded = fExternalStorage->insert(originalBitmap, entry->fSlot); in insert()
332 copySucceeded = copyBitmap(originalBitmap, entry->fBitmap); in insert()
359 entry->fBytesAllocated = originalBitmap.getSize(); in insert()