4REG_FIDDLE(Surface_writePixels_2, 256, 96,
false, 4) {
constexpr SkColor SK_ColorGREEN
REG_FIDDLE(Surface_writePixels_2, 256, 96, false, 4)
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
void clear(SkColor color)
void drawImage(const SkImage *image, SkScalar left, SkScalar top)
sk_sp< SkImage > makeImageSnapshot()
void writePixels(const SkPixmap &src, int dstX, int dstY)
sk_sp< const SkImage > image
SK_API sk_sp< SkSurface > Raster(const SkImageInfo &imageInfo, size_t rowBytes, const SkSurfaceProps *surfaceProps)
static SkImageInfo MakeN32Premul(int width, int height)