Searched refs:cachedGlyph (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 134 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i); in invalidateTextureCache() local 135 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) { in invalidateTextureCache() 136 cachedGlyph->mIsValid = false; in invalidateTextureCache() 284 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); in getCachedGlyph() local 285 if (cachedGlyph) { in getCachedGlyph() 287 if (!cachedGlyph->mIsValid) { in getCachedGlyph() 290 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching); in getCachedGlyph() 293 cachedGlyph = cacheGlyph(paint, textUnit, precaching); in getCachedGlyph() 296 return cachedGlyph; in getCachedGlyph() 341 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); in render() local [all …]
|
/frameworks/rs/ |
D | rsFont.cpp | 199 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); in renderUTF() local 202 if (cachedGlyph->mIsValid) { in renderUTF() 205 drawCachedGlyph(cachedGlyph, penX, penY); in renderUTF() 208 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); in renderUTF() 211 measureCachedGlyph(cachedGlyph, penX, penY, bounds); in renderUTF() 216 penX += (cachedGlyph->mAdvanceX >> 6); in renderUTF() 227 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); in getCachedUTFChar() local 228 if (cachedGlyph == NULL) { in getCachedUTFChar() 229 cachedGlyph = cacheGlyph((uint32_t)utfChar); in getCachedUTFChar() 232 if (!cachedGlyph->mIsValid) { in getCachedUTFChar() [all …]
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 219 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, in cacheBitmap() argument 226 cachedGlyph->mIsValid = true; in cacheBitmap() 227 cachedGlyph->mCacheTexture = NULL; in cacheBitmap() 231 cachedGlyph->mIsValid = false; in cacheBitmap() 279 cachedGlyph->mCacheTexture = cacheTexture; in cacheBitmap() 395 cachedGlyph->mIsValid = true; in cacheBitmap()
|
D | FontRenderer.h | 149 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
|