Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFontRenderer.cpp183 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches() local
184 if (cacheTexture->getPixelBuffer()) { in flushLargeCaches()
185 cacheTexture->init(); in flushLargeCaches()
188 it.value()->invalidateTextureCache(cacheTexture); in flushLargeCaches()
190 cacheTexture->releasePixelBuffer(); in flushLargeCaches()
255 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap() local
257 if (!cacheTexture) { in cacheBitmap()
262 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
265 if (!cacheTexture) { in cacheBitmap()
271 cachedGlyph->mCacheTexture = cacheTexture; in cacheBitmap()
[all …]
DFontRenderer.h142 void allocateTextureMemory(CacheTexture* cacheTexture);
143 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()
211 CacheTexture* cacheTexture = glyph->mCacheTexture; in drawCachedGlyphBitmap() local
212 PixelBuffer* pixelBuffer = cacheTexture->getPixelBuffer(); in drawCachedGlyphBitmap()
216 uint32_t cacheWidth = cacheTexture->getWidth(); in drawCachedGlyphBitmap()
DFont.h122 void invalidateTextureCache(CacheTexture* cacheTexture = nullptr);