Lines Matching refs:getAddr32
210 const bool sameMutable = pm.addr32(0, 0) == bm.getAddr32(0, 0); in DEF_TEST()
219 const bool sameImmutable = pm.addr32(0, 0) == bm.getAddr32(0, 0); in DEF_TEST()
519 *bmp.getAddr32(x, y) = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
539 if (*bmp.getAddr32(x, y) != *unpremul.getAddr32(x, y)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
541 *bmp.getAddr32(x, y), *unpremul.getAddr32(x, y), x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
556 uint32_t origColor = *bmp.getAddr32(x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
563 uint32_t read = *premul.getAddr32(x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
574 *bmp.getAddr32(x, y), *premul.getAddr32(x, y), origColor, x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
742 REPORTER_ASSERT(reporter, imageColor == *bitmap.getAddr32(0, 0)); in check_legacy_bitmap()
1221 *srgbBitmap.getAddr32(0, 0) = SkSwizzle_RGBA_to_PMColor(0xFF604020); in DEF_TEST()
1231 REPORTER_ASSERT(r, almost_equal(0x28, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1232 REPORTER_ASSERT(r, almost_equal(0x40, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1233 REPORTER_ASSERT(r, almost_equal(0x5E, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1239 REPORTER_ASSERT(r, almost_equal(0x21, SkGetPackedR32(*adobeBitmap.getAddr32(0, 0)))); in DEF_TEST()
1240 REPORTER_ASSERT(r, almost_equal(0x31, SkGetPackedG32(*adobeBitmap.getAddr32(0, 0)))); in DEF_TEST()
1241 REPORTER_ASSERT(r, almost_equal(0x4C, SkGetPackedB32(*adobeBitmap.getAddr32(0, 0)))); in DEF_TEST()
1247 REPORTER_ASSERT(r, almost_equal(0x8B, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1248 REPORTER_ASSERT(r, almost_equal(0x82, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1249 REPORTER_ASSERT(r, almost_equal(0x77, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1260 *bm->getAddr32(a, r) = SkPackARGB32(a, c, c, c); in make_all_premul()
1270 SkPMColor pa = *a.getAddr32(x, y); in equal()
1271 SkPMColor pb = *b.getAddr32(x, y); in equal()