HomeSort by relevance Sort by last modified time
    Searched refs:SkMask (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/skia/src/effects/
SkEmbossMask.h 17 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
SkBlurMask.h 31 static bool Blur(SkMask* dst, const SkMask& src,
SkKernel33MaskFilter.cpp 11 SkMask::Format SkKernel33ProcMaskFilter::getFormat() {
12 return SkMask::kA8_Format;
15 bool SkKernel33ProcMaskFilter::filterMask(SkMask* dst, const SkMask& src,
21 dst->fFormat = SkMask::kA8_Format;
32 dst->fImage = SkMask::AllocImage(size);
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() {
77 return SkMask::kA8_Format;
80 bool SkBlurMaskFilterImpl::filterMask(SkMask* dst, const SkMask& src,
SkEmbossMaskFilter.cpp 63 SkMask::Format SkEmbossMaskFilter::getFormat() {
64 return SkMask::k3D_Format;
67 bool SkEmbossMaskFilter::filterMask(SkMask* dst, const SkMask& src,
76 dst->fFormat = SkMask::k3D_Format;
93 dst->fImage = SkMask::AllocImage(planeSize * 3);
95 SkMask::FreeImage(alphaPlane);
SkTableMaskFilter.cpp 28 bool SkTableMaskFilter::filterMask(SkMask* dst, const SkMask& src,
30 if (src.fFormat != SkMask::kA8_Format) {
36 dst->fFormat = SkMask::kA8_Format;
40 dst->fImage = SkMask::AllocImage(dst->computeImageSize());
70 SkMask::Format SkTableMaskFilter::getFormat() {
71 return SkMask::kA8_Format;
SkLayerRasterizer.cpp 13 #include "SkMask.h"
74 SkMask mask;
77 SkMask::kJustComputeBounds_CreateMode)) {
88 SkMask* mask, SkMask::CreateMode mode) {
93 if (SkMask::kJustRenderImage_CreateMode != mode) {
98 if (SkMask::kComputeBoundsAndRenderImage_CreateMode == mode) {
99 mask->fFormat = SkMask::kA8_Format;
105 mask->fImage = SkMask::AllocImage(size);
109 if (SkMask::kJustComputeBounds_CreateMode != mode)
    [all...]
  /external/skia/include/core/
SkRasterizer.h 14 #include "SkMask.h"
29 SkMask* mask, SkMask::CreateMode mode);
37 SkMask* mask, SkMask::CreateMode mode);
SkMaskFilter.h 14 #include "SkMask.h"
27 is first scan converted into a SkMask::kA8_Format mask, and handed to the
40 virtual SkMask::Format getFormat() = 0;
45 If you do allocate a dst image, use SkMask::AllocImage()
55 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
SkScalerContext.h 13 #include "SkMask.h"
26 // needs to be != to any valid SkMask::Format
54 static unsigned ComputeRowBytes(unsigned width, SkMask::Format format) {
56 if (SkMask::kBW_Format == format) {
58 } else if (SkMask::kARGB32_Format == format ||
59 SkMask::kLCD32_Format == format)
62 } else if (SkMask::kLCD16_Format == format) {
71 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat);
156 void toMask(SkMask* mask) const;
233 SkMask::Format getFormat() const
    [all...]
SkBlitter.h 18 #include "SkMask.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;
SkDraw.h 15 #include "SkMask.h"
80 SkMask* mask, SkMask::CreateMode mode);
103 void drawDevMask(const SkMask& mask, const SkPaint&) const;
  /external/skia/src/core/
SkMask.cpp 10 #include "SkMask.h"
24 size_t SkMask::computeImageSize() const {
28 size_t SkMask::computeTotalImageSize() const {
30 if (fFormat == SkMask::k3D_Format) {
39 uint8_t* SkMask::AllocImage(size_t size) {
46 void SkMask::FreeImage(void* image) {
61 static int maskFormatToShift(SkMask::Format format) {
63 SkASSERT(SkMask::kBW_Format != format);
67 void* SkMask::getAddr(int x, int y) const {
SkBlitMask.h 13 #include "SkMask.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);
SkRasterizer.cpp 20 SkMask* mask, SkMask::CreateMode mode) {
23 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) {
25 SkMask srcM, dstM;
27 srcM.fFormat = SkMask::kA8_Format;
45 SkMask* mask, SkMask::CreateMode mode) {
SkMaskFilter.cpp 17 bool SkMaskFilter::filterMask(SkMask*, const SkMask&, const SkMatrix&,
25 SkMask srcM, dstM;
28 SkMask::kComputeBoundsAndRenderImage_CreateMode)) {
60 SkMask srcM, dstM;
65 srcM.fFormat = SkMask::kA8_Format;
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&);
SkScalerContext.cpp 24 void SkGlyph::toMask(SkMask* mask) const {
30 mask->fFormat = static_cast<SkMask::Format>(fMaskFormat);
37 case SkMask::k3D_Format:
282 SkMask mask;
286 SkMask::kJustComputeBounds_CreateMode)) {
309 if (SkMask::kARGB32_Format != glyph->fMaskFormat) {
314 SkMask src, dst;
344 return SkMask::kLCD16_Format == rec.fMaskFormat ||
345 SkMask::kLCD32_Format == rec.fMaskFormat;
352 static void copyToLCD16(const SkBitmap& src, const SkMask& dst)
    [all...]
  /external/skia/include/effects/
SkEmbossMaskFilter.h 32 virtual SkMask::Format getFormat();
34 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
SkKernel33MaskFilter.h 23 virtual SkMask::Format getFormat();
24 virtual bool filterMask(SkMask*, const SkMask&, const SkMatrix&, SkIPoint*);
SkTableMaskFilter.h 51 virtual SkMask::Format getFormat();
52 virtual bool filterMask(SkMask*, const SkMask&, const SkMatrix&, SkIPoint*);
SkLayerRasterizer.h 49 SkMask* mask, SkMask::CreateMode mode);
  /external/skia/src/opts/
SkBlitRow_opts_none.cpp 32 SkMask::Format maskFormat,
42 SkMask::Format maskFormat,
  /external/skia/tests/
AAClipTest.cpp 11 #include "SkMask.h"
15 static bool operator==(const SkMask& a, const SkMask& b) {
28 case SkMask::kBW_Format:
31 case SkMask::kA8_Format:
32 case SkMask::k3D_Format:
34 case SkMask::kLCD16_Format:
37 case SkMask::kLCD32_Format:
38 case SkMask::kARGB32_Format:
59 static void copyToMask(const SkRegion& rgn, SkMask* mask)
    [all...]
  /external/skia/src/gpu/
SkGrFontScaler.cpp 80 SkMask::Format format = fStrike->getMaskFormat();
82 case SkMask::kBW_Format:
84 case SkMask::kA8_Format:
86 case SkMask::kLCD16_Format:
88 case SkMask::kLCD32_Format:
91 GrAssert(!"unsupported SkMask::Format");
139 if (SkMask::kBW_Format == fStrike->getMaskFormat()) {

Completed in 258 milliseconds

1 2 3