Lines Matching defs:bm8888
30 SkBitmap bm8888;
31 bool pixelsAllocated = bm8888.allocN32Pixels(128, 128);
34 uint8_t *pixels = reinterpret_cast<uint8_t*>(bm8888.getPixels());
42 for (int y = 0; y < bm8888.height(); ++y) {
43 for (int x = 0; x < bm8888.width(); ++x) {
52 row += bm8888.rowBytes();
54 REPORTER_ASSERT(reporter, !(bm8888.empty()));
56 SkAutoDataUnref encodedData(SkImageEncoder::EncodeData(bm8888, SkImageEncoder::kKTX_Type, 0));
66 REPORTER_ASSERT(reporter, decodedBitmap.colorType() == bm8888.colorType());
67 REPORTER_ASSERT(reporter, decodedBitmap.alphaType() == bm8888.alphaType());
68 REPORTER_ASSERT(reporter, decodedBitmap.width() == bm8888.width());
69 REPORTER_ASSERT(reporter, decodedBitmap.height() == bm8888.height());
74 REPORTER_ASSERT(reporter, decodedBitmap.getSize() == bm8888.getSize());