Lines Matching refs:bm8888
30 SkBitmap bm8888; in DEF_TEST() local
31 bm8888.allocN32Pixels(128, 128); in DEF_TEST()
33 uint8_t *pixels = reinterpret_cast<uint8_t*>(bm8888.getPixels()); in DEF_TEST()
41 for (int y = 0; y < bm8888.height(); ++y) { in DEF_TEST()
42 for (int x = 0; x < bm8888.width(); ++x) { in DEF_TEST()
51 row += bm8888.rowBytes(); in DEF_TEST()
53 REPORTER_ASSERT(reporter, !(bm8888.empty())); in DEF_TEST()
55 SkAutoDataUnref encodedData(SkImageEncoder::EncodeData(bm8888, SkImageEncoder::kKTX_Type, 0)); in DEF_TEST()
65 REPORTER_ASSERT(reporter, decodedBitmap.colorType() == bm8888.colorType()); in DEF_TEST()
66 REPORTER_ASSERT(reporter, decodedBitmap.alphaType() == bm8888.alphaType()); in DEF_TEST()
67 REPORTER_ASSERT(reporter, decodedBitmap.width() == bm8888.width()); in DEF_TEST()
68 REPORTER_ASSERT(reporter, decodedBitmap.height() == bm8888.height()); in DEF_TEST()
73 REPORTER_ASSERT(reporter, decodedBitmap.getSize() == bm8888.getSize()); in DEF_TEST()