Home
last modified time | relevance | path

Searched refs:isScratch (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/src/gpu/
DGrGpuResourceCacheAccess.h30 bool isScratch() const { in isScratch() function
36 return this->isScratch() && !fResource->internalHasRef(); in isUsableAsScratch()
DGrResourceCache.h220 if (resource->cacheAccess().isScratch()) { in update()
/third_party/flutter/skia/src/gpu/
DGrGpuResourceCacheAccess.h30 bool isScratch() const { in isScratch() function
DGrResourceCache.h223 if (resource->cacheAccess().isScratch()) { in update()
DGrResourceCache.cpp288 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()
872 if (resource->cacheAccess().isScratch()) { in validate()
/third_party/skia/src/core/
DSkBlockAllocator.h151 bool isScratch() const { return fCursor < 0; } in isScratch() function
720 if (!Forward && fNext && fNext->isScratch()) { in advance()
725 SkASSERT(!fNext || !fNext->isScratch()); in advance()
DSkBlockAllocator.cpp216 SkASSERT(fHead.fPrev->isScratch()); in addBlock()
272 SkASSERT(!prev && (!fHead.fPrev || fHead.fPrev->isScratch())); in validate()
/third_party/mesa3d/src/amd/compiler/
Daco_form_hard_clauses.cpp86 } else if (instr->isScratch() || instr->isGlobal()) { in form_hard_clauses()
Daco_ir.h1177 assert(isScratch()); in scratch()
1182 assert(isScratch()); in scratch()
1185 constexpr bool isScratch() const noexcept { return format == Format::SCRATCH; } in isScratch() function
1312 constexpr bool isFlatLike() const noexcept { return isFlat() || isGlobal() || isScratch(); } in isFlatLike()
Daco_insert_NOPs.cpp452 bool lds_scratch_global = (instr->isScratch() || instr->isGlobal()) && instr->flatlike().lds; in handle_instruction_gfx6()
762 if (instr->isVMEM() || instr->isGlobal() || instr->isScratch()) { in handle_instruction_gfx10()
Daco_assembler.cpp524 if (instr->isScratch()) in emit_instruction()
/third_party/skia/tests/
DResourceCacheTest.cpp746 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() local
1316 TestResource* r = isScratch ? TestResource::CreateScratch(gpu, budgeted, property) in test_time_purge()
1318 if (!isScratch) { in test_time_purge()
/third_party/flutter/skia/tests/
DResourceCacheTest.cpp703 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
723 REPORTER_ASSERT(reporter, resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()
740 REPORTER_ASSERT(reporter, !resource->cacheAccess().isScratch()); in test_unbudgeted_to_scratch()