Home
last modified time | relevance | path

Searched refs:fCachedCanvas (Results 1 – 4 of 4) sorted by relevance

/third_party/skia/src/image/
DSkSurface_Base.h146 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()
DSkSurface.cpp47 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()
/third_party/skia/src/gpu/vk/
DGrVkSecondaryCBDrawContext.cpp66 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()
DGrVkSecondaryCBDrawContext.h120 std::unique_ptr<SkCanvas> fCachedCanvas; variable