Home
last modified time | relevance | path

Searched refs:fMaskFormat (Results 1 – 25 of 42) 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 …]
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
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()
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/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/core/
DSkScalerContext.cpp62 if (rec.fMaskFormat == SkMask::kA8_Format) { in PreprocessRec()
181 return internalMakeGlyph(packedID, fRec.fMaskFormat); in makeGlyph()
186 glyph.fMaskFormat = format; in internalMakeGlyph()
201 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in internalMakeGlyph()
202 glyph.fMaskFormat = SkMask::kA8_Format; in internalMakeGlyph()
215 const bool fromLCD = (glyph.fMaskFormat == SkMask::kLCD16_Format) || in internalMakeGlyph()
216 (glyph.fMaskFormat == SkMask::kA8_Format && a8FromLCD); in internalMakeGlyph()
241 glyph.fMaskFormat = SkMask::kBW_Format; in internalMakeGlyph()
262 glyph.fMaskFormat = dst.fFormat; in internalMakeGlyph()
273 glyph.fMaskFormat = fRec.fMaskFormat; in internalMakeGlyph()
[all …]
DSkScalerContext.h115 SkMask::Format fMaskFormat; member
136 fFrameWidth, fMiterLimit, fMaskFormat, fStrokeJoin, fStrokeCap, fFlags); in dump()
197 return fMaskFormat; in getFormat()
273 return fRec.fMaskFormat; in getMaskFormat()
DSkGlyph.cpp22 mask.fFormat = fMaskFormat; in mask()
116 fMaskFormat = from.fMaskFormat; in setMetricsAndImage()
127 return format_rowbytes(fWidth, fMaskFormat); in rowBytes()
139 if (fMaskFormat == SkMask::k3D_Format) { in imageSize()
DSkTypeface_remote.cpp32 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
DSkGlyph.h303 bool isColor() const { return fMaskFormat == SkMask::kARGB32_Format; } in isColor()
304 SkMask::Format maskFormat() const { return fMaskFormat; } in maskFormat()
400 SkMask::Format fMaskFormat{SkMask::kBW_Format};
/external/skia/src/gpu/text/
DGrTextBlob.cpp483 const GrMaskFormat fMaskFormat; member in __anona00be6630111::DirectMaskSubRun
502 : fMaskFormat{format} in DirectMaskSubRun()
579 if (fMaskFormat != kARGB_GrMaskFormat) { in vertexStride()
668 calculate_colors(sdc, paint, viewMatrix, fMaskFormat, &grPaint); in makeAtlasTextOp()
681 op_mask_type(fMaskFormat), in makeAtlasTextOp()
697 return fGlyphs.regenerateAtlas(begin, end, fMaskFormat, 0, target); in regenerateAtlas()
782 if (fMaskFormat != kARGB_GrMaskFormat) { in fillVertexData()
792 if (fMaskFormat != kARGB_GrMaskFormat) { in fillVertexData()
876 const GrMaskFormat fMaskFormat; member in __anona00be6630111::TransformedMaskSubRun
893 : fMaskFormat{format} in TransformedMaskSubRun()
[all …]
/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.cpp58 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD()
286 if (SkMask::kBW_Format == fRec.fMaskFormat) { in SkScalerContext_DW()
351 SkMask::kA8_Format == fRec.fMaskFormat && in SkScalerContext_DW()
618 SkASSERT(glyph->fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngMetrics()
695 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
702 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
708 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
734 glyph->fMaskFormat = SkMask::kBW_Format; in generateMetrics()
1009 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generateColorGlyphImage()
1079 SkASSERT(glyph.fMaskFormat == SkMask::Format::kARGB32_Format); in generatePngGlyphImage()
[all …]
DSkScalerContext_mac_ct.cpp273 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()
/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/effects/
DGrBitmapTextGeoProc.h51 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat()
79 GrMaskFormat fMaskFormat; variable
DGrBitmapTextGeoProc.cpp142 , fMaskFormat(format) { in GrBitmapTextGeoProc()
151 bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || in GrBitmapTextGeoProc()
152 kA565_GrMaskFormat == fMaskFormat; in GrBitmapTextGeoProc()
/external/skia/tools/fonts/
DRandomScalerContext.cpp73 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
105 if (SkMask::kARGB32_Format != glyph.fMaskFormat) { in generateImage()
154 rec->fMaskFormat = SkMask::kARGB32_Format; in onFilterRec()
/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()
DGrTextBlob.h308 void setMaskFormat(GrMaskFormat format) { fMaskFormat = format; } in setMaskFormat()
309 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat()
366 GrMaskFormat fMaskFormat{kA8_GrMaskFormat};

12