Home
last modified time | relevance | path

Searched refs:cacheTexture (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/
DFontRenderer.cpp174 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches() local
175 if (cacheTexture->getPixelBuffer()) { in flushLargeCaches()
176 cacheTexture->init(); in flushLargeCaches()
178 mHistoryTracker.glyphsCleared(cacheTexture); in flushLargeCaches()
182 it.value()->invalidateTextureCache(cacheTexture); in flushLargeCaches()
184 cacheTexture->releasePixelBuffer(); in flushLargeCaches()
250 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap() local
252 if (!cacheTexture) { in cacheBitmap()
257 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
260 if (!cacheTexture) { in cacheBitmap()
[all …]
DFontRenderer.h129 void allocateTextureMemory(CacheTexture* cacheTexture);
130 void deallocateTextureMemory(CacheTexture* cacheTexture);
/frameworks/base/libs/hwui/font/
DFont.cpp126 void Font::invalidateTextureCache(CacheTexture* cacheTexture) { in invalidateTextureCache() argument
129 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) { in invalidateTextureCache()
210 CacheTexture* cacheTexture = glyph->mCacheTexture; in drawCachedGlyphBitmap() local
211 PixelBuffer* pixelBuffer = cacheTexture->getPixelBuffer(); in drawCachedGlyphBitmap()
215 uint32_t cacheWidth = cacheTexture->getWidth(); in drawCachedGlyphBitmap()
DFont.h116 void invalidateTextureCache(CacheTexture* cacheTexture = nullptr);