17#ifndef ClearLow3Bits_DEFINED
18#define ClearLow3Bits_DEFINED
19 #define ClearLow3Bits(x) ((unsigned)(x) >> 3 << 3)
37 unsigned mask_rowBytes = srcMask.
fRowBytes;
38 size_t bitmap_rowBytes = dstPixmap.
rowBytes();
52 unsigned rb = mask_rowBytes;
65 int rite_edge =
clip.fRight - maskLeft;
69 int rite_mask = 0xFF << (8 - (rite_edge & 7));
71 int full_runs = (rite_edge >> 3) - ((
left_edge + 7) >> 3);
80 if (left_mask == 0xFF)
89 left_mask &= rite_mask;
94 bits += mask_rowBytes;
101 int runs = full_runs;
103 const uint8_t*
b =
bits;
106 mask = *
b++ & left_mask;
117 mask = *
b & rite_mask;
120 bits += mask_rowBytes;
127#undef SK_BLITBWMASK_NAME
128#undef SK_BLITBWMASK_ARGS
129#undef SK_BLITBWMASK_BLIT8
130#undef SK_BLITBWMASK_GETADDR
131#undef SK_BLITBWMASK_DEVTYPE
132#undef SK_BLITBWMASK_DOROWSETUP
static void SK_BLITBWMASK_NAME(const SkPixmap &dstPixmap, const SkMask &srcMask, const SkIRect &clip SK_BLITBWMASK_ARGS)
#define SK_BLITBWMASK_DEVTYPE
#define SK_BLITBWMASK_BLIT8(mask, dst)
#define SK_BLITBWMASK_ARGS
static SkPoint left_edge(SkPoint pts[4], SkPath::Verb verb, SkScalar weight)
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
int32_t fLeft
smaller x-axis bounds
int32_t fRight
larger x-axis bounds
const uint8_t * getAddr1(int x, int y) const