Searched refs:n32bitmap (Results 1 – 2 of 2) sorted by relevance
105 SkBitmap n32bitmap; in indexed_bitmap() local106 n32bitmap.allocN32Pixels(SCALE, SCALE); in indexed_bitmap()107 n32bitmap.eraseColor(SK_ColorTRANSPARENT); in indexed_bitmap()109 SkCanvas canvas(n32bitmap); in indexed_bitmap()131 SkAutoLockPixels autoLockPixels1(n32bitmap); in indexed_bitmap()135 SkPMColor c = *n32bitmap.getAddr32(x, y); in indexed_bitmap()196 SkBitmap n32bitmap, notN32bitmap; in make_not_native32_color_wheel() local197 n32bitmap.allocN32Pixels(SCALE, SCALE); in make_not_native32_color_wheel()198 n32bitmap.eraseColor(SK_ColorTRANSPARENT); in make_not_native32_color_wheel()199 SkCanvas n32canvas(n32bitmap); in make_not_native32_color_wheel()[all …]
148 SkBitmap n32bitmap; // SkImage::NewFromBitmap can be finicky. in bitmapToImage() local149 bm.copyTo(&n32bitmap, kN32_SkColorType); in bitmapToImage()150 return *fBitmapToImageMap.set(key, SkImage::NewFromBitmap(n32bitmap)); in bitmapToImage()