Home | History | Annotate | Download | only in tests

Lines Matching refs:bitmaps

101         SkBitmap bitmaps[2];
103 bitmaps[j].allocPixels(SkImageInfo::Make(WIDTH, HEIGHT,
107 SkCanvas canvas(bitmaps[j]);
145 // now we memcmp the two bitmaps
146 REPORTER_ASSERT(reporter, bitmaps[0].computeByteSize() == bitmaps[1].computeByteSize());
147 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
148 bitmaps[1].getPixels(),
149 bitmaps[0].computeByteSize()));
208 SkBitmap bitmaps[2];
210 bitmaps[i].allocN32Pixels(WIDTH, HEIGHT);
212 SkCanvas canvas(bitmaps[i]);
257 // now we memcmp the two bitmaps
258 REPORTER_ASSERT(reporter, bitmaps[0].computeByteSize() == bitmaps[1].computeByteSize());
259 REPORTER_ASSERT(reporter, !memcmp(bitmaps[0].getPixels(),
260 bitmaps[1].getPixels(),
261 bitmaps[0].computeByteSize()));