Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DTextureCache.cpp43 mFlushRate(DEFAULT_TEXTURE_CACHE_FLUSH_RATE), mAssetAtlas(0) { in TextureCache()
103 mFlushRate = fmaxf(0.0f, fminf(1.0f, flushRate)); in setFlushRate()
258 if (mFlushRate >= 1.0f || mCache.size() == 0) return; in flush()
259 if (mFlushRate <= 0.0f) { in flush()
264 uint32_t targetSize = uint32_t(mSize * mFlushRate); in flush()
DTextureCache.h156 float mFlushRate; variable