Home
last modified time | relevance | path

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

123

/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 …]
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()
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> {
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/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 …]
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()
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> {
DSkScalerContext.cpp62 if (rec.fMaskFormat == SkMask::kA8_Format) { in PreprocessRec()
211 glyph->fMaskFormat = SkMask::kA8_Format; in getMetrics()
434 case SkMask::kA8_Format: in generateMask()
475 case SkMask::kA8_Format: in generateMask()
885 return SkMask::kA8_Format; in compute_mask_format()
890 return SkMask::kA8_Format; in compute_mask_format()
1003 rec->fMaskFormat = SkMask::kA8_Format; in MakeRecAndEffects()
1011 rec->fMaskFormat = SkMask::kA8_Format; 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.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/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/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/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/skqp/src/gpu/text/
DGrSDFMaskFilter.cpp48 if (src.fFormat != SkMask::kA8_Format in filterMask()
69 if (src.fFormat == SkMask::kA8_Format) { in filterMask()
/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/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()
DSkRemoteGlyphCacheTest.cpp662 glyph->fMaskFormat = SkMask::kA8_Format; in DEF_TEST()
708 REPORTER_ASSERT(reporter, lostGlyph.fMaskFormat == SkMask::kA8_Format); in DEF_TEST()
720 REPORTER_ASSERT(reporter, lostGlyph.fMaskFormat == SkMask::kA8_Format); in DEF_TEST()
793 fakeMask = (realMask == SkMask::kA8_Format) ? SkMask::kBW_Format : SkMask::kA8_Format; in DEF_TEST()
/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()

123