Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkGlyph.h64 uint8_t fMaskFormat; variable
98 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat); in rowBytes()
102 return MASK_FORMAT_JUST_ADVANCE == fMaskFormat; in isJustAdvance()
106 return MASK_FORMAT_JUST_ADVANCE != fMaskFormat; in isFullMetrics()
153 fMaskFormat = MASK_FORMAT_UNKNOWN; in initCommon()
DSkScalerContext.cpp34 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat); in toMask()
40 switch (fMaskFormat) { in computeImageSize()
105 rec->fMaskFormat, rec->fStrokeJoin); in SkScalerContext()
120 glyph->fMaskFormat = MASK_FORMAT_JUST_ADVANCE; in getAdvance()
145 glyph->fMaskFormat = 0; in getMetrics()
181 switch (fRec.fMaskFormat) { in getMetrics()
193 if (SkMask::kARGB32_Format != glyph->fMaskFormat) { in getMetrics()
194 glyph->fMaskFormat = fRec.fMaskFormat; in getMetrics()
199 SkMask::kARGB32_Format == glyph->fMaskFormat) { in getMetrics()
200 glyph->fMaskFormat = SkMask::kA8_Format; in getMetrics()
[all …]
DSkScalerContext.h75 uint8_t fMaskFormat; member
135 return static_cast<SkMask::Format>(fMaskFormat); in getFormat()
195 return (SkMask::Format)fRec.fMaskFormat; in getMaskFormat()
DSkPaint.cpp1405 rec->fMaskFormat = SkToU8(compute_mask_format(paint)); in MakeRec()
1407 if (SkMask::kLCD16_Format == rec->fMaskFormat) { in MakeRec()
1409 rec->fMaskFormat = SkMask::kA8_Format; in MakeRec()
1418 rec->fMaskFormat = SkMask::kA8_Format; in MakeRec()
1534 switch (rec->fMaskFormat) { in PostMakeRec()
1606 rec->fMaskFormat = SkMask::kA8_Format; // force antialiasing when we do the scan conversion in fill_out_rec()
1613 rec->fMaskFormat = SkMask::kA8_Format; // force antialiasing with maskfilters in fill_out_rec()
1624 rec->fMaskFormat = SkMask::kA8_Format; // force antialiasing when we do the scan conversion in fill_out_rec()
DSkDraw.cpp1531 mask->fFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in getImageData()
/external/skia/src/fonts/
DSkRandomScalerContext.cpp81 glyph->fMaskFormat = format; in generateMetrics()
122 switch (glyph->fMaskFormat) { in generateMetrics()
135 SkMask::Format format = (SkMask::Format)glyph.fMaskFormat; in generateImage()
150 const_cast<SkGlyph&>(glyph).fMaskFormat = format; in generateImage()
155 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in generateImage()
208 rec->fMaskFormat = SkMask::kARGB32_Format; in onFilterRec()
DSkGScalerContext.cpp110 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
114 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in generateImage()
175 rec->fMaskFormat = SkMask::kARGB32_Format; in onFilterRec()
/external/skia/src/gpu/effects/
DGrBitmapTextGeoProc.h37 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat()
59 GrMaskFormat fMaskFormat; variable
DGrBitmapTextGeoProc.cpp139 , fMaskFormat(format) { in GrBitmapTextGeoProc()
143 bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || in GrBitmapTextGeoProc()
144 kA565_GrMaskFormat == fMaskFormat; in GrBitmapTextGeoProc()
/external/skia/src/gpu/text/
DGrFontScaler.cpp50 SkMask::Format format = static_cast<SkMask::Format>(glyph.fMaskFormat); in getPackedGlyphMaskFormat()
140 if (SkMask::kBW_Format == glyph.fMaskFormat) { in getPackedGlyphImage()
179 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in getPackedGlyphDFImage()
DGrBatchFontCache.h56 glyph->fMaskFormat = expectedMaskFormat; in getGlyph()
137 return this->getAtlas(glyph->fMaskFormat)->hasID(glyph->fID); in hasGlyph()
149 this->getAtlas(glyph->fMaskFormat)->setLastUseToken(glyph->fID, token); in addGlyphToBulkAndSetUseToken()
DGrAtlasTextBlob.h367 , fMaskFormat(kA8_GrMaskFormat) in SubRunInfo()
385 , fMaskFormat(that.fMaskFormat) in SubRunInfo()
412 void setMaskFormat(GrMaskFormat format) { fMaskFormat = format; } in setMaskFormat()
413 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat()
460 GrMaskFormat fMaskFormat; member
DGrAtlasTextBlob.cpp82 GrMaskFormat format = glyph->fMaskFormat; in appendGlyph()
103 if (kARGB_GrMaskFormat != glyph->fMaskFormat) { in appendGlyph()
DGrAtlasTextBlob_regenInBatch.cpp195 SkASSERT(glyph && glyph->fMaskFormat == info->maskFormat()); in regenInBatch()
DGrTextUtils.cpp443 if (kA8_GrMaskFormat != glyph->fMaskFormat) { in DfAppendGlyph()
DGrStencilAndCoverTextContext.cpp556 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in appendGlyph()
/external/skia/src/gpu/
DGrGlyph.h37 GrMaskFormat fMaskFormat; member
47 fMaskFormat = format; in init()
/external/skia/src/ports/
DSkFontHost_mac.cpp818 if (SkMask::kBW_Format != glyph.fMaskFormat) { in getCG()
824 if (!generateA8FromLCD && SkMask::kA8_Format == glyph.fMaskFormat) { in getCG()
832 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in getCG()
847 const CGImageAlphaInfo alpha = (SkMask::kARGB32_Format == glyph.fMaskFormat) in getCG()
897 uint32_t bgColor = (SkMask::kARGB32_Format != glyph.fMaskFormat) ? 0xFFFFFFFF : 0x00000000; in getCG()
1263 const bool isLCD = isLCDFormat(glyph.fMaskFormat); in generateImage()
1264 if (isLCD || (glyph.fMaskFormat == SkMask::kA8_Format && supports_LCD() && generateA8FromLCD)) { in generateImage()
1285 switch (glyph.fMaskFormat) { in generateImage()
1959 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
2007 if (isLCDFormat(rec->fMaskFormat)) { in onFilterRec()
[all …]
DSkFontHost_FreeType_common.cpp366 if (SkMask::kLCD16_Format == glyph.fMaskFormat) { in generateGlyphImage()
382 target.pixel_mode = compute_pixel_mode( (SkMask::Format)fRec.fMaskFormat); in generateGlyphImage()
392 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in generateGlyphImage()
499 if (SkMask::kA8_Format == glyph.fMaskFormat && fPreBlend.isApplicable()) { in generateGlyphImage()
DSkScalerContext_win_dw.cpp47 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD()
272 if (SkMask::kBW_Format == fRec.fMaskFormat) { in SkScalerContext_DW()
730 const_cast<SkGlyph&>(glyph).fMaskFormat = SkMask::kBW_Format; in generateImage()
738 SkASSERT(SkMask::kLCD16_Format == glyph.fMaskFormat); in generateImage()
DSkFontHost_win.cpp61 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD()
82 if (SkMask::kA8_Format == rec.fMaskFormat && !isAxisAligned(rec)) { in needToRenderWithSkia()
587 switch (rec.fMaskFormat) { in compute_quality()
1232 const bool isBW = SkMask::kBW_Format == fRec.fMaskFormat; in generateImage()
1304 ((SkGlyph*)&glyph)->fMaskFormat = SkMask::kBW_Format; in generateImage()
1306 SkASSERT(SkMask::kLCD16_Format == glyph.fMaskFormat); in generateImage()
2295 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
2336 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
2341 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
DSkFontHost_FreeType.cpp64 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD()
692 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
829 if (SkMask::kBW_Format == fRec.fMaskFormat) { in SkScalerContext_FreeType()
1166 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
DSkTypeface_win_dw.cpp253 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()