Searched refs:SkMask (Results 1 - 25 of 147) sorted by relevance

123456

/external/chromium_org/third_party/skia/src/effects/
H A DSkEmbossMask.h17 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
H A DSkBlurMask.h13 #include "SkMask.h"
18 static bool BlurRect(SkScalar sigma, SkMask *dst, const SkRect &src, SkBlurStyle,
20 SkMask::CreateMode createMode =
21 SkMask::kComputeBoundsAndRenderImage_CreateMode);
22 static bool BlurRRect(SkScalar sigma, SkMask *dst, const SkRRect &src, SkBlurStyle,
24 SkMask::CreateMode createMode =
25 SkMask::kComputeBoundsAndRenderImage_CreateMode);
33 static bool BoxBlur(SkMask* dst, const SkMask& src,
39 static bool BlurGroundTruth(SkScalar sigma, SkMask* ds
[all...]
H A DSkStippleMaskFilter.cpp11 bool SkStippleMaskFilter::filterMask(SkMask* dst,
12 const SkMask& src,
16 if (src.fFormat != SkMask::kA8_Format) {
22 dst->fFormat = SkMask::kA8_Format;
31 dst->fImage = SkMask::AllocImage(dstSize);
/external/skia/src/effects/
H A DSkEmbossMask.h17 static void Emboss(SkMask* mask, const SkEmbossMaskFilter::Light&);
H A DSkBlurMask.h13 #include "SkMask.h"
18 static bool BlurRect(SkScalar sigma, SkMask *dst, const SkRect &src, SkBlurStyle,
20 SkMask::CreateMode createMode =
21 SkMask::kComputeBoundsAndRenderImage_CreateMode);
22 static bool BlurRRect(SkScalar sigma, SkMask *dst, const SkRRect &src, SkBlurStyle,
24 SkMask::CreateMode createMode =
25 SkMask::kComputeBoundsAndRenderImage_CreateMode);
33 static bool BoxBlur(SkMask* dst, const SkMask& src,
39 static bool BlurGroundTruth(SkScalar sigma, SkMask* ds
[all...]
H A DSkStippleMaskFilter.cpp11 bool SkStippleMaskFilter::filterMask(SkMask* dst,
12 const SkMask& src,
16 if (src.fFormat != SkMask::kA8_Format) {
22 dst->fFormat = SkMask::kA8_Format;
31 dst->fImage = SkMask::AllocImage(dstSize);
/external/chromium_org/third_party/skia/include/core/
H A DSkRasterizer.h14 #include "SkMask.h"
29 SkMask* mask, SkMask::CreateMode mode) const;
39 SkMask* mask, SkMask::CreateMode mode) const;
/external/chromium_org/third_party/skia/include/effects/
H A DSkStippleMaskFilter.h22 virtual bool filterMask(SkMask* dst, const SkMask& src,
27 virtual SkMask::Format getFormat() const SK_OVERRIDE {
28 return SkMask::kA8_Format;
H A DSkEmbossMaskFilter.h30 virtual SkMask::Format getFormat() const SK_OVERRIDE;
32 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
/external/skia/include/core/
H A DSkRasterizer.h14 #include "SkMask.h"
29 SkMask* mask, SkMask::CreateMode mode) const;
39 SkMask* mask, SkMask::CreateMode mode) const;
/external/skia/include/effects/
H A DSkStippleMaskFilter.h22 virtual bool filterMask(SkMask* dst, const SkMask& src,
27 virtual SkMask::Format getFormat() const SK_OVERRIDE {
28 return SkMask::kA8_Format;
H A DSkEmbossMaskFilter.h30 virtual SkMask::Format getFormat() const SK_OVERRIDE;
32 virtual bool filterMask(SkMask* dst, const SkMask& src, const SkMatrix&,
/external/chromium_org/third_party/skia/src/core/
H A DSkMask.cpp8 #include "SkMask.h"
21 size_t SkMask::computeImageSize() const {
25 size_t SkMask::computeTotalImageSize() const {
27 if (fFormat == SkMask::k3D_Format) {
36 uint8_t* SkMask::AllocImage(size_t size) {
43 void SkMask::FreeImage(void* image) {
58 static int maskFormatToShift(SkMask::Format format) {
60 SkASSERT(SkMask::kBW_Format != format);
64 void* SkMask::getAddr(int x, int y) const {
H A DSkBlitMask.h13 #include "SkMask.h"
21 static bool BlitColor(const SkBitmap& device, const SkMask& mask,
54 static ColorProc ColorFactory(SkColorType, SkMask::Format, SkColor);
60 static ColorProc PlatformColorProcs(SkColorType, SkMask::Format, SkColor);
81 static RowProc RowFactory(SkColorType, SkMask::Format, RowFlags);
87 static RowProc PlatformRowProcs(SkColorType, SkMask::Format, RowFlags);
H A DSkRasterizer.cpp17 SkMask* mask, SkMask::CreateMode mode) const {
20 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) {
22 SkMask srcM, dstM;
24 srcM.fFormat = SkMask::kA8_Format;
42 SkMask* mask, SkMask::CreateMode mode) const {
H A DSkGlyph.h13 #include "SkMask.h"
17 // needs to be != to any valid SkMask::Format
47 static unsigned ComputeRowBytes(unsigned width, SkMask::Format format) {
49 if (SkMask::kBW_Format == format) {
51 } else if (SkMask::kARGB32_Format == format ||
52 SkMask::kLCD32_Format == format)
55 } else if (SkMask::kLCD16_Format == format) {
64 return ComputeRowBytes(fWidth, (SkMask::Format)fMaskFormat);
149 void toMask(SkMask* mask) const;
/external/chromium_org/third_party/skia/src/opts/
H A DSkBlitMask_opts_none.cpp11 SkMask::Format maskFormat,
21 SkMask::Format maskFormat,
H A DSkBlitMask_opts_arm.cpp15 SkMask::Format maskFormat,
28 (SkMask::kA8_Format == maskFormat)) {
34 // We don't need to handle the SkMask::kLCD16_Format case as the default
49 SkMask::Format maskFormat,
/external/skia/src/core/
H A DSkMask.cpp8 #include "SkMask.h"
21 size_t SkMask::computeImageSize() const {
25 size_t SkMask::computeTotalImageSize() const {
27 if (fFormat == SkMask::k3D_Format) {
36 uint8_t* SkMask::AllocImage(size_t size) {
43 void SkMask::FreeImage(void* image) {
58 static int maskFormatToShift(SkMask::Format format) {
60 SkASSERT(SkMask::kBW_Format != format);
64 void* SkMask::getAddr(int x, int y) const {
H A DSkBlitMask.h13 #include "SkMask.h"
21 static bool BlitColor(const SkBitmap& device, const SkMask& mask,
54 static ColorProc ColorFactory(SkColorType, SkMask::Format, SkColor);
60 static ColorProc PlatformColorProcs(SkColorType, SkMask::Format, SkColor);
81 static RowProc RowFactory(SkColorType, SkMask::Format, RowFlags);
87 static RowProc PlatformRowProcs(SkColorType, SkMask::Format, RowFlags);
H A DSkRasterizer.cpp17 SkMask* mask, SkMask::CreateMode mode) const {
20 if (clipBounds && filter && SkMask::kJustRenderImage_CreateMode != mode) {
22 SkMask srcM, dstM;
24 srcM.fFormat = SkMask::kA8_Format;
42 SkMask* mask, SkMask::CreateMode mode) const {
/external/skia/src/opts/
H A DSkBlitMask_opts_none.cpp11 SkMask::Format maskFormat,
21 SkMask::Format maskFormat,
H A DSkBlitMask_opts_arm.cpp15 SkMask::Format maskFormat,
28 (SkMask::kA8_Format == maskFormat)) {
34 // We don't need to handle the SkMask::kLCD16_Format case as the default
49 SkMask::Format maskFormat,
/external/chromium_org/third_party/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp35 static FT_Pixel_Mode compute_pixel_mode(SkMask::Format format) {
37 case SkMask::kBW_Format:
39 case SkMask::kA8_Format:
70 * Copies a FT_Bitmap into an SkMask with the same dimensions.
78 static void copyFT2LCD16(const FT_Bitmap& bitmap, const SkMask& mask, int lcdIsBGR,
81 SkASSERT(SkMask::kLCD16_Format == mask.fFormat);
164 * Copies a FT_Bitmap into an SkMask with the same dimensions.
179 static void copyFTBitmap(const FT_Bitmap& srcFTBitmap, SkMask& dstMask) {
190 const SkMask::Format dstFormat = static_cast<SkMask
[all...]
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp35 static FT_Pixel_Mode compute_pixel_mode(SkMask::Format format) {
37 case SkMask::kBW_Format:
39 case SkMask::kA8_Format:
70 * Copies a FT_Bitmap into an SkMask with the same dimensions.
78 static void copyFT2LCD16(const FT_Bitmap& bitmap, const SkMask& mask, int lcdIsBGR,
81 SkASSERT(SkMask::kLCD16_Format == mask.fFormat);
164 * Copies a FT_Bitmap into an SkMask with the same dimensions.
179 static void copyFTBitmap(const FT_Bitmap& srcFTBitmap, SkMask& dstMask) {
190 const SkMask::Format dstFormat = static_cast<SkMask
[all...]

Completed in 9261 milliseconds

123456