/third_party/flutter/skia/tools/fonts/ |
D | RandomScalerContext.cpp | 60 case 0: glyph->fMaskFormat = SkMask::kLCD16_Format; break; in generateMetrics() 61 case 1: glyph->fMaskFormat = SkMask::kA8_Format; break; in generateMetrics() 62 case 2: glyph->fMaskFormat = SkMask::kARGB32_Format; break; in generateMetrics() 63 case 3: glyph->fMaskFormat = SkMask::kBW_Format; break; in generateMetrics() 76 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics() 108 if (SkMask::kARGB32_Format != glyph.fMaskFormat) { in generateImage() 156 rec->fMaskFormat = SkMask::kARGB32_Format; in onFilterRec()
|
/third_party/flutter/skia/src/core/ |
D | SkScalerContext.cpp | 62 if (rec.fMaskFormat == SkMask::kA8_Format) { in PreprocessRec() 182 glyph->fMaskFormat = MASK_FORMAT_JUST_ADVANCE; in getAdvance() 185 SkASSERT(glyph->fMaskFormat != MASK_FORMAT_UNKNOWN); in getAdvance() 193 SkASSERT(glyph->fMaskFormat != MASK_FORMAT_UNKNOWN); in getMetrics() 199 SkASSERT(glyph->fMaskFormat != MASK_FORMAT_UNKNOWN); in getMetrics() 201 uint8_t originMaskFormat = glyph->fMaskFormat; in getMetrics() 207 glyph->fMaskFormat = originMaskFormat; in getMetrics() 209 glyph->fMaskFormat = fRec.fMaskFormat; in getMetrics() 213 if (SkMask::kARGB32_Format == glyph->fMaskFormat) { in getMetrics() 214 glyph->fMaskFormat = SkMask::kA8_Format; in getMetrics() [all …]
|
D | SkGlyph.cpp | 18 SkASSERT(fMaskFormat != MASK_FORMAT_UNKNOWN); in mask() 24 mask.fFormat = static_cast<SkMask::Format>(fMaskFormat); in mask() 77 , fMaskFormat{(uint8_t)p.maskFormat} 125 fMaskFormat = from.fMaskFormat; in setMetricsAndImage() 132 return format_rowbytes(fWidth, (SkMask::Format)fMaskFormat); in rowBytes() 144 if (fMaskFormat == SkMask::k3D_Format) { in imageSize()
|
D | SkScalerContext.h | 115 uint8_t fMaskFormat; member 135 fFrameWidth, fMiterLimit, fMaskFormat, fStrokeJoin, fStrokeCap, fFlags); in dump() 196 return static_cast<SkMask::Format>(fMaskFormat); in getFormat() 258 return (SkMask::Format)fRec.fMaskFormat; in getMaskFormat()
|
D | SkTypeface_remote.cpp | 44 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
|
D | SkGlyph.h | 192 bool isColor() const { return fMaskFormat == SkMask::kARGB32_Format; } in isColor() 193 SkMask::Format maskFormat() const { return static_cast<SkMask::Format>(fMaskFormat); } in maskFormat() 287 uint8_t fMaskFormat = MASK_FORMAT_UNKNOWN; variable
|
/third_party/skia/src/core/ |
D | SkScalerContext.cpp | 62 if (rec.fMaskFormat == SkMask::kA8_Format) { in PreprocessRec() 181 return internalMakeGlyph(packedID, fRec.fMaskFormat); in makeGlyph() 186 glyph.fMaskFormat = format; in internalMakeGlyph() 202 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in internalMakeGlyph() 203 glyph.fMaskFormat = SkMask::kA8_Format; in internalMakeGlyph() 216 const bool fromLCD = (glyph.fMaskFormat == SkMask::kLCD16_Format) || in internalMakeGlyph() 217 (glyph.fMaskFormat == SkMask::kA8_Format && a8FromLCD); in internalMakeGlyph() 240 glyph.fMaskFormat = SkMask::kBW_Format; in internalMakeGlyph() 261 glyph.fMaskFormat = dst.fFormat; in internalMakeGlyph() 272 glyph.fMaskFormat = fRec.fMaskFormat; in internalMakeGlyph() [all …]
|
D | SkGlyph.cpp | 20 mask.fFormat = fMaskFormat; in mask() 114 fMaskFormat = from.fMaskFormat; in setMetricsAndImage() 125 return format_rowbytes(fWidth, fMaskFormat); in rowBytes() 137 if (fMaskFormat == SkMask::k3D_Format) { in imageSize()
|
D | SkTypeface_remote.cpp | 32 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
|
D | SkScalerContext.h | 120 SkMask::Format fMaskFormat; member 141 fFrameWidth, fMiterLimit, fMaskFormat, fStrokeJoin, fStrokeCap, fFlags); in dump() 203 return fMaskFormat; in getFormat() 281 return fRec.fMaskFormat; in getMaskFormat()
|
D | SkGlyph.h | 304 bool isColor() const { return fMaskFormat == SkMask::kARGB32_Format; } in isColor() 305 SkMask::Format maskFormat() const { return fMaskFormat; } in maskFormat() 401 SkMask::Format fMaskFormat{SkMask::kBW_Format};
|
/third_party/skia/src/gpu/effects/ |
D | GrBitmapTextGeoProc.cpp | 92 if (btgp.fMaskFormat == kARGB_GrMaskFormat) { in onEmitCode() 126 , fMaskFormat(format) { in GrBitmapTextGeoProc() 135 bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || in GrBitmapTextGeoProc() 136 kA565_GrMaskFormat == fMaskFormat; in GrBitmapTextGeoProc() 183 b->addBits(2, fMaskFormat, "maskFormat"); in addToKey()
|
D | GrBitmapTextGeoProc.h | 73 GrMaskFormat fMaskFormat; variable
|
/third_party/skia/src/gpu/text/ |
D | GrTextBlob.cpp | 495 const GrMaskFormat fMaskFormat; member in __anon5b5ebd720111::DirectMaskSubRun 514 : fMaskFormat{format} in DirectMaskSubRun() 580 if (fMaskFormat != kARGB_GrMaskFormat) { in vertexStride() 681 calculate_colors(sdc, paint, viewMatrix, fMaskFormat, &grPaint); in makeAtlasTextOp() 693 op_mask_type(fMaskFormat), in makeAtlasTextOp() 709 return fGlyphs.regenerateAtlas(begin, end, fMaskFormat, 0, target); in regenerateAtlas() 794 if (fMaskFormat != kARGB_GrMaskFormat) { in fillVertexData() 804 if (fMaskFormat != kARGB_GrMaskFormat) { in fillVertexData() 889 const GrMaskFormat fMaskFormat; member in __anon5b5ebd720111::TransformedMaskSubRun 910 : fMaskFormat{format} in TransformedMaskSubRun() [all …]
|
/third_party/flutter/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 52 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD() 280 if (SkMask::kBW_Format == fRec.fMaskFormat) { in SkScalerContext_DW() 345 SkMask::kA8_Format == fRec.fMaskFormat && in SkScalerContext_DW() 603 SkASSERT(glyph->fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngMetrics() 681 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics() 688 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics() 694 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics() 720 glyph->fMaskFormat = SkMask::kBW_Format; in generateMetrics() 985 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generateColorGlyphImage() 1054 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngGlyphImage() [all …]
|
D | SkFontHost_FreeType_common.cpp | 395 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in generateGlyphImage() 458 if (SkMask::kLCD16_Format == glyph.fMaskFormat) { in generateGlyphImage() 549 target.pixel_mode = compute_pixel_mode( (SkMask::Format)glyph.fMaskFormat); in generateGlyphImage() 566 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in generateGlyphImage() 675 if (SkMask::kA8_Format == glyph.fMaskFormat && fPreBlend.isApplicable()) { in generateGlyphImage()
|
/third_party/flutter/skia/src/gpu/effects/ |
D | GrBitmapTextGeoProc.h | 44 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() 73 GrMaskFormat fMaskFormat; variable
|
D | GrBitmapTextGeoProc.cpp | 132 , fMaskFormat(format) { in GrBitmapTextGeoProc() 141 bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || in GrBitmapTextGeoProc() 142 kA565_GrMaskFormat == fMaskFormat; in GrBitmapTextGeoProc()
|
/third_party/skia/src/ports/ |
D | SkScalerContext_win_dw.cpp | 96 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD() 326 if (SkMask::kBW_Format == fRec.fMaskFormat) { in SkScalerContext_DW() 391 SkMask::kA8_Format == fRec.fMaskFormat && in SkScalerContext_DW() 662 SkASSERT(glyph->fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngMetrics() 739 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics() 746 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics() 752 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics() 778 glyph->fMaskFormat = SkMask::kBW_Format; in generateMetrics() 1055 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generateColorGlyphImage() 1125 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngGlyphImage() [all …]
|
D | SkScalerContext_mac_ct.cpp | 273 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics() 461 if ((glyph.fMaskFormat == SkMask::kLCD16_Format) || in generateImage() 462 (glyph.fMaskFormat == SkMask::kA8_Format in generateImage() 486 switch (glyph.fMaskFormat) { in generateImage()
|
D | SkTypeface_mac_ct.cpp | 931 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec() 976 if (rec->fMaskFormat == SkMask::kLCD16_Format) { in onFilterRec() 979 rec->fMaskFormat = SkMask::kLCD16_Format; in onFilterRec() 982 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec() 993 rec->fMaskFormat = SkMask::kARGB32_Format; in onFilterRec() 998 if (SkMask::kA8_Format == rec->fMaskFormat && SkFontHinting::kNone == rec->getHinting()) { in onFilterRec()
|
/third_party/flutter/skia/src/gpu/ |
D | GrGlyph.h | 52 , fMaskFormat{FormatFromSkGlyph(skGlyph.maskFormat())} 96 const GrMaskFormat fMaskFormat; member
|
/third_party/skia/tools/fonts/ |
D | RandomScalerContext.cpp | 73 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics() 105 if (SkMask::kARGB32_Format != glyph.fMaskFormat) { in generateImage() 154 rec->fMaskFormat = SkMask::kARGB32_Format; in onFilterRec()
|
/third_party/flutter/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 46 return this->getAtlas(glyph->fMaskFormat)->hasID(glyph->fID); in hasGlyph() 66 this->getAtlas(glyph->fMaskFormat)->setLastUseToken(glyph->fID, token); in addGlyphToBulkAndSetUseToken()
|
D | GrTextBlob.h | 308 void setMaskFormat(GrMaskFormat format) { fMaskFormat = format; } in setMaskFormat() 309 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() 366 GrMaskFormat fMaskFormat{kA8_GrMaskFormat};
|