Lines Matching defs:glyph
32 bool GrAtlasManager::hasGlyph(GrMaskFormat format, GrGlyph* glyph) {
33 SkASSERT(glyph);
34 return this->getAtlas(format)->hasID(glyph->fAtlasLocator.plotLocator());
60 const SkGlyph& glyph, int dstRB, GrMaskFormat expectedMaskFormat, void* dst) {
61 const int width = glyph.width();
62 const int height = glyph.height();
63 const void* src = glyph.image();
66 GrMaskFormat grMaskFormat = GrGlyph::FormatFromSkGlyph(glyph.maskFormat());
68 int srcRB = glyph.rowBytes();
70 if (glyph.maskFormat() != SkMask::kBW_Format) {
100 // Convert if the glyph uses a 565 mask format since it is using LCD text rendering
136 // returns true if glyph successfully added to texture atlas, false otherwise. If the glyph's
140 // get the actual glyph image itself when we get the glyph metrics.
200 GrMaskFormat format, GrGlyph* glyph,
202 SkASSERT(glyph);
203 if (updater->add(glyph->fAtlasLocator)) {
204 this->getAtlas(format)->setLastUseToken(glyph->fAtlasLocator, token);