/external/skia/src/core/ |
D | SkMask.cpp | 24 size_t SkMask::computeImageSize() const { in computeImageSize() 28 size_t SkMask::computeTotalImageSize() const { in computeTotalImageSize() 30 if (fFormat == SkMask::k3D_Format) { in computeTotalImageSize() 39 uint8_t* SkMask::AllocImage(size_t size) { in AllocImage() 46 void SkMask::FreeImage(void* image) { in FreeImage() 61 static int maskFormatToShift(SkMask::Format format) { in maskFormatToShift() 63 SkASSERT(SkMask::kBW_Format != format); in maskFormatToShift() 67 void* SkMask::getAddr(int x, int y) const { in getAddr()
|
D | SkRasterizer.cpp | 20 SkMask* mask, SkMask::CreateMode mode) { in rasterize() 23 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) { in rasterize() 25 SkMask srcM, dstM; in rasterize() 27 srcM.fFormat = SkMask::kA8_Format; in rasterize() 45 SkMask* mask, SkMask::CreateMode mode) { in onRasterize()
|
D | SkScalerContext.cpp | 24 void SkGlyph::toMask(SkMask* mask) const { in toMask() 30 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat); in toMask() 37 case SkMask::k3D_Format: in computeImageSize() 282 SkMask mask; in getMetrics() 286 SkMask::kJustComputeBounds_CreateMode)) { in getMetrics() 309 if (SkMask::kARGB32_Format != glyph->fMaskFormat) { in getMetrics() 314 SkMask src, dst; in getMetrics() 344 return SkMask::kLCD16_Format == rec.fMaskFormat || in isLCD() 345 SkMask::kLCD32_Format == rec.fMaskFormat; in isLCD() 352 static void copyToLCD16(const SkBitmap& src, const SkMask& dst) { in copyToLCD16() [all …]
|
D | SkMaskFilter.cpp | 17 bool SkMaskFilter::filterMask(SkMask*, const SkMask&, const SkMatrix&, in filterMask() argument 25 SkMask srcM, dstM; in filterPath() 28 SkMask::kComputeBoundsAndRenderImage_CreateMode)) { in filterPath() 60 SkMask srcM, dstM; in computeFastBounds() 65 srcM.fFormat = SkMask::kA8_Format; in computeFastBounds()
|
D | SkBlitMask.h | 21 static bool BlitColor(const SkBitmap& device, const SkMask& mask, 54 static ColorProc ColorFactory(SkBitmap::Config, SkMask::Format, SkColor); 60 static ColorProc PlatformColorProcs(SkBitmap::Config, SkMask::Format, SkColor); 81 static RowProc RowFactory(SkBitmap::Config, SkMask::Format, RowFlags); 87 static RowProc PlatformRowProcs(SkBitmap::Config, SkMask::Format, RowFlags);
|
D | SkCoreBlitters.h | 50 virtual void blitMask(const SkMask&, const SkIRect&); 68 virtual void blitMask(const SkMask&, const SkIRect&); 90 virtual void blitMask(const SkMask&, const SkIRect&); 111 virtual void blitMask(const SkMask&, const SkIRect&); 133 virtual void blitMask(const SkMask&, const SkIRect&);
|
D | SkBlitter_ARGB32.cpp | 17 static void SkARGB32_Blit32(const SkBitmap& device, const SkMask& mask, in SkARGB32_Blit32() 149 void SkARGB32_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() 161 if (mask.fFormat == SkMask::kBW_Format) { in blitMask() 163 } else if (SkMask::kARGB32_Format == mask.fFormat) { in blitMask() 168 void SkARGB32_Opaque_Blitter::blitMask(const SkMask& mask, in blitMask() 176 if (mask.fFormat == SkMask::kBW_Format) { in blitMask() 178 } else if (SkMask::kARGB32_Format == mask.fFormat) { in blitMask() 375 void SkARGB32_Shader_Blitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() 377 if (fXfermode && (SkMask::kA8_Format != mask.fFormat)) { in blitMask() 412 SkASSERT(SkMask::kA8_Format == mask.fFormat); in blitMask()
|
D | SkBlitter.cpp | 107 void SkBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() 110 if (mask.fFormat == SkMask::kBW_Format) { in blitMask() 185 void SkBlitter::blitMaskRegion(const SkMask& mask, const SkRegion& clip) { in blitMaskRegion() 230 void SkNullBlitter::blitMask(const SkMask& mask, const SkIRect& clip) {} in blitMask() 381 void SkRectClipBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() 514 void SkRgnClipBlitter::blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() 569 void setMask(const SkMask* mask) { fMask = mask; } in setMask() 684 const SkMask* fMask; 718 virtual void blitMask(const SkMask& mask, const SkIRect& clip) { in blitMask() 719 if (mask.fFormat == SkMask::k3D_Format) { in blitMask() [all …]
|
/external/skia/tests/ |
D | AAClipTest.cpp | 15 static bool operator==(const SkMask& a, const SkMask& b) { in operator ==() 28 case SkMask::kBW_Format: in operator ==() 31 case SkMask::kA8_Format: in operator ==() 32 case SkMask::k3D_Format: in operator ==() 34 case SkMask::kLCD16_Format: in operator ==() 37 case SkMask::kLCD32_Format: in operator ==() 38 case SkMask::kARGB32_Format: in operator ==() 59 static void copyToMask(const SkRegion& rgn, SkMask* mask) { in copyToMask() 60 mask->fFormat = SkMask::kA8_Format; in copyToMask() 71 mask->fImage = SkMask::AllocImage(mask->computeImageSize()); in copyToMask() [all …]
|
/external/skia/include/core/ |
D | SkScalerContext.h | 54 static unsigned ComputeRowBytes(unsigned width, SkMask::Format format) { in ComputeRowBytes() 56 if (SkMask::kBW_Format == format) { in ComputeRowBytes() 58 } else if (SkMask::kARGB32_Format == format || in ComputeRowBytes() 59 SkMask::kLCD32_Format == format) in ComputeRowBytes() 62 } else if (SkMask::kLCD16_Format == format) { in ComputeRowBytes() 71 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat); in rowBytes() 156 void toMask(SkMask* mask) const; 233 SkMask::Format getFormat() const { in getFormat() 234 return static_cast<SkMask::Format>(fMaskFormat); in getFormat() 268 SkMask::Format getMaskFormat() const { in getMaskFormat() [all …]
|
D | SkRasterizer.h | 29 SkMask* mask, SkMask::CreateMode mode); 37 SkMask* mask, SkMask::CreateMode mode);
|
D | SkMaskFilter.h | 40 virtual SkMask::Format getFormat() = 0; 55 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
|
D | SkBlitter.h | 46 virtual void blitMask(const SkMask&, const SkIRect& clip); 55 void blitMaskRegion(const SkMask& mask, const SkRegion& clip); 93 virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE; 116 virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE; 143 virtual void blitMask(const SkMask&, const SkIRect& clip) SK_OVERRIDE;
|
/external/skia/src/effects/ |
D | SkEmbossMaskFilter.cpp | 63 SkMask::Format SkEmbossMaskFilter::getFormat() { in getFormat() 64 return SkMask::k3D_Format; in getFormat() 67 bool SkEmbossMaskFilter::filterMask(SkMask* dst, const SkMask& src, in filterMask() 76 dst->fFormat = SkMask::k3D_Format; in filterMask() 93 dst->fImage = SkMask::AllocImage(planeSize * 3); in filterMask() 95 SkMask::FreeImage(alphaPlane); in filterMask()
|
D | SkTableMaskFilter.cpp | 28 bool SkTableMaskFilter::filterMask(SkMask* dst, const SkMask& src, in filterMask() 30 if (src.fFormat != SkMask::kA8_Format) { in filterMask() 36 dst->fFormat = SkMask::kA8_Format; in filterMask() 40 dst->fImage = SkMask::AllocImage(dst->computeImageSize()); in filterMask() 70 SkMask::Format SkTableMaskFilter::getFormat() { in getFormat() 71 return SkMask::kA8_Format; in getFormat()
|
D | SkBlurMaskFilter.cpp | 21 virtual SkMask::Format getFormat() SK_OVERRIDE; 22 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&, 76 SkMask::Format SkBlurMaskFilterImpl::getFormat() { in getFormat() 77 return SkMask::kA8_Format; in getFormat() 80 bool SkBlurMaskFilterImpl::filterMask(SkMask* dst, const SkMask& src, in filterMask()
|
D | SkKernel33MaskFilter.cpp | 11 SkMask::Format SkKernel33ProcMaskFilter::getFormat() { in getFormat() 12 return SkMask::kA8_Format; in getFormat() 15 bool SkKernel33ProcMaskFilter::filterMask(SkMask* dst, const SkMask& src, in filterMask() 21 dst->fFormat = SkMask::kA8_Format; in filterMask() 32 dst->fImage = SkMask::AllocImage(size); in filterMask()
|
D | SkLayerRasterizer.cpp | 74 SkMask mask; in compute_bounds() 77 SkMask::kJustComputeBounds_CreateMode)) { in compute_bounds() 88 SkMask* mask, SkMask::CreateMode mode) { in onRasterize() 93 if (SkMask::kJustRenderImage_CreateMode != mode) { in onRasterize() 98 if (SkMask::kComputeBoundsAndRenderImage_CreateMode == mode) { in onRasterize() 99 mask->fFormat = SkMask::kA8_Format; in onRasterize() 105 mask->fImage = SkMask::AllocImage(size); in onRasterize() 109 if (SkMask::kJustComputeBounds_CreateMode != mode) { in onRasterize()
|
D | SkBlurMask.h | 31 static bool Blur(SkMask* dst, const SkMask& src,
|
/external/skia/src/gpu/ |
D | SkGrFontScaler.cpp | 80 SkMask::Format format = fStrike->getMaskFormat(); in getMaskFormat() 82 case SkMask::kBW_Format: in getMaskFormat() 84 case SkMask::kA8_Format: in getMaskFormat() 86 case SkMask::kLCD16_Format: in getMaskFormat() 88 case SkMask::kLCD32_Format: in getMaskFormat() 139 if (SkMask::kBW_Format == fStrike->getMaskFormat()) { in getPackedGlyphImage()
|
/external/skia/include/effects/ |
D | SkEmbossMaskFilter.h | 32 virtual SkMask::Format getFormat(); 34 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
|
D | SkKernel33MaskFilter.h | 23 virtual SkMask::Format getFormat(); 24 virtual bool filterMask(SkMask*, const SkMask&, const SkMatrix&, SkIPoint*);
|
D | SkTableMaskFilter.h | 51 virtual SkMask::Format getFormat(); 52 virtual bool filterMask(SkMask*, const SkMask&, const SkMatrix&, SkIPoint*);
|
/external/skia/src/opts/ |
D | opts_check_SSE2.cpp | 150 SkMask::Format maskFormat, in PlatformColorProcs() 152 if (SkMask::kA8_Format != maskFormat) { in PlatformColorProcs() 186 SkMask::Format maskFormat, in PlatformRowProcs()
|
D | SkBlitRow_opts_none.cpp | 32 SkMask::Format maskFormat, in PlatformColorProcs() 42 SkMask::Format maskFormat, in PlatformRowProcs()
|