Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkCachedData.cpp51 fStorage.fDM = dm; in SkCachedData()
61 SkDELETE(fStorage.fDM); in ~SkCachedData()
150 if (fStorage.fDM->lock()) { in inMutexLock()
151 void* ptr = fStorage.fDM->data(); in inMutexLock()
173 fStorage.fDM->unlock(); in inMutexUnlock()
DSkResourceCache.cpp88 SkDiscardableMemory* fDM; member in SkOneShotDiscardablePixelRef
99 , fDM(dm) in SkOneShotDiscardablePixelRef()
107 SkDELETE(fDM); in ~SkOneShotDiscardablePixelRef()
113 SkASSERT(fDM->data()); in onNewLockPixels()
119 if (NULL == fDM) { in onNewLockPixels()
123 if (!fDM->lock()) { in onNewLockPixels()
125 delete fDM; in onNewLockPixels()
126 fDM = NULL; in onNewLockPixels()
131 rec->fPixels = fDM->data(); in onNewLockPixels()
139 fDM->unlock(); in onUnlockPixels()
DSkCachedData.h46 SkDiscardableMemory* fDM; member