Home
last modified time | relevance | path

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

/external/skqp/src/gpu/ccpr/
DGrCCDrawPathsOp.cpp233 if (const GrCCCachedAtlas* cachedAtlas = fCacheEntry->cachedAtlas()) { in accountForOwnPath() local
234 SkASSERT(cachedAtlas->getOnFlushProxy()); in accountForOwnPath()
235 if (CoverageType::kA8_LiteralCoverage == cachedAtlas->coverageType()) { in accountForOwnPath()
269 SkASSERT(!fCacheEntry->cachedAtlas()); in shouldCachePathMask()
333 if (fCacheEntry->cachedAtlas()) { in setupResources()
334 SkASSERT(fCacheEntry->cachedAtlas()->getOnFlushProxy()); in setupResources()
338 SkASSERT(fCacheEntry->cachedAtlas()); in setupResources()
340 == fCacheEntry->cachedAtlas()->coverageType()); in setupResources()
341 SkASSERT(fCacheEntry->cachedAtlas()->getOnFlushProxy()); in setupResources()
346 == fCacheEntry->cachedAtlas()->coverageType()) in setupResources()
[all …]
DGrCCPerFlushResources.cpp199 const GrCCCachedAtlas* cachedAtlas = entry->cachedAtlas(); in upgradeEntryToLiteralCoverageAtlas() local
200 SkASSERT(cachedAtlas); in upgradeEntryToLiteralCoverageAtlas()
201 SkASSERT(cachedAtlas->getOnFlushProxy()); in upgradeEntryToLiteralCoverageAtlas()
203 if (GrCCAtlas::CoverageType::kA8_LiteralCoverage == cachedAtlas->coverageType()) { in upgradeEntryToLiteralCoverageAtlas()
219 sk_ref_sp(cachedAtlas->getOnFlushProxy())); in upgradeEntryToLiteralCoverageAtlas()
222 sk_ref_sp(cachedAtlas->getOnFlushProxy()->peekTexture()); in upgradeEntryToLiteralCoverageAtlas()
DGrCCPathCache.h218 const GrCCCachedAtlas* cachedAtlas() const { return fCachedAtlas.get(); } in cachedAtlas() function
/external/skqp/tests/
DGrCCPRTest.cpp618 REPORTER_ASSERT(reporter, !entry->cachedAtlas()); in onRun()
620 const GrCCCachedAtlas* cachedAtlas = entry->cachedAtlas(); in onRun() local
621 REPORTER_ASSERT(reporter, cachedAtlas); in onRun()
624 == cachedAtlas->coverageType()); in onRun()
627 == cachedAtlas->coverageType()); in onRun()
629 REPORTER_ASSERT(reporter, cachedAtlas->textureKey().isValid()); in onRun()
631 REPORTER_ASSERT(reporter, !cachedAtlas->getOnFlushProxy()); in onRun()
632 REPORTER_ASSERT(reporter, 0 == cachedAtlas->testingOnly_peekOnFlushRefCnt()); in onRun()