Searched refs:fMaxCount (Results 1 - 3 of 3) sorted by relevance

/external/skia/src/gpu/
H A DGrResourceCache.h102 int getMaxResourceCount() const { return fMaxCount; }
261 bool overBudget() const { return fBudgetedBytes > fMaxBytes || fBudgetedCount > fMaxCount; }
264 return fBudgetedBytes+bytes <= fMaxBytes && fBudgetedCount+1 <= fMaxCount;
321 int fMaxCount; member in class:GrResourceCache
H A DGrResourceCache.cpp63 , fMaxCount(kDefaultMaxCount)
91 fMaxCount = count;
383 if (fBudgetedCount < fMaxCount &&
723 // bool overBudget = budgetedBytes > fMaxBytes || budgetedCount > fMaxCount;
H A DGrTest.cpp221 float countUtilization = (100.f * fBudgetedCount) / fMaxCount;
224 out->appendf("Budget: %d items %d bytes\n", fMaxCount, (int)fMaxBytes);

Completed in 59 milliseconds