Lines Matching refs:cachedGlyph
135 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i);
136 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) {
137 cachedGlyph->mIsValid = false;
271 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit);
272 if (cachedGlyph) {
274 if (!cachedGlyph->mIsValid) {
277 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching);
280 cachedGlyph = cacheGlyph(paint, textUnit, precaching);
283 return cachedGlyph;
328 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph);
329 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta));
330 prevRsbDelta = cachedGlyph->mRsbDelta;
332 if (cachedGlyph->mIsValid && cachedGlyph->mCacheTexture) {
333 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
336 penX += SkFixedToFloat(cachedGlyph->mAdvanceX);
368 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph, true);
403 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph);
407 if (cachedGlyph->mIsValid && cachedGlyph->mCacheTexture) {
411 (*this.*render)(cachedGlyph, roundf(penX), roundf(penY),