Lines Matching refs:bitmap
12 SkBitmap bitmap;
13 bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0,
15 if (bitmap.allocPixels()) {
16 // Follow the logic in SkCanvas::createDevice(), initialize the bitmap if it
19 bitmap.eraseARGB(0, 0, 0, 0);
20 return new BitmapPlatformDevice(bitmap);
37 SkBitmap bitmap;
38 bitmap.setConfig(SkBitmap::kARGB_8888_Config, width, height, 0,
41 bitmap.setPixels(data);
42 else if (!bitmap.allocPixels())
45 return new BitmapPlatformDevice(bitmap);
48 BitmapPlatformDevice::BitmapPlatformDevice(const SkBitmap& bitmap)
49 : SkBitmapDevice(bitmap) {