Home
last modified time | relevance | path

Searched refs:fMaxUnusedFlushes (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/gpu/
DGrResourceCache.cpp65 , fMaxUnusedFlushes(kDefaultMaxUnusedFlushes) in GrResourceCache()
92 fMaxUnusedFlushes = maxUnusedFlushes; in setLimits()
101 fMaxUnusedFlushes = SkNextPow2(fMaxUnusedFlushes); in resetFlushTimestamps()
107 if (fMaxUnusedFlushes > kMaxSupportedTimestampHistory) { in resetFlushTimestamps()
112 fFlushTimestamps = SkNEW_ARRAY(uint32_t, fMaxUnusedFlushes); in resetFlushTimestamps()
116 sk_bzero(fFlushTimestamps, fMaxUnusedFlushes * sizeof(uint32_t)); in resetFlushTimestamps()
455 SkASSERT(SkIsPow2(fMaxUnusedFlushes)); in purgeAsNeeded()
456 int oldestFlushIndex = (fLastFlushTimestampIndex + 1) & (fMaxUnusedFlushes - 1); in purgeAsNeeded()
601 SkASSERT(SkIsPow2(fMaxUnusedFlushes)); in notifyFlushOccurred()
602 fLastFlushTimestampIndex = (fLastFlushTimestampIndex + 1) & (fMaxUnusedFlushes - 1); in notifyFlushOccurred()
DGrResourceCache.h265 int fMaxUnusedFlushes; variable