Searched refs:wouldFit (Results 1 – 4 of 4) sorted by relevance
276 bool wouldFit(size_t bytes) { in wouldFit() function
315 if (fPreferVRAMUseOverFlushes && this->wouldFit(resourceSize)) { in findAndRefScratchResource()
275 bool wouldFit(size_t bytes) const { return fBudgetedBytes+bytes <= fMaxBytes; } in wouldFit() function
464 if (this->wouldFit(resource->gpuMemorySize())) { in notifyARefCntReachedZero()640 if (this->wouldFit(desiredHeadroomBytes)) { in purgeToMakeHeadroom()