Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFontRenderer.cpp191 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches() local
192 if (cacheTexture->getPixelBuffer()) { in flushLargeCaches()
193 cacheTexture->init(); in flushLargeCaches()
196 it.value()->invalidateTextureCache(cacheTexture); in flushLargeCaches()
198 cacheTexture->releaseTexture(); in flushLargeCaches()
263 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap() local
265 if (!cacheTexture) { in cacheBitmap()
270 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
273 if (!cacheTexture) { in cacheBitmap()
279 cachedGlyph->mCacheTexture = cacheTexture; in cacheBitmap()
[all …]
DFontRenderer.h145 void allocateTextureMemory(CacheTexture* cacheTexture);
146 void deallocateTextureMemory(CacheTexture* cacheTexture);
/frameworks/base/libs/hwui/font/
DFont.cpp132 void Font::invalidateTextureCache(CacheTexture* cacheTexture) { in invalidateTextureCache() argument
135 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) { in invalidateTextureCache()
217 CacheTexture* cacheTexture = glyph->mCacheTexture; in drawCachedGlyphBitmap() local
218 PixelBuffer* pixelBuffer = cacheTexture->getPixelBuffer(); in drawCachedGlyphBitmap()
222 uint32_t cacheWidth = cacheTexture->getWidth(); in drawCachedGlyphBitmap()
DFont.h122 void invalidateTextureCache(CacheTexture* cacheTexture = NULL);