Searched refs:cachedGlyph (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/libs/hwui/font/ |
D | Font.cpp | 128 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i); in invalidateTextureCache() local 129 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) { in invalidateTextureCache() 130 cachedGlyph->mIsValid = false; in invalidateTextureCache() 278 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); in getCachedGlyph() local 279 if (cachedGlyph) { in getCachedGlyph() 281 if (!cachedGlyph->mIsValid) { in getCachedGlyph() 285 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching); in getCachedGlyph() 288 cachedGlyph = cacheGlyph(paint, textUnit, precaching); in getCachedGlyph() 291 return cachedGlyph; in getCachedGlyph() 334 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); in render() local [all …]
|
/frameworks/rs/ |
D | rsFont.cpp | 198 CachedGlyphInfo *cachedGlyph = getCachedUTFChar(utfChar); in renderUTF() local 201 if (cachedGlyph->mIsValid) { in renderUTF() 204 drawCachedGlyph(cachedGlyph, penX, penY); in renderUTF() 207 drawCachedGlyph(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH); in renderUTF() 210 measureCachedGlyph(cachedGlyph, penX, penY, bounds); in renderUTF() 215 penX += (cachedGlyph->mAdvanceX >> 6); in renderUTF() 226 CachedGlyphInfo *cachedGlyph = mCachedGlyphs.valueFor((uint32_t)utfChar); in getCachedUTFChar() local 227 if (cachedGlyph == nullptr) { in getCachedUTFChar() 228 cachedGlyph = cacheGlyph((uint32_t)utfChar); in getCachedUTFChar() 231 if (!cachedGlyph->mIsValid) { in getCachedUTFChar() [all …]
|
/frameworks/base/libs/hwui/ |
D | FontRenderer.cpp | 208 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, in cacheBitmap() argument 215 cachedGlyph->mIsValid = true; in cacheBitmap() 216 cachedGlyph->mCacheTexture = nullptr; in cacheBitmap() 220 cachedGlyph->mIsValid = false; in cacheBitmap() 268 cachedGlyph->mCacheTexture = cacheTexture; in cacheBitmap() 383 cachedGlyph->mIsValid = true; in cacheBitmap()
|
D | FontRenderer.h | 138 void cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph,
|