Home
last modified time | relevance | path

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

123

/external/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.cpp403 mask.fFormat = SkMask::kA8_Format; in blitAntiH2()
416 mask.fFormat = SkMask::kA8_Format; in blitAntiV2()
428 mask.fFormat = SkMask::kA8_Format; in blitV()
440 SkASSERT(mask.fFormat == SkMask::kA8_Format in blitMask()
468 if (mask.fFormat == SkMask::kA8_Format && !fBlitMaskA8) { in blitMask()
529 case SkMask::kA8_Format: blitter = &fBlitMaskA8; break; in blitMask()
DSkScalerContext.cpp62 if (rec.fMaskFormat == SkMask::kA8_Format) { in PreprocessRec()
202 glyph.fMaskFormat = SkMask::kA8_Format; in internalMakeGlyph()
216 (glyph.fMaskFormat == SkMask::kA8_Format && a8FromLCD); in internalMakeGlyph()
298 const bool toA8 = SkMask::kA8_Format == dst.fFormat; in pack4xHToMask()
460 mask.fFormat == SkMask::kA8_Format || in generateMask()
480 (mask.fFormat == SkMask::kA8_Format && a8FromLCD); in generateMask()
536 case SkMask::kA8_Format: in generateMask()
958 return SkMask::kA8_Format; in compute_mask_format()
963 return SkMask::kA8_Format; in compute_mask_format()
1066 rec->fMaskFormat = SkMask::kA8_Format; in MakeRecAndEffects()
[all …]
DSkMaskFilter.cpp175 m.fFormat = SkMask::kA8_Format; in draw_nine_clipped()
186 m.fFormat = SkMask::kA8_Format; in draw_nine_clipped()
361 srcM.fFormat = SkMask::kA8_Format; in computeFastBounds()
DSkBlitter_A8.cpp70 if (SkMask::kA8_Format != mask.fFormat) { in blitMask()
/external/skqp/src/core/
DSkBlurMask.cpp107 src.fFormat != SkMask::kA8_Format && in BoxBlur()
122 dst->fFormat = SkMask::kA8_Format; in BoxBlur()
163 case SkMask::kA8_Format: in BoxBlur()
166 SkMask::AlphaIter<SkMask::kA8_Format>(src.fImage), src.fRowBytes, in BoxBlur()
196 case SkMask::kA8_Format: in BoxBlur()
199 SkMask::AlphaIter<SkMask::kA8_Format>(src.fImage), src.fRowBytes, in BoxBlur()
240 case SkMask::kA8_Format: in BoxBlur()
243 SkMask::AlphaIter<SkMask::kA8_Format>(src.fImage), src.fRowBytes, in BoxBlur()
413 dst->fFormat = SkMask::kA8_Format; in BlurRect()
514 if (src.fFormat != SkMask::kA8_Format) { in BlurGroundTruth()
[all …]
DSkMaskFilter.cpp177 m.fFormat = SkMask::kA8_Format; in draw_nine_clipped()
188 m.fFormat = SkMask::kA8_Format; in draw_nine_clipped()
356 srcM.fFormat = SkMask::kA8_Format; in computeFastBounds()
384 SkASSERT(as_MFB(fOuter)->getFormat() == SkMask::kA8_Format); in SkComposeMF()
385 SkASSERT(as_MFB(fInner)->getFormat() == SkMask::kA8_Format); in SkComposeMF()
396 SkMask::Format getFormat() const override { return SkMask::kA8_Format; } in getFormat()
471 SkASSERT(as_MFB(fSrc)->getFormat() == SkMask::kA8_Format); in SkCombineMF()
472 SkASSERT(as_MFB(fDst)->getFormat() == SkMask::kA8_Format); in SkCombineMF()
484 SkMask::Format getFormat() const override { return SkMask::kA8_Format; } in getFormat()
526 mask->fFormat = SkMask::kA8_Format; in DrawIntoMask()
[all …]
DSkMask.h27 kA8_Format, //!< 8bits per pixel mask (e.g. antialiasing) enumerator
75 SkASSERT(kA8_Format == fFormat || kSDF_Format == fFormat); in getAddr8()
182 template <> struct SkMask::AlphaIter<SkMask::kA8_Format> {
DSkRasterPipelineBlitter.cpp355 mask.fFormat = SkMask::kA8_Format; in blitAntiH2()
368 mask.fFormat = SkMask::kA8_Format; in blitAntiV2()
380 mask.fFormat = SkMask::kA8_Format; in blitV()
392 SkASSERT(mask.fFormat == SkMask::kA8_Format in blitMask()
420 if (mask.fFormat == SkMask::kA8_Format && !fBlitMaskA8) { in blitMask()
475 case SkMask::kA8_Format: blitter = &fBlitMaskA8; break; in blitMask()
DSkScalerContext.cpp179 glyph->fMaskFormat = SkMask::kA8_Format; in getMetrics()
402 case SkMask::kA8_Format: in generateMask()
443 case SkMask::kA8_Format: in generateMask()
541 if (SkMask::kA8_Format == dstM.fFormat && fPreBlendForFilter.isApplicable()) { in getImage()
857 return SkMask::kA8_Format; in compute_mask_format()
862 return SkMask::kA8_Format; in compute_mask_format()
976 rec->fMaskFormat = SkMask::kA8_Format; in MakeRecAndEffects()
984 rec->fMaskFormat = SkMask::kA8_Format; in MakeRecAndEffects()
1073 case SkMask::kA8_Format: if (luminanceColorWillBeUsed) { in MakeRecAndEffects()
DSkBlitter_A8.cpp70 if (SkMask::kA8_Format != mask.fFormat) { in blitMask()
DSkMask.cpp76 dst.fFormat = SkMask::kA8_Format; in PrepareDestination()
/external/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()
/external/skqp/src/effects/
DSkShaderMaskFilter.cpp19 SkMask::Format getFormat() const override { return SkMask::kA8_Format; } in getFormat()
68 if (src.fFormat != SkMask::kA8_Format) { in filterMask()
77 dst->fFormat = SkMask::kA8_Format; in filterMask()
DSkTableMaskFilter.cpp50 if (src.fFormat != SkMask::kA8_Format) { in filterMask()
56 dst->fFormat = SkMask::kA8_Format; in filterMask()
91 return SkMask::kA8_Format; in getFormat()
/external/skia/src/gpu/text/
DGrSDFMaskFilter.cpp48 if (src.fFormat != SkMask::kA8_Format in filterMask()
69 if (src.fFormat == SkMask::kA8_Format) { in filterMask()
/external/skqp/src/gpu/text/
DGrSDFMaskFilter.cpp48 if (src.fFormat != SkMask::kA8_Format in filterMask()
69 if (src.fFormat == SkMask::kA8_Format) { in filterMask()
/external/skqp/src/ports/
DSkFontHost_FreeType_common.cpp61 case SkMask::kA8_Format: in compute_pixel_mode()
235 (FT_PIXEL_MODE_GRAY == srcFormat && SkMask::kA8_Format == dstFormat)) in copyFTBitmap()
243 } else if (FT_PIXEL_MODE_MONO == srcFormat && SkMask::kA8_Format == dstFormat) { in copyFTBitmap()
334 return SkMask::kA8_Format; in SkMaskFormat_for_SkColorType()
339 return SkMask::kA8_Format; in SkMaskFormat_for_SkColorType()
359 case SkMask::kA8_Format: in SkColorType_for_SkMaskFormat()
576 SkMask::kA8_Format == maskFormat || in generateGlyphImage()
678 if (SkMask::kA8_Format == glyph.fMaskFormat && fPreBlend.isApplicable()) { in generateGlyphImage()
/external/skia/src/gpu/
DGrGlyph.h23 case SkMask::kA8_Format: in FormatFromSkGlyph()
/external/skia/tools/fonts/
DRandomScalerContext.cpp55 SkMask::Format format = SkMask::kA8_Format; in generateMetrics()
58 case 1: format = SkMask::kA8_Format; break; in generateMetrics()
/external/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()
1125 SkMask::kA8_Format == maskFormat || in generateGlyphImage()
1216 if (SkMask::kA8_Format == glyph.fMaskFormat && fPreBlend.isApplicable()) { in generateGlyphImage()
/external/skqp/tests/
DAAClipTest.cpp44 case SkMask::kA8_Format: in operator ==()
72 mask->fFormat = SkMask::kA8_Format; in copyToMask()
312 expected.fFormat = SkMask::kA8_Format; in test_path_with_hole()
/external/skia/tests/
DAAClipTest.cpp44 case SkMask::kA8_Format: in operator ==()
72 mask->fFormat = SkMask::kA8_Format; in copyToMask()
312 expected.fFormat = SkMask::kA8_Format; in test_path_with_hole()

123