Home
last modified time | relevance | path

Searched refs:fMaskFormat (Results 1 – 25 of 48) sorted by relevance

12

/external/skqp/src/core/
DSkGlyph.cpp20 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat); in toMask()
60 auto format = static_cast<SkMask::Format>(fMaskFormat); in formatAlignment()
66 auto format = static_cast<SkMask::Format>(fMaskFormat); in allocImage()
73 return format_rowbytes(fWidth, (SkMask::Format)fMaskFormat); in rowBytes()
83 if (fMaskFormat == SkMask::k3D_Format) { in computeImageSize()
91 fMaskFormat = from.fMaskFormat; in copyImageData()
DSkScalerContext.cpp147 glyph->fMaskFormat = MASK_FORMAT_JUST_ADVANCE; in getAdvance()
150 SkASSERT(glyph->fMaskFormat != MASK_FORMAT_UNKNOWN); in getAdvance()
158 SkASSERT(glyph->fMaskFormat != MASK_FORMAT_UNKNOWN); in getMetrics()
164 SkASSERT(glyph->fMaskFormat != MASK_FORMAT_UNKNOWN); in getMetrics()
166 uint8_t originMaskFormat = glyph->fMaskFormat; in getMetrics()
172 glyph->fMaskFormat = originMaskFormat; in getMetrics()
174 glyph->fMaskFormat = fRec.fMaskFormat; in getMetrics()
178 if (SkMask::kARGB32_Format == glyph->fMaskFormat) { in getMetrics()
179 glyph->fMaskFormat = SkMask::kA8_Format; in getMetrics()
192 switch (glyph->fMaskFormat) { in getMetrics()
[all …]
DSkScalerContext.h125 uint8_t fMaskFormat; member
145 fFrameWidth, fMiterLimit, fMaskFormat, fStrokeJoin, fStrokeCap, fFlags); in dump()
206 return static_cast<SkMask::Format>(fMaskFormat); in getFormat()
269 return (SkMask::Format)fRec.fMaskFormat; in getMaskFormat()
DSkGlyph.h144 bool isJustAdvance() const { return MASK_FORMAT_JUST_ADVANCE == fMaskFormat; } in isJustAdvance()
145 bool isFullMetrics() const { return MASK_FORMAT_JUST_ADVANCE != fMaskFormat; } in isFullMetrics()
198 uint8_t fMaskFormat = MASK_FORMAT_UNKNOWN; variable
DSkTypeface_remote.cpp50 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
/external/skia/src/core/
DSkGlyph.cpp20 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat); in toMask()
60 auto format = static_cast<SkMask::Format>(fMaskFormat); in formatAlignment()
66 auto format = static_cast<SkMask::Format>(fMaskFormat); in allocImage()
73 return format_rowbytes(fWidth, (SkMask::Format)fMaskFormat); in rowBytes()
83 if (fMaskFormat == SkMask::k3D_Format) { in computeImageSize()
91 fMaskFormat = from.fMaskFormat; in copyImageData()
DSkScalerContext.cpp62 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()
[all …]
DSkGlyph.h135 bool isJustAdvance() const { return MASK_FORMAT_JUST_ADVANCE == fMaskFormat; } in isJustAdvance()
136 bool isFullMetrics() const { return MASK_FORMAT_JUST_ADVANCE != fMaskFormat; } in isFullMetrics()
189 uint8_t fMaskFormat = MASK_FORMAT_UNKNOWN; variable
DSkScalerContext.h115 uint8_t fMaskFormat; member
135 fFrameWidth, fMiterLimit, fMaskFormat, fStrokeJoin, fStrokeCap, fFlags); in dump()
196 return static_cast<SkMask::Format>(fMaskFormat); in getFormat()
259 return (SkMask::Format)fRec.fMaskFormat; in getMaskFormat()
DSkTypeface_remote.cpp50 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
/external/skqp/tools/fonts/
DSkRandomScalerContext.cpp68 case 0: glyph->fMaskFormat = SkMask::kLCD16_Format; break; in generateMetrics()
69 case 1: glyph->fMaskFormat = SkMask::kA8_Format; break; in generateMetrics()
70 case 2: glyph->fMaskFormat = SkMask::kARGB32_Format; break; in generateMetrics()
71 case 3: glyph->fMaskFormat = SkMask::kBW_Format; break; in generateMetrics()
84 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
117 if (SkMask::kARGB32_Format != glyph.fMaskFormat) { in generateImage()
164 rec->fMaskFormat = SkMask::kARGB32_Format; in onFilterRec()
/external/skia/tools/fonts/
DSkRandomScalerContext.cpp68 case 0: glyph->fMaskFormat = SkMask::kLCD16_Format; break; in generateMetrics()
69 case 1: glyph->fMaskFormat = SkMask::kA8_Format; break; in generateMetrics()
70 case 2: glyph->fMaskFormat = SkMask::kARGB32_Format; break; in generateMetrics()
71 case 3: glyph->fMaskFormat = SkMask::kBW_Format; break; in generateMetrics()
84 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
117 if (SkMask::kARGB32_Format != glyph.fMaskFormat) { in generateImage()
164 rec->fMaskFormat = SkMask::kARGB32_Format; in onFilterRec()
/external/skqp/src/gpu/
DGrGlyph.h26 SkMask::Format format = static_cast<SkMask::Format>(glyph.fMaskFormat); in FormatFromSkGlyph()
53 return (SkMask::Format)skGlyph.fMaskFormat == SkMask::kSDF_Format in MaskStyleFromSkGlyph()
60 , fMaskFormat{FormatFromSkGlyph(skGlyph)}
104 const GrMaskFormat fMaskFormat; member
/external/skia/src/gpu/
DGrGlyph.h26 SkMask::Format format = static_cast<SkMask::Format>(glyph.fMaskFormat); in FormatFromSkGlyph()
53 return (SkMask::Format)skGlyph.fMaskFormat == SkMask::kSDF_Format in MaskStyleFromSkGlyph()
60 , fMaskFormat{FormatFromSkGlyph(skGlyph)}
104 const GrMaskFormat fMaskFormat; member
/external/skqp/src/ports/
DSkScalerContext_win_dw.cpp51 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD()
279 if (SkMask::kBW_Format == fRec.fMaskFormat) { in SkScalerContext_DW()
344 SkMask::kA8_Format == fRec.fMaskFormat && in SkScalerContext_DW()
633 SkASSERT(glyph->fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngMetrics()
686 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
693 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
699 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
723 glyph->fMaskFormat = SkMask::kBW_Format; in generateMetrics()
984 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generateColorGlyphImage()
1053 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngGlyphImage()
[all …]
DSkFontHost_mac.cpp1021 if (SkMask::kBW_Format != glyph.fMaskFormat) { in getCG()
1027 if (!generateA8FromLCD && SkMask::kA8_Format == glyph.fMaskFormat) { in getCG()
1035 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in getCG()
1050 const CGImageAlphaInfo alpha = (SkMask::kARGB32_Format == glyph.fMaskFormat) in getCG()
1094 uint32_t bgColor = (SkMask::kARGB32_Format != glyph.fMaskFormat) ? 0xFFFFFFFF : 0x00000000; in getCG()
1149 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
1335 if ((glyph.fMaskFormat == SkMask::kLCD16_Format) || in generateImage()
1336 (glyph.fMaskFormat == SkMask::kA8_Format in generateImage()
1360 switch (glyph.fMaskFormat) { in generateImage()
2216 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
[all …]
DSkFontHost_FreeType_common.cpp395 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in generateGlyphImage()
458 if (SkMask::kLCD16_Format == glyph.fMaskFormat) { in generateGlyphImage()
550 target.pixel_mode = compute_pixel_mode( (SkMask::Format)glyph.fMaskFormat); in generateGlyphImage()
567 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in generateGlyphImage()
678 if (SkMask::kA8_Format == glyph.fMaskFormat && fPreBlend.isApplicable()) { in generateGlyphImage()
/external/skia/src/ports/
DSkScalerContext_win_dw.cpp51 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD()
279 if (SkMask::kBW_Format == fRec.fMaskFormat) { in SkScalerContext_DW()
344 SkMask::kA8_Format == fRec.fMaskFormat && in SkScalerContext_DW()
633 SkASSERT(glyph->fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngMetrics()
686 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
693 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
699 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
725 glyph->fMaskFormat = SkMask::kBW_Format; in generateMetrics()
986 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generateColorGlyphImage()
1055 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngGlyphImage()
[all …]
DSkFontHost_mac.cpp1022 if (SkMask::kBW_Format != glyph.fMaskFormat) { in getCG()
1028 if (!generateA8FromLCD && SkMask::kA8_Format == glyph.fMaskFormat) { in getCG()
1036 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in getCG()
1051 const CGImageAlphaInfo alpha = (SkMask::kARGB32_Format == glyph.fMaskFormat) in getCG()
1095 uint32_t bgColor = (SkMask::kARGB32_Format != glyph.fMaskFormat) ? 0xFFFFFFFF : 0x00000000; in getCG()
1150 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
1336 if ((glyph.fMaskFormat == SkMask::kLCD16_Format) || in generateImage()
1337 (glyph.fMaskFormat == SkMask::kA8_Format in generateImage()
1361 switch (glyph.fMaskFormat) { in generateImage()
2217 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
[all …]
/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.h44 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat()
73 GrMaskFormat fMaskFormat; variable
DGrBitmapTextGeoProc.cpp132 , fMaskFormat(format) { in GrBitmapTextGeoProc()
141 bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || in GrBitmapTextGeoProc()
142 kA565_GrMaskFormat == fMaskFormat; in GrBitmapTextGeoProc()
/external/skqp/src/gpu/effects/
DGrBitmapTextGeoProc.h44 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat()
73 GrMaskFormat fMaskFormat; variable
DGrBitmapTextGeoProc.cpp133 , fMaskFormat(format) { in GrBitmapTextGeoProc()
142 bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || in GrBitmapTextGeoProc()
143 kA565_GrMaskFormat == fMaskFormat; in GrBitmapTextGeoProc()
/external/skia/src/gpu/text/
DGrAtlasManager.cpp61 return this->getAtlas(glyph->fMaskFormat)->hasID(glyph->fID); in hasGlyph()
81 this->getAtlas(glyph->fMaskFormat)->setLastUseToken(glyph->fID, token); in addGlyphToBulkAndSetUseToken()
/external/skqp/src/gpu/text/
DGrAtlasManager.cpp61 return this->getAtlas(glyph->fMaskFormat)->hasID(glyph->fID); in hasGlyph()
81 this->getAtlas(glyph->fMaskFormat)->setLastUseToken(glyph->fID, token); in addGlyphToBulkAndSetUseToken()

12