Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFontRenderer.cpp127 void clearCacheTextures(std::vector<CacheTexture*>& cacheTextures) { in clearCacheTextures() argument
128 for (uint32_t i = 0; i < cacheTextures.size(); i++) { in clearCacheTextures()
129 delete cacheTextures[i]; in clearCacheTextures()
131 cacheTextures.clear(); in clearCacheTextures()
171 void FontRenderer::flushLargeCaches(std::vector<CacheTexture*>& cacheTextures) { in flushLargeCaches() argument
173 for (uint32_t i = 1; i < cacheTextures.size(); i++) { in flushLargeCaches()
174 CacheTexture* cacheTexture = cacheTextures[i]; in flushLargeCaches()
194 CacheTexture* FontRenderer::cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures, in cacheBitmapInTexture() argument
197 for (uint32_t i = 0; i < cacheTextures.size(); i++) { in cacheBitmapInTexture()
198 if (cacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture()
[all …]
DFontRenderer.h85 void flushLargeCaches(std::vector<CacheTexture*>& cacheTextures);
135 CacheTexture* cacheBitmapInTexture(std::vector<CacheTexture*>& cacheTextures,
144 void issueDrawCommand(std::vector<CacheTexture*>& cacheTextures);