Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBitmapHeap.cpp16 SkBitmapHeapEntry::SkBitmapHeapEntry() in SkBitmapHeapEntry() function in SkBitmapHeapEntry
22 SkBitmapHeapEntry::~SkBitmapHeapEntry() { in ~SkBitmapHeapEntry()
26 void SkBitmapHeapEntry::addReferences(int count) { in addReferences()
106 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry)); in ~SkBitmapHeap()
161 SkBitmapHeapEntry* heapEntry = fStorage[iter->fStorageSlot]; in findEntryToReplace()
189 SkBitmapHeapEntry* heapEntry = fStorage[iter->fStorageSlot]; in freeMemoryIfPossible()
212 fBytesAllocated -= (fStorage.count() * sizeof(SkBitmapHeapEntry)); in freeMemoryIfPossible()
224 int SkBitmapHeap::findInLookupTable(const LookupEntry& indexEntry, SkBitmapHeapEntry** entry) { in findInLookupTable()
276 SkBitmapHeapEntry* entry = NULL; in insert()
323 entry = SkNEW(SkBitmapHeapEntry); in insert()
[all …]
DSkBitmapHeap.h22 class SkBitmapHeapEntry : SkNoncopyable {
24 ~SkBitmapHeapEntry();
35 SkBitmapHeapEntry();
122 SkBitmapHeapEntry* entry = getEntry(slot); in getBitmap()
137 SkBitmapHeapEntry* entry = getEntry(slot); in releaseRef()
162 SkBitmapHeapEntry* getEntry(int32_t slot) const { in getEntry()
254 int findInLookupTable(const LookupEntry& key, SkBitmapHeapEntry** entry);
279 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()
/external/skia/src/pipe/
DSkGPipeRead.cpp550 SkBitmapHeapEntry* fHeapEntry;
563 SkBitmapHeapEntry* entry = state->getSharedHeap()->getEntry(index); in BitmapHolder()