Lines Matching refs:SkMask

28 void SkGlyph::toMask(SkMask* mask) const {  in toMask()
34 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat); in toMask()
41 case SkMask::k3D_Format: in computeImageSize()
156 SkMask mask; in getMetrics()
160 SkMask::kJustComputeBounds_CreateMode)) { in getMetrics()
182 case SkMask::kLCD16_Format: in getMetrics()
193 if (SkMask::kARGB32_Format != glyph->fMaskFormat) { in getMetrics()
199 SkMask::kARGB32_Format == glyph->fMaskFormat) { in getMetrics()
200 glyph->fMaskFormat = SkMask::kA8_Format; in getMetrics()
204 SkMask src, dst; in getMetrics()
238 static void applyLUTToA8Mask(const SkMask& mask, const uint8_t* lut) { in applyLUTToA8Mask()
251 static void pack4xHToLCD16(const SkBitmap& src, const SkMask& dst, in pack4xHToLCD16()
256 SkASSERT(SkMask::kLCD16_Format == dst.fFormat); in pack4xHToLCD16()
340 static void packA8ToA1(const SkMask& mask, const uint8_t* src, size_t srcRB) { in packA8ToA1()
372 static void generateMask(const SkMask& mask, const SkPath& path, in generateMask()
386 paint.setAntiAlias(SkMask::kBW_Format != mask.fFormat); in generateMask()
388 case SkMask::kBW_Format: in generateMask()
391 case SkMask::kA8_Format: in generateMask()
393 case SkMask::kLCD16_Format: in generateMask()
430 case SkMask::kBW_Format: in generateMask()
433 case SkMask::kA8_Format: in generateMask()
438 case SkMask::kLCD16_Format: in generateMask()
450 static void extract_alpha(const SkMask& dst, in extract_alpha()
482 SkMask::kARGB32_Format != origGlyph.fMaskFormat); in getImage()
509 SkMask mask; in getImage()
515 mask.fFormat = SkMask::kA8_Format; in getImage()
520 SkMask::kJustRenderImage_CreateMode)) { in getImage()
527 SkASSERT(SkMask::kARGB32_Format != mask.fFormat); in getImage()
535 SkMask srcM, dstM; in getImage()
539 SkASSERT(SkMask::k3D_Format != glyph->fMaskFormat); in getImage()
543 if (SkMask::kARGB32_Format == srcM.fFormat) { in getImage()
546 srcM.fFormat = SkMask::kA8_Format; in getImage()
566 if (SkMask::k3D_Format == dstM.fFormat) { in getImage()
579 SkMask::FreeImage(dstM.fImage); in getImage()