Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFontRenderer.cpp177 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches() local
178 if (cacheTexture->getPixelBuffer()) { in flushLargeCaches()
179 cacheTexture->init(); in flushLargeCaches()
181 mHistoryTracker.glyphsCleared(cacheTexture); in flushLargeCaches()
185 it.value()->invalidateTextureCache(cacheTexture); in flushLargeCaches()
187 cacheTexture->releasePixelBuffer(); in flushLargeCaches()
252 CacheTexture* cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap() local
254 if (!cacheTexture) { in cacheBitmap()
259 cacheTexture = cacheBitmapInTexture(*cacheTextures, glyph, &startX, &startY); in cacheBitmap()
262 if (!cacheTexture) { in cacheBitmap()
[all …]
DFontRenderer.h134 void allocateTextureMemory(CacheTexture* cacheTexture);
135 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.h124 void invalidateTextureCache(CacheTexture* cacheTexture = nullptr);