Home | History | Annotate | Download | only in hwui

Lines Matching defs:size

54 // Size management
73 TEXTURE_LOGD("TextureCache::callback: name, removed size, mSize = %d, %d, %d",
76 ALOGD("Texture deleted, size = %d", texture->bitmapSize);
126 const uint32_t size = bitmap->rowBytes() * bitmap->height();
127 bool canCache = size < mMaxSize;
129 while (canCache && mSize + size > mMaxSize) {
140 texture->bitmapSize = size;
144 mSize += size;
145 TEXTURE_LOGD("TextureCache::get: create texture(%p): name, size, mSize = %d, %d, %d",
146 bitmap, texture->id, size, mSize);
148 ALOGD("Texture created, size = %d", size);
154 // TODO: Re-adjust the cache size if the bitmap's dimensions have changed
182 const uint32_t size = bitmap->rowBytes() * bitmap->height();
184 texture->bitmapSize = size;
200 size_t count = mGarbage.size();
214 if (mFlushRate >= 1.0f || mCache.size() == 0) return;
221 TEXTURE_LOGD("TextureCache::flush: target size: %d", targetSize);