Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DFontRenderer.cpp97 for (uint32_t i = 0; i < mCacheTextures.size(); i++) { in ~FontRenderer()
98 delete mCacheTextures[i]; in ~FontRenderer()
100 mCacheTextures.clear(); in ~FontRenderer()
126 for (uint32_t i = 0; i < mCacheTextures.size(); i++) { in flushAllAndInvalidate()
127 mCacheTextures[i]->init(); in flushAllAndInvalidate()
132 for (uint32_t i = 0; i < mCacheTextures.size(); i++) { in flushAllAndInvalidate()
133 totalGlyphs += mCacheTextures[i]->getGlyphCount(); in flushAllAndInvalidate()
135 if (mCacheTextures[i]->getTexture()) { in flushAllAndInvalidate()
136 memset(mCacheTextures[i]->getTexture(), 0, in flushAllAndInvalidate()
137 mCacheTextures[i]->getWidth() * mCacheTextures[i]->getHeight()); in flushAllAndInvalidate()
[all …]
DFontRenderer.h96 for (uint32_t i = 0; i < mCacheTextures.size(); i++) { in getCacheSize()
97 CacheTexture* cacheTexture = mCacheTextures[i]; in getCacheSize()
152 Vector<CacheTexture*> mCacheTextures; variable