Lines Matching refs:fDM
68 , fDM(std::move(dm)) in Rec()
73 SkASSERT(!(fDM && fMalloc)); // can't have both in Rec()
82 if (fDM && fDiscardableIsLocked) { in ~Rec()
83 SkASSERT(fDM->data()); in ~Rec()
84 fDM->unlock(); in ~Rec()
103 return fDM.get(); in diagnostic_only_getDiscardable()
112 if (rec->fDM) { in ReleaseProc()
115 rec->fDM->unlock(); in ReleaseProc()
126 if (!fDM && !fMalloc) { in install()
130 if (fDM) { in install()
133 if (!fDM->lock()) { in install()
134 fDM.reset(nullptr); in install()
139 SkASSERT(fDM->data()); in install()
142 bitmap->installPixels(fInfo, fDM ? fDM->data() : fMalloc, fRowBytes, ReleaseProc, this); in install()
161 std::unique_ptr<SkDiscardableMemory> fDM; member in SkBitmapCache::Rec