Lines Matching defs:bitmap
256 // Try to render a small bitmap using the invalid deserialized filter
259 SkBitmap bitmap;
260 bitmap.allocN32Pixels(24, 24);
261 SkCanvas canvas(bitmap);
266 canvas.drawBitmap(bitmap, 0, 0, &paint);
294 SkBitmap bitmap;
295 bitmap.allocN32Pixels(SkScalarCeilToInt(picture.cullRect().width()),
297 SkCanvas canvas(bitmap);
299 return bitmap;
384 static void setup_bitmap_for_canvas(SkBitmap* bitmap) {
385 bitmap->allocN32Pixels(kBitmapSize, kBitmapSize);
388 static void make_checkerboard_bitmap(SkBitmap& bitmap) {
389 setup_bitmap_for_canvas(&bitmap);
391 SkCanvas canvas(bitmap);
414 SkBitmap bitmap;
415 make_checkerboard_bitmap(bitmap);
419 canvas->drawBitmap(bitmap, 0, 0, nullptr);
516 // Create a bitmap with a really large height