Lines Matching defs:bitmaps
42 SkBitmap bitmaps[2];
44 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT,
48 SkCanvas canvas(bitmaps[j]);
85 // now we memcmp the two bitmaps
86 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
87 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
88 bitmaps[1].getPixels(),
89 bitmaps[0].getSize()));
131 SkBitmap bitmaps[2];
133 bitmaps[i].allocN32Pixels(WIDTH, HEIGHT);
135 SkCanvas canvas(bitmaps[i]);
175 // now we memcmp the two bitmaps
176 REPORTER_ASSERT(reporter, bitmaps[0].getSize() == bitmaps[1].getSize());
177 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
178 bitmaps[1].getPixels(),
179 bitmaps[0].getSize()));