Lines Matching refs:fMaskFormat
62 if (rec.fMaskFormat == SkMask::kA8_Format) { in PreprocessRec()
179 glyph->fMaskFormat = MASK_FORMAT_JUST_ADVANCE; in getAdvance()
182 SkASSERT(glyph->fMaskFormat != MASK_FORMAT_UNKNOWN); in getAdvance()
190 SkASSERT(glyph->fMaskFormat != MASK_FORMAT_UNKNOWN); in getMetrics()
196 SkASSERT(glyph->fMaskFormat != MASK_FORMAT_UNKNOWN); in getMetrics()
198 uint8_t originMaskFormat = glyph->fMaskFormat; in getMetrics()
204 glyph->fMaskFormat = originMaskFormat; in getMetrics()
206 glyph->fMaskFormat = fRec.fMaskFormat; in getMetrics()
210 if (SkMask::kARGB32_Format == glyph->fMaskFormat) { in getMetrics()
211 glyph->fMaskFormat = SkMask::kA8_Format; in getMetrics()
224 switch (glyph->fMaskFormat) { in getMetrics()
242 glyph->fMaskFormat = 0; in getMetrics()
263 glyph->fMaskFormat = dst.fFormat; in getMetrics()
276 glyph->fMaskFormat = fRec.fMaskFormat; in getMetrics()
511 if (tmpGlyph.fMaskFormat == origGlyph.fMaskFormat) { in getImage()
530 SkASSERT(SkMask::kARGB32_Format != origGlyph.fMaskFormat); in getImage()
543 SkASSERT(SkMask::k3D_Format != glyph->fMaskFormat); in getImage()
838 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
999 rec->fMaskFormat = SkToU8(compute_mask_format(font)); in MakeRecAndEffects()
1001 if (SkMask::kLCD16_Format == rec->fMaskFormat) { in MakeRecAndEffects()
1003 rec->fMaskFormat = SkMask::kA8_Format; in MakeRecAndEffects()
1011 rec->fMaskFormat = SkMask::kA8_Format; in MakeRecAndEffects()