Lines Matching refs:glyph
158 CacheTexture* FontRenderer::cacheBitmapInTexture(const SkGlyph& glyph, in cacheBitmapInTexture() argument
161 if (mCacheTextures[i]->fitBitmap(glyph, startX, startY)) { in cacheBitmapInTexture()
169 void FontRenderer::cacheBitmap(const SkGlyph& glyph, CachedGlyphInfo* cachedGlyph, in cacheBitmap() argument
174 if (glyph.fHeight + TEXTURE_BORDER_SIZE * 2 > in cacheBitmap()
177 (int) glyph.fWidth, (int) glyph.fHeight); in cacheBitmap()
185 CacheTexture* cacheTexture = cacheBitmapInTexture(glyph, &startX, &startY); in cacheBitmap()
192 cacheTexture = cacheBitmapInTexture(glyph, &startX, &startY); in cacheBitmap()
206 uint32_t endX = startX + glyph.fWidth; in cacheBitmap()
207 uint32_t endY = startY + glyph.fHeight; in cacheBitmap()
218 uint8_t* bitmapBuffer = (uint8_t*) glyph.fImage; in cacheBitmap()
219 unsigned int stride = glyph.rowBytes(); in cacheBitmap()