Lines Matching refs:cachedGlyph
134 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueAt(i);
135 if (!cacheTexture || cachedGlyph->mCacheTexture == cacheTexture) {
136 cachedGlyph->mIsValid = false;
284 CachedGlyphInfo* cachedGlyph = mCachedGlyphs.valueFor(textUnit);
285 if (cachedGlyph) {
287 if (!cachedGlyph->mIsValid) {
290 updateGlyphCache(paint, skiaGlyph, autoCache.getCache(), cachedGlyph, precaching);
293 cachedGlyph = cacheGlyph(paint, textUnit, precaching);
296 return cachedGlyph;
341 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph);
342 penX += SkFixedToFloat(AUTO_KERN(prevRsbDelta, cachedGlyph->mLsbDelta));
343 prevRsbDelta = cachedGlyph->mRsbDelta;
345 if (cachedGlyph->mIsValid && cachedGlyph->mCacheTexture) {
346 drawCachedGlyph(cachedGlyph, penX, hOffset, vOffset, measure, &position, &tangent);
349 penX += SkFixedToFloat(cachedGlyph->mAdvanceX);
381 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph, true);
416 CachedGlyphInfo* cachedGlyph = getCachedGlyph(paint, glyph);
420 if (cachedGlyph->mIsValid && cachedGlyph->mCacheTexture) {
424 (*this.*render)(cachedGlyph, penX, penY,