Home
last modified time | relevance | path

Searched refs:cacheTextures (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/hwui/
DFontRenderer.cpp130 void clearCacheTextures(std::vector<CacheTexture*>& cacheTextures) { in clearCacheTextures() argument
131 for (uint32_t i = 0; i < cacheTextures.size(); i++) { in clearCacheTextures()
132 delete cacheTextures[i]; in clearCacheTextures()
134 cacheTextures.clear(); in clearCacheTextures()
174 void FontRenderer::flushLargeCaches(std::vector<CacheTexture*>& cacheTextures) { in flushLargeCaches() argument
176 for (uint32_t i = 1; i < cacheTextures.size(); i++) { in flushLargeCaches()
177 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches()
197 CacheTexture* FontRenderer::cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures, in cacheBitmapInTexture() argument
199 for (uint32_t i = 0; i < cacheTextures.size(); i++) { in cacheBitmapInTexture()
200 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture()
[all …]
DFontRenderer.h89 void flushLargeCaches(std::vector<CacheTexture*>& cacheTextures);
140 …CacheTexture* cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures, const SkGlyph& glyph,
149 void issueDrawCommand(std::vector<CacheTexture*>& cacheTextures);