Home
last modified time | relevance | path

Searched refs:fCachedImage (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/image/
DSkSurface.cpp61 fCachedImage = nullptr; in SkSurface_Base()
68 fCachedImage = nullptr; in SkSurface_Base()
77 SkSafeUnref(fCachedImage); in ~SkSurface_Base()
90 return fCachedImage && !fCachedImage->unique(); in outstandingImageSnapshot()
98 if (fCachedImage) { in aboutToDraw()
102 bool unique = fCachedImage->unique(); in aboutToDraw()
109 fCachedImage->unref(); in aboutToDraw()
110 fCachedImage = nullptr; in aboutToDraw()
DSkSurface_Base.h86 bool hasCachedImage() const { return fCachedImage != nullptr; } in hasCachedImage()
93 SkImage* fCachedImage; variable
118 SkImage* snap = fCachedImage; in refCachedImage()
129 SkASSERT(!fCachedImage); in refCachedImage()
130 fCachedImage = SkSafeRef(snap); in refCachedImage()