Lines Matching refs:fDM
129 , fDM(std::move(dm)) in Rec()
135 SkASSERT(!(fDM && fMalloc)); // can't have both in Rec()
151 if (fDM && kBeforeFirstInstall_ExternalCounter == fExternalCounter) { in ~Rec()
153 SkASSERT(fDM->data()); in ~Rec()
154 fDM->unlock(); in ~Rec()
175 return fDM.get(); in diagnostic_only_getDiscardable()
186 if (rec->fDM) { in ReleaseProc()
190 rec->fDM->unlock(); in ReleaseProc()
201 if (!fDM && !fMalloc) { in install()
211 if (fDM) { in install()
213 SkASSERT(fDM->data()); in install()
215 SkASSERT(fDM->data()); in install()
218 if (!fDM->lock()) { in install()
220 fDM.reset(nullptr); in install()
225 SkASSERT(fDM->data()); in install()
228 bitmap->installPixels(fInfo, fDM ? fDM->data() : fMalloc, fRowBytes, ReleaseProc, this); in install()
255 std::unique_ptr<SkDiscardableMemory> fDM; member in SkBitmapCache::Rec