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()
272 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit); in getCachedGlyph() local
273 if (cachedGlyph) { in getCachedGlyph()
275 if (!cachedGlyph->mIsValid) { in getCachedGlyph()
280 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching); in getCachedGlyph()
283 cachedGlyph = cacheGlyph(paint, textUnit, precaching); in getCachedGlyph()
286 return cachedGlyph; in getCachedGlyph()
328 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); in render() local
329 penX += AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta); in render()
330 prevRsbDelta = cachedGlyph->mRsbDelta; in render()
332 if (cachedGlyph->mIsValid && cachedGlyph->mCacheTexture) { in render()
333 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent); in render()
336 penX += cachedGlyph->mAdvanceX; in render()
396 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph); in render() local
400 if (cachedGlyph->mIsValid && cachedGlyph->mCacheTexture) { in render()
404 mState->historyTracker().glyphRendered(cachedGlyph, penX, penY); in render()
406 (*this.*render)(cachedGlyph, penX, penY, bitmap, bitmapW, bitmapH, bounds, positions); in render()
409 mState->historyTracker().glyphRendered(cachedGlyph, -1, -1); in render()