Home
last modified time | relevance | path

Searched refs:isScratch (Results 1 – 17 of 17) 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.h247 if (resource->cacheAccess().isScratch()) { in update()
/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/flutter/skia/src/gpu/
DGrGpuResourceCacheAccess.h30 bool isScratch() const { in isScratch() function
DGrResourceCache.h241 if (resource->cacheAccess().isScratch()) { in update()
DGrResourceCache.cpp380 if (resource->internalHasRef() || !resource->cacheAccess().isScratch()) { in operator ()()
977 if (resource->cacheAccess().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_insert_NOPs.cpp458 bool lds_scratch_global = (instr->isScratch() || instr->isGlobal()) && instr->flatlike().lds; in handle_instruction_gfx6()
785 if (instr->isVMEM() || instr->isGlobal() || instr->isScratch()) { in handle_instruction_gfx10()
814 ctx.has_VMEM = instr->isVMEM() || instr->isGlobal() || instr->isScratch(); in handle_instruction_gfx10()
Daco_ir.h1195 assert(isScratch()); in scratch()
1200 assert(isScratch()); in scratch()
1203 constexpr bool isScratch() const noexcept { return format == Format::SCRATCH; } in isScratch() function
1342 constexpr bool isFlatLike() const noexcept { return isFlat() || isGlobal() || isScratch(); } in isFlatLike()
Daco_statistics.cpp450 if ((instr->isVMEM() || instr->isScratch() || instr->isGlobal()) && in collect_preasm_stats()
Daco_insert_waitcnt.cpp253 else if (instr->isVMEM() || instr->isScratch() || instr->isGlobal()) in get_vmem_type()
Daco_assembler.cpp525 if (instr->isScratch()) in emit_instruction()
Daco_validate.cpp267 (instr->isScratch() && i == 0); in validate_ir()
Daco_optimizer.cpp1451 else if (instr->isScratch()) { in label_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()