Searched refs:fCachedCanvas (Results 1 – 4 of 4) sorted by relevance
146 std::unique_ptr<SkCanvas> fCachedCanvas;163 if (nullptr == fCachedCanvas) { in getCachedCanvas()164 fCachedCanvas = std::unique_ptr<SkCanvas>(this->onNewCanvas()); in getCachedCanvas()165 if (fCachedCanvas) { in getCachedCanvas()166 fCachedCanvas->setSurfaceBase(this); in getCachedCanvas()169 return fCachedCanvas.get(); in getCachedCanvas()179 SkASSERT(!fCachedCanvas || fCachedCanvas->getSurfaceBase() == this); in refCachedImage()
47 if (fCachedCanvas) { in ~SkSurface_Base()48 fCachedCanvas->setSurfaceBase(nullptr); in ~SkSurface_Base()127 SkASSERT(!fCachedCanvas || fCachedCanvas->getSurfaceBase() == this); in aboutToDraw()157 SkASSERT(!fCachedCanvas || fCachedCanvas->getSurfaceBase() == this); in newGenerationID()
66 SkASSERT(!fCachedCanvas.get()); in ~GrVkSecondaryCBDrawContext()70 if (!fCachedCanvas) { in getCanvas()71 fCachedCanvas = std::make_unique<SkCanvas>(fDevice); in getCanvas()73 return fCachedCanvas.get(); in getCanvas()92 fCachedCanvas.reset(); in releaseResources()
120 std::unique_ptr<SkCanvas> fCachedCanvas; variable