Searched refs:fMaxUnusedFlushes (Results 1 – 2 of 2) sorted by relevance
65 , fMaxUnusedFlushes(kDefaultMaxUnusedFlushes) in GrResourceCache()93 fMaxUnusedFlushes = maxUnusedFlushes; in setLimits()102 fMaxUnusedFlushes = SkNextPow2(fMaxUnusedFlushes); in resetFlushTimestamps()108 if (fMaxUnusedFlushes > kMaxSupportedTimestampHistory) { in resetFlushTimestamps()113 fFlushTimestamps = new uint32_t[fMaxUnusedFlushes]; in resetFlushTimestamps()117 sk_bzero(fFlushTimestamps, fMaxUnusedFlushes * sizeof(uint32_t)); in resetFlushTimestamps()463 SkASSERT(SkIsPow2(fMaxUnusedFlushes)); in purgeAsNeeded()464 int oldestFlushIndex = (fLastFlushTimestampIndex + 1) & (fMaxUnusedFlushes - 1); in purgeAsNeeded()609 SkASSERT(SkIsPow2(fMaxUnusedFlushes)); in notifyFlushOccurred()610 fLastFlushTimestampIndex = (fLastFlushTimestampIndex + 1) & (fMaxUnusedFlushes - 1); in notifyFlushOccurred()
323 int fMaxUnusedFlushes; variable