Lines Matching defs:bitmap
101 static void make_3x3_bitmap(SkBitmap* bitmap) {
111 bitmap->allocN32Pixels(xSize, ySize, true);
112 SkCanvas canvas(*bitmap);
149 SkBitmap bitmap;
150 make_3x3_bitmap(&bitmap);
155 canvas->drawImageRect(bitmap.asImage(), srcR, dstR, SkSamplingOptions(),
170 SkBitmap bitmap;
171 bitmap.allocN32Pixels(gXSize, gYSize);
176 *bitmap.getAddr32(x, y) = SkPreMultiplyColor(0x88FFFFFF);
178 *bitmap.getAddr32(x, y) = SkPreMultiplyColor(0x88FF0000);
182 bitmap.setImmutable();
183 return bitmap.asImage();
265 // This choice of coordinates and matrix land the bottom edge of the clip (and bitmap dst)
267 // If it does, we may see a red-line at the bottom, instead of the bitmap exactly matching