Home
last modified time | relevance | path

Searched refs:fMaskFormat (Results 1 - 18 of 18) sorted by relevance

/third_party/skia/src/core/
H A DSkScalerContext.cpp62 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 in internalMakeGlyph()
[all...]
H A DSkTypeface_remote.cpp32 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
H A DSkScalerContext.h120 SkMask::Format fMaskFormat; member
141 fFrameWidth, fMiterLimit, fMaskFormat, fStrokeJoin, fStrokeCap, fFlags); in dump()
203 return fMaskFormat; in getFormat()
257 // only meaningful if fMaskFormat is kLCD16
262 // only meaningful if fMaskFormat is kA8
263 kGenA8FromLCD_Flag = 0x0800, // could be 0x200 (bit meaning dependent on fMaskFormat)
281 return fRec.fMaskFormat; in getMaskFormat()
379 * TODO: fMaskFormat is set by internalMakeGlyph later; cannot be set here.
386 * This method may change glyph.fMaskFormat if the new image size is
H A DSkGlyph.cpp20 mask.fFormat = fMaskFormat; in mask()
80 // It used to be that getImage() could change the fMaskFormat. Extra checking to make in setImage()
114 fMaskFormat = from.fMaskFormat; in setMetricsAndImage()
125 return format_rowbytes(fWidth, fMaskFormat); in rowBytes()
137 if (fMaskFormat == SkMask::k3D_Format) { in imageSize()
H A DSkGlyph.h251 // fImage, fPath, fID, fMaskFormat fields.
304 bool isColor() const { return fMaskFormat == SkMask::kARGB32_Format; }
305 SkMask::Format maskFormat() const { return fMaskFormat; }
401 SkMask::Format fMaskFormat{SkMask::kBW_Format};
H A DSkRemoteGlyphCache.cpp401 SkASSERT(SkMask::IsValidFormat(glyph.fMaskFormat)); in writePendingGlyphs()
415 SkASSERT(SkMask::IsValidFormat(glyph.fMaskFormat)); in writePendingGlyphs()
924 glyph->fMaskFormat = static_cast<SkMask::Format>(maskFormat); in ReadGlyph()
/third_party/skia/src/gpu/text/
H A DGrTextBlob.cpp501 const GrMaskFormat fMaskFormat; member in __anon18873::final
520 : fMaskFormat{format} in DirectMaskSubRun()
586 if (fMaskFormat != kARGB_GrMaskFormat) { in vertexStride()
687 calculate_colors(sdc, paint, viewMatrix, fMaskFormat, &grPaint); in makeAtlasTextOp()
699 op_mask_type(fMaskFormat), in makeAtlasTextOp()
715 return fGlyphs.regenerateAtlas(begin, end, fMaskFormat, 0, target); in regenerateAtlas()
800 if (fMaskFormat != kARGB_GrMaskFormat) { in fillVertexData()
810 if (fMaskFormat != kARGB_GrMaskFormat) { in fillVertexData()
895 const GrMaskFormat fMaskFormat; member in __anon18873::final
916 : fMaskFormat{forma in TransformedMaskSubRun()
1154 const GrMaskFormat fMaskFormat; global() member in __anon18873::final
1706 const GrMaskFormat fMaskFormat; global() member in __anon18875::final
1949 const GrMaskFormat fMaskFormat; global() member in __anon18875::final
2175 const GrMaskFormat fMaskFormat; global() member in __anon18875::final
[all...]
/third_party/skia/src/gpu/effects/
H A DGrBitmapTextGeoProc.cpp92 if (btgp.fMaskFormat == kARGB_GrMaskFormat) {
126 , fMaskFormat(format) { in GrBitmapTextGeoProc()
135 bool hasVertexColor = kA8_GrMaskFormat == fMaskFormat || in GrBitmapTextGeoProc()
136 kA565_GrMaskFormat == fMaskFormat; in GrBitmapTextGeoProc()
183 format.printf("ShaderDfx_GrBitmapTextGeoProc_%d_%d_%d_%d_%d_%d", fUsesW, fMaskFormat, numTextureSamplers(), in getShaderDfxInfo()
191 b->addBits(2, fMaskFormat, "maskFormat"); in addToKey()
H A DGrBitmapTextGeoProc.h79 GrMaskFormat fMaskFormat; variable
/third_party/skia/src/ports/
H A DSkScalerContext_win_dw.cpp96 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 in generateColorGlyphImage()
[all...]
H A 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()
H A DSkTypeface_mac_ct.cpp931 rec->fMaskFormat = SkMask::kA8_Format;
976 if (rec->fMaskFormat == SkMask::kLCD16_Format) {
979 rec->fMaskFormat = SkMask::kLCD16_Format;
982 rec->fMaskFormat = SkMask::kA8_Format;
993 rec->fMaskFormat = SkMask::kARGB32_Format;
998 if (SkMask::kA8_Format == rec->fMaskFormat && SkFontHinting::kNone == rec->getHinting()) {
H A DSkFontHost_win.cpp67 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD()
88 if (SkMask::kA8_Format == rec.fMaskFormat && !isAxisAligned(rec)) { in needToRenderWithSkia()
619 switch (rec.fMaskFormat) { in compute_quality()
808 glyph->fMaskFormat = fRec.fMaskFormat; in generateMetrics()
1096 const bool isBW = SkMask::kBW_Format == fRec.fMaskFormat; in generateImage()
1165 SkASSERT(SkMask::kLCD16_Format == glyph.fMaskFormat); in generateImage()
2100 rec->fMaskFormat = SkMask::kA8_Format;
2139 rec->fMaskFormat = SkMask::kA8_Format;
2144 rec->fMaskFormat
[all...]
H A DSkFontHost_FreeType.cpp87 return SkMask::kLCD16_Format == rec.fMaskFormat; in isLCD()
787 if (SkMask::kBW_Format == fRec.fMaskFormat) {
1052 if (glyph->fMaskFormat == SkMask::kLCD16_Format) {
1082 glyph->fMaskFormat = fRec.fMaskFormat;
1198 glyph->fMaskFormat = SkMask::kARGB32_Format;
1247 glyph->fMaskFormat = SkMask::kARGB32_Format;
H A DSkFontHost_FreeType_common.cpp1247 if (SkMask::kARGB32_Format == glyph.fMaskFormat) { in generateGlyphImage()
1337 if (SkMask::kLCD16_Format == glyph.fMaskFormat) { in generateGlyphImage()
1428 target.pixel_mode = compute_pixel_mode(glyph.fMaskFormat); in generateGlyphImage()
1445 SkMask::Format maskFormat = static_cast<SkMask::Format>(glyph.fMaskFormat); in generateGlyphImage()
1545 if (SkMask::kA8_Format == glyph.fMaskFormat && fPreBlend.isApplicable()) { in generateGlyphImage()
H A DSkTypeface_win_dw.cpp402 rec->fMaskFormat = SkMask::kA8_Format;
/third_party/skia/tools/fonts/
H A DRandomScalerContext.cpp73 glyph->fMaskFormat = SkMask::kARGB32_Format; in generateMetrics()
90 SkMask::Format format = (SkMask::Format)glyph.fMaskFormat; in generateImage()
97 const_cast<SkGlyph&>(glyph).fMaskFormat = format; in generateImage()
105 if (SkMask::kARGB32_Format != glyph.fMaskFormat) { in generateImage()
154 rec->fMaskFormat = SkMask::kARGB32_Format; in onFilterRec()
H A DTestSVGTypeface.cpp202 glyph->fMaskFormat = SkMask::kARGB32_Format;

Completed in 27 milliseconds