Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrResourceCache.h271 bool wouldFit(size_t bytes) { in wouldFit() function
DGrResourceCache.cpp284 if (fPreferVRAMUseOverFlushes && this->wouldFit(resourceSize)) { in findAndRefScratchResource()
/external/skia/src/gpu/
DGrResourceCache.h276 bool wouldFit(size_t bytes) const { return fBudgetedBytes+bytes <= fMaxBytes; } in wouldFit() function
DGrResourceCache.cpp464 if (this->wouldFit(resource->gpuMemorySize())) { in notifyARefCntReachedZero()
639 if (this->wouldFit(desiredHeadroomBytes)) { in purgeToMakeHeadroom()