Home
last modified time | relevance | path

Searched refs:SkBitmapHeapEntry (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkBitmapHeap.cpp13 SkBitmapHeapEntry::SkBitmapHeapEntry() in SkBitmapHeapEntry() function in SkBitmapHeapEntry
19 SkBitmapHeapEntry::~SkBitmapHeapEntry() { in ~SkBitmapHeapEntry()
23 void SkBitmapHeapEntry::addReferences(int count) { in addReferences()
103 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry)); in ~SkBitmapHeap()
158 SkBitmapHeapEntry* heapEntry = fStorage[iter->fStorageSlot]; in findEntryToReplace()
186 SkBitmapHeapEntry* heapEntry = fStorage[iter->fStorageSlot]; in freeMemoryIfPossible()
209 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry)); in freeMemoryIfPossible()
221 int SkBitmapHeap::findInLookupTable(const LookupEntry& indexEntry, SkBitmapHeapEntry** entry) { in findInLookupTable()
273 SkBitmapHeapEntry* entry = nullptr; in insert()
320 entry = new SkBitmapHeapEntry; in insert()
[all …]
DSkBitmapHeap.h23 class SkBitmapHeapEntry : SkNoncopyable {
25 ~SkBitmapHeapEntry();
36 SkBitmapHeapEntry();
123 SkBitmapHeapEntry* entry = getEntry(slot); in getBitmap()
138 SkBitmapHeapEntry* entry = getEntry(slot); in releaseRef()
163 SkBitmapHeapEntry* getEntry(int32_t slot) const { in getEntry()
255 int findInLookupTable(const LookupEntry& key, SkBitmapHeapEntry** entry);
280 SkTDArray<SkBitmapHeapEntry*> fStorage;
/external/skia/tests/
DBitmapHeapTest.cpp40 static int32_t GetRefCount(const SkBitmapHeapEntry* entry) { in GetRefCount()
77 SkBitmapHeapEntry* entry = heap.getEntry(0); in DEF_TEST()