Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkCachedData.cpp50 fStorage.fDM = dm; in SkCachedData()
60 delete fStorage.fDM; in ~SkCachedData()
149 if (fStorage.fDM->lock()) { in inMutexLock()
150 void* ptr = fStorage.fDM->data(); in inMutexLock()
172 fStorage.fDM->unlock(); in inMutexUnlock()
DSkResourceCache.cpp92 SkDiscardableMemory* diagnostic_only_getDiscardable() const override { return fDM; } in diagnostic_only_getDiscardable()
95 SkDiscardableMemory* fDM; member in SkOneShotDiscardablePixelRef
108 , fDM(dm) in SkOneShotDiscardablePixelRef()
118 delete fDM; in ~SkOneShotDiscardablePixelRef()
125 SkASSERT(fDM->data()); in onNewLockPixels()
131 if (nullptr == fDM) { in onNewLockPixels()
135 if (!fDM->lock()) { in onNewLockPixels()
137 delete fDM; in onNewLockPixels()
138 fDM = nullptr; in onNewLockPixels()
143 rec->fPixels = fDM->data(); in onNewLockPixels()
[all …]
DSkCachedData.h35 return kDiscardableMemory_StorageType == fStorageType ? fStorage.fDM : nullptr; in diagnostic_only_getDiscardable()
51 SkDiscardableMemory* fDM; member