4REG_FIDDLE(Canvas_writePixels_2, 256, 256,
false, 0) {
11 for (
int y = 0;
y < 256;
y += 2) {
12 for (
int x = 0;
x < 256;
x += 2) {
REG_FIDDLE(Canvas_writePixels_2, 256, 256, false, 0)
#define SkColorSetRGB(r, g, b)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
bool writePixels(const SkImageInfo &info, const void *pixels, size_t rowBytes, int x, int y)
static SkImageInfo MakeN32Premul(int width, int height)