Home
last modified time | relevance | path

Searched refs:kA8_Format (Results 1 – 25 of 36) sorted by relevance

12

/third_party/skia/src/core/
DSkBlurMask.cpp108 src.fFormat != SkMask::kA8_Format && in BoxBlur()
123 dst->fFormat = SkMask::kA8_Format; in BoxBlur()
164 case SkMask::kA8_Format: in BoxBlur()
167 SkMask::AlphaIter<SkMask::kA8_Format>(src.fImage), src.fRowBytes, in BoxBlur()
197 case SkMask::kA8_Format: in BoxBlur()
200 SkMask::AlphaIter<SkMask::kA8_Format>(src.fImage), src.fRowBytes, in BoxBlur()
241 case SkMask::kA8_Format: in BoxBlur()
244 SkMask::AlphaIter<SkMask::kA8_Format>(src.fImage), src.fRowBytes, in BoxBlur()
414 dst->fFormat = SkMask::kA8_Format; in BlurRect()
509 if (src.fFormat != SkMask::kA8_Format) { in BlurGroundTruth()
[all …]
DSkMask.h27 kA8_Format, //!< 8bits per pixel mask (e.g. antialiasing) enumerator
77 SkASSERT(kA8_Format == fFormat || kSDF_Format == fFormat); in getAddr8()
184 template <> struct SkMask::AlphaIter<SkMask::kA8_Format> {
DSkRasterPipelineBlitter.cpp411 mask.fFormat = SkMask::kA8_Format; in blitAntiH2()
424 mask.fFormat = SkMask::kA8_Format; in blitAntiV2()
436 mask.fFormat = SkMask::kA8_Format; in blitV()
448 SkASSERT(mask.fFormat == SkMask::kA8_Format in blitMask()
476 if (mask.fFormat == SkMask::kA8_Format && !fBlitMaskA8) { in blitMask()
537 case SkMask::kA8_Format: blitter = &fBlitMaskA8; break; in blitMask()
DSkScalerContext.cpp62 if (rec.fMaskFormat == SkMask::kA8_Format) { in PreprocessRec()
203 glyph.fMaskFormat = SkMask::kA8_Format; in internalMakeGlyph()
217 (glyph.fMaskFormat == SkMask::kA8_Format && a8FromLCD); in internalMakeGlyph()
297 const bool toA8 = SkMask::kA8_Format == dst.fFormat; in pack4xHToMask()
459 mask.fFormat == SkMask::kA8_Format || in generateMask()
479 (mask.fFormat == SkMask::kA8_Format && a8FromLCD); in generateMask()
535 case SkMask::kA8_Format: in generateMask()
965 return SkMask::kA8_Format; in compute_mask_format()
970 return SkMask::kA8_Format; in compute_mask_format()
1073 rec->fMaskFormat = SkMask::kA8_Format; in MakeRecAndEffects()
[all …]
DSkMaskFilter.cpp176 leftMask.fFormat = SkMask::kA8_Format; in draw_nine_clipped()
187 rightMask.fFormat = SkMask::kA8_Format; in draw_nine_clipped()
362 srcM.fFormat = SkMask::kA8_Format; in computeFastBounds()
DSkBlitter_A8.cpp70 if (SkMask::kA8_Format != mask.fFormat) { in blitMask()
DSkMask.cpp63 dst.fFormat = SkMask::kA8_Format; in PrepareDestination()
DSkMaskBlurFilter.cpp926 case SkMask::kA8_Format: in small_blur()
1013 case SkMask::kA8_Format: { in blur()
1015 auto start = SkMask::AlphaIter<SkMask::kA8_Format>(a8Start); in blur()
1016 auto end = SkMask::AlphaIter<SkMask::kA8_Format>(a8Start + srcW); in blur()
DSkBlitter_ARGB32.cpp612 if (device.colorType() == kN32_SkColorType && mask.fFormat == SkMask::kA8_Format) { in blit_color()
1284 if (fXfermode && (SkMask::kA8_Format != mask.fFormat)) { in blitMask()
1296 if (mask.fFormat == SkMask::kA8_Format && opaque) { in blitMask()
1298 } else if (mask.fFormat == SkMask::kA8_Format) { in blitMask()
1323 SkASSERT(SkMask::kA8_Format == mask.fFormat); in blitMask()
DSkDraw.cpp981 mask.fFormat = SkMask::kA8_Format; in drawBitmapAsMask()
1007 mask.fFormat = SkMask::kA8_Format; in drawBitmapAsMask()
1220 srcM.fFormat = SkMask::kA8_Format; in ComputeMaskBounds()
1292 mask->fFormat = SkMask::kA8_Format; in DrawToMask()
DSkBitmap.cpp331 if (SkMask::kA8_Format != mask.fFormat) { in installMaskPixels()
529 srcM.fFormat = SkMask::kA8_Format; in extractAlpha()
DSkAAClip.cpp858 mask->fFormat = SkMask::kA8_Format; in copyToMask()
1844 case SkMask::kA8_Format: in find_merge_aa_proc()
1864 SkASSERT(SkMask::kA8_Format == dstMask->fFormat); in upscaleBW2A8()
1916 grayMask.fFormat = SkMask::kA8_Format; in blitMask()
1938 rowMask.fFormat = SkMask::k3D_Format == mask->fFormat ? SkMask::kA8_Format : mask->fFormat; in blitMask()
DSkBlurMF.cpp134 return SkMask::kA8_Format; in getFormat()
179 mask->fFormat = SkMask::kA8_Format; in prepare_to_draw_into_mask()
329 srcM.fFormat = SkMask::kA8_Format; in filterRRectToNine()
448 srcM.fFormat = SkMask::kA8_Format; in filterRectsToNine()
/third_party/skia/src/effects/
DSkShaderMaskFilter.cpp20 SkMask::Format getFormat() const override { return SkMask::kA8_Format; } in getFormat()
69 if (src.fFormat != SkMask::kA8_Format) { in filterMask()
78 dst->fFormat = SkMask::kA8_Format; in filterMask()
DSkTableMaskFilter.cpp51 if (src.fFormat != SkMask::kA8_Format) { in filterMask()
57 dst->fFormat = SkMask::kA8_Format; in filterMask()
92 return SkMask::kA8_Format; in getFormat()
DSkEmbossMaskFilter.cpp76 if (src.fFormat != SkMask::kA8_Format) { in filterMask()
/third_party/skia/src/gpu/text/
DGrSDFMaskFilter.cpp48 if (src.fFormat != SkMask::kA8_Format in filterMask()
69 if (src.fFormat == SkMask::kA8_Format) { in filterMask()
/third_party/skia/src/gpu/
DGrGlyph.h23 case SkMask::kA8_Format: in FormatFromSkGlyph()
/third_party/skia/tools/fonts/
DRandomScalerContext.cpp55 SkMask::Format format = SkMask::kA8_Format; in generateMetrics()
58 case 1: format = SkMask::kA8_Format; break; in generateMetrics()
/third_party/skia/tests/
DAAClipTest.cpp44 case SkMask::kA8_Format: in operator ==()
72 mask->fFormat = SkMask::kA8_Format; in copyToMask()
315 expected.fFormat = SkMask::kA8_Format; in test_path_with_hole()
/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp73 case SkMask::kA8_Format: in compute_pixel_mode()
247 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat)) in copyFTBitmap()
255 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) { in copyFTBitmap()
346 return SkMask::kA8_Format; in SkMaskFormat_for_SkColorType()
351 return SkMask::kA8_Format; in SkMaskFormat_for_SkColorType()
371 case SkMask::kA8_Format: in SkColorType_for_SkMaskFormat()
1454 SkMask::kA8_Format == maskFormat || in generateGlyphImage()
1545 if (SkMask::kA8_Format == glyph.fMaskFormat && fPreBlend.isApplicable()) { in generateGlyphImage()
DSkScalerContext_mac_ct.cpp174 if (!generateA8FromLCD && SkMask::kA8_Format == glyph.maskFormat()) { in getCG()
462 (glyph.fMaskFormat == SkMask::kA8_Format in generateImage()
496 case SkMask::kA8_Format: { in generateImage()
DSkTypeface_mac_ct.cpp931 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
982 rec->fMaskFormat = SkMask::kA8_Format; in onFilterRec()
998 if (SkMask::kA8_Format == rec->fMaskFormat && SkFontHinting::kNone == rec->getHinting()) { in onFilterRec()
/third_party/skia/bench/
DBlurRectBench.cpp117 fSrcMask.fFormat = SkMask::kA8_Format; in preBenchSetup()
/third_party/skia/samplecode/
DSampleStrokePath.cpp49 src.fFormat = SkMask::kA8_Format;

12