44 const int originX = 100;
45 const int originY = 100;
48 int rowBytes = (
width + 7) >> 3;
49 uint8_t*
bits =
new uint8_t[rowBytes *
height];
56 for (
int top =
b.fTop; top <
b.fBottom; top++) {
57 for (
int bottom = top + 1; bottom <=
b.fBottom; bottom++) {
DEF_TEST(BlitAndClip, reporter)
#define SkDEBUGFAIL(message)
static bool left(const SkPoint &p0, const SkPoint &p1)
static bool right(const SkPoint &p0, const SkPoint &p1)
#define REPORTER_ASSERT(r, cond,...)
virtual void blitMask(const SkMask &, const SkIRect &clip)
TestBlitter(SkIRect bounds, skiatest::Reporter *reporter)
void blitAntiH(int x, int y, const SkAlpha antialias[], const int16_t runs[]) override
void blitH(int x, int y, int width) override
Blit a horizontal run of one or more pixels.
Optional< SkRect > bounds
clipRect(r.rect, r.opAA.op(), r.opAA.aa())) template<> void Draw
int32_t fBottom
larger y-axis bounds
int32_t fTop
smaller y-axis bounds
int32_t fLeft
smaller x-axis bounds
int32_t fRight
larger x-axis bounds
@ kBW_Format
1bit per pixel mask (e.g. monochrome)