4REG_FIDDLE(Bitmap_tryAllocPixelsFlags, 256, 256,
true, 0) {
9 SkDebugf(
"bitmap allocation failed!\n");
11 SkDebugf(
"bitmap allocation succeeded!\n");
REG_FIDDLE(Bitmap_tryAllocPixelsFlags, 256, 256, true, 0)
@ kOpaque_SkAlphaType
pixel is opaque
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
static void draw(SkCanvas *canvas, SkRect &target, int x, int y)
@ kZeroPixels_AllocFlag
zero pixel memory. No effect. This is the default.
static SkImageInfo MakeN32(int width, int height, SkAlphaType at)