Searched refs:p3Bitmap (Results 1 – 2 of 2) sorted by relevance
/external/skia/tests/ |
D | ImageTest.cpp | 1167 SkBitmap p3Bitmap; in DEF_TEST() local 1168 bool success = p3Image->asLegacyBitmap(&p3Bitmap); in DEF_TEST() 1170 REPORTER_ASSERT(r, almost_equal(0x28, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1171 REPORTER_ASSERT(r, almost_equal(0x40, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1172 REPORTER_ASSERT(r, almost_equal(0x5E, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1185 success = p3Image->asLegacyBitmap(&p3Bitmap); in DEF_TEST() 1187 REPORTER_ASSERT(r, almost_equal(0x8B, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1188 REPORTER_ASSERT(r, almost_equal(0x82, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1189 REPORTER_ASSERT(r, almost_equal(0x77, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
|
/external/skqp/tests/ |
D | ImageTest.cpp | 1256 SkBitmap p3Bitmap; in DEF_TEST() local 1257 bool success = p3Image->asLegacyBitmap(&p3Bitmap, SkImage::kRO_LegacyBitmapMode); in DEF_TEST() 1259 REPORTER_ASSERT(r, almost_equal(0x28, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1260 REPORTER_ASSERT(r, almost_equal(0x40, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1261 REPORTER_ASSERT(r, almost_equal(0x5E, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1274 success = p3Image->asLegacyBitmap(&p3Bitmap, SkImage::kRO_LegacyBitmapMode); in DEF_TEST() 1276 REPORTER_ASSERT(r, almost_equal(0x8B, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1277 REPORTER_ASSERT(r, almost_equal(0x82, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST() 1278 REPORTER_ASSERT(r, almost_equal(0x77, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
|