Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/gpu/
DGrResourceCache.h276 bool wouldFit(size_t bytes) { in wouldFit() function
DGrResourceCache.cpp315 if (fPreferVRAMUseOverFlushes && this->wouldFit(resourceSize)) { in findAndRefScratchResource()
/third_party/skia/src/gpu/
DGrResourceCache.h275 bool wouldFit(size_t bytes) const { return fBudgetedBytes+bytes <= fMaxBytes; } in wouldFit() function
DGrResourceCache.cpp464 if (this->wouldFit(resource->gpuMemorySize())) { in notifyARefCntReachedZero()
640 if (this->wouldFit(desiredHeadroomBytes)) { in purgeToMakeHeadroom()