Lines Matching refs:cachedGlyph
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
335 penX += AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta); in render()
336 prevRsbDelta = cachedGlyph->mRsbDelta; in render()
338 if (cachedGlyph->mIsValid && cachedGlyph->mCacheTexture) { in render()
339 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); in render()
342 penX += cachedGlyph->mAdvanceX; in render()
404 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); in render() local
408 if (cachedGlyph->mIsValid && cachedGlyph->mCacheTexture) { in render()
412 mState->historyTracker().glyphRendered(cachedGlyph, penX, penY); in render()
414 (*this.*render)(cachedGlyph, penX, penY, in render()
418 mState->historyTracker().glyphRendered(cachedGlyph, -1, -1); in render()