Searched refs:isScratch (Results 1 – 9 of 9) sorted by relevance
30 bool isScratch() const { in isScratch() function36 return this->isScratch() && !fResource->internalHasRef(); in isUsableAsScratch()
216 SkASSERT(fHead.fPrev->isScratch()); in addBlock()272 SkASSERT(!prev && (!fHead.fPrev || fHead.fPrev->isScratch())); in validate()
144 bool isScratch() const { return fCursor < 0; } in isScratch() function714 if (!Forward && fNext && fNext->isScratch()) { in advance()719 SkASSERT(!fNext || !fNext->isScratch()); in advance()
220 if (resource->cacheAccess().isScratch()) { in update()
27 bool isScratch() const { in isScratch() function
222 if (resource->cacheAccess().isScratch()) { in update()
257 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()756 if (resource->cacheAccess().isScratch()) { in validate()
746 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()766 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()783 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()1313 const bool isScratch = (i % 2 == 0); in test_time_purge() local1316 TestResource* r = isScratch ? TestResource::CreateScratch(gpu, budgeted, property) in test_time_purge()1318 if (!isScratch) { in test_time_purge()
705 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()725 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()742 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()