/external/skia/src/core/ |
D | SkGlyph.h | 64 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()
|
D | SkScalerContext.cpp | 34 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 …]
|
D | SkScalerContext.h | 75 uint8_t fMaskFormat; member 135 return static_cast<SkMask::Format>(fMaskFormat); in getFormat() 195 return (SkMask::Format)fRec.fMaskFormat; in getMaskFormat()
|
D | SkPaint.cpp | 1405 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()
|
D | SkDraw.cpp | 1531 mask->fFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in getImageData()
|
/external/skia/src/fonts/ |
D | SkRandomScalerContext.cpp | 81 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()
|
D | SkGScalerContext.cpp | 110 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/ |
D | GrBitmapTextGeoProc.h | 37 GrMaskFormat maskFormat() const { return fMaskFormat; } in maskFormat() 59 GrMaskFormat fMaskFormat; variable
|
D | GrBitmapTextGeoProc.cpp | 139 , fMaskFormat(format) { in GrBitmapTextGeoProc() 143 bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || in GrBitmapTextGeoProc() 144 kA565_GrMaskFormat == fMaskFormat; in GrBitmapTextGeoProc()
|
/external/skia/src/gpu/text/ |
D | GrFontScaler.cpp | 50 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()
|
D | GrBatchFontCache.h | 56 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()
|
D | GrAtlasTextBlob.h | 367 , 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
|
D | GrAtlasTextBlob.cpp | 82 GrMaskFormat format = glyph->fMaskFormat; in appendGlyph() 103 if (kARGB_GrMaskFormat != glyph->fMaskFormat) { in appendGlyph()
|
D | GrAtlasTextBlob_regenInBatch.cpp | 195 SkASSERT(glyph && glyph->fMaskFormat == info->maskFormat()); in regenInBatch()
|
D | GrTextUtils.cpp | 443 if (kA8_GrMaskFormat != glyph->fMaskFormat) { in DfAppendGlyph()
|
D | GrStencilAndCoverTextContext.cpp | 556 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in appendGlyph()
|
/external/skia/src/gpu/ |
D | GrGlyph.h | 37 GrMaskFormat fMaskFormat; member 47 fMaskFormat = format; in init()
|
/external/skia/src/ports/ |
D | SkFontHost_mac.cpp | 818 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 …]
|
D | SkFontHost_FreeType_common.cpp | 366 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()
|
D | SkScalerContext_win_dw.cpp | 47 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()
|
D | SkFontHost_win.cpp | 61 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()
|
D | SkFontHost_FreeType.cpp | 64 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()
|
D | SkTypeface_win_dw.cpp | 253 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
|