Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/ccpr/
DGrCCPathCache.cpp228 if (entry->fCachedAtlas) { in find()
229 SkASSERT(SkToBool(entry->fCachedAtlas->peekOnFlushRefCnt()) == in find()
230 SkToBool(entry->fCachedAtlas->getOnFlushProxy())); in find()
231 if (!entry->fCachedAtlas->getOnFlushProxy()) { in find()
232 auto ct = GrCCAtlas::CoverageTypeToColorType(entry->fCachedAtlas->coverageType()); in find()
234 entry->fCachedAtlas->textureKey(), ct, GrCCAtlas::kTextureOrigin)) { in find()
236 entry->fCachedAtlas->setOnFlushProxy(std::move(onFlushProxy)); in find()
239 if (!entry->fCachedAtlas->getOnFlushProxy()) { in find()
247 SkASSERT(!entry->fCachedAtlas || entry->fCachedAtlas->getOnFlushProxy()); in find()
337 if (entry->fCachedAtlas) { in OnFlushRef()
[all …]
DGrCCAtlas.cpp201 if (!fCachedAtlas) { in refOrMakeCachedAtlas()
211 fCachedAtlas = sk_make_sp<GrCCCachedAtlas>(fCoverageType, atlasUniqueKey, fTextureProxy); in refOrMakeCachedAtlas()
214 SkASSERT(fCachedAtlas->coverageType() == fCoverageType); in refOrMakeCachedAtlas()
215 SkASSERT(fCachedAtlas->getOnFlushProxy() == fTextureProxy.get()); in refOrMakeCachedAtlas()
216 return fCachedAtlas; in refOrMakeCachedAtlas()
DGrCCPathCache.h201 SkASSERT(!fCachedAtlas); in ~GrCCPathCacheEntry()
218 const GrCCCachedAtlas* cachedAtlas() const { return fCachedAtlas.get(); } in cachedAtlas()
259 sk_sp<GrCCCachedAtlas> fCachedAtlas; variable
DGrCCAtlas.h121 sk_sp<GrCCCachedAtlas> fCachedAtlas; variable