Lines Matching refs:getAddr32
203 const bool sameMutable = pm.addr32(0, 0) == bm.getAddr32(0, 0); in DEF_TEST()
212 const bool sameImmutable = pm.addr32(0, 0) == bm.getAddr32(0, 0); in DEF_TEST()
506 *bmp.getAddr32(x, y) = in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
525 if (*bmp.getAddr32(x, y) != *unpremul.getAddr32(x, y)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
527 *bmp.getAddr32(x, y), *unpremul.getAddr32(x, y), x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
541 uint32_t origColor = *bmp.getAddr32(x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
548 uint32_t read = *premul.getAddr32(x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
559 *bmp.getAddr32(x, y), *premul.getAddr32(x, y), origColor, x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
722 REPORTER_ASSERT(reporter, imageColor == *bitmap.getAddr32(0, 0)); in check_legacy_bitmap()
1175 *srgbBitmap.getAddr32(0, 0) = SkSwizzle_RGBA_to_PMColor(0xFF604020); in DEF_TEST()
1185 REPORTER_ASSERT(r, almost_equal(0x28, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1186 REPORTER_ASSERT(r, almost_equal(0x40, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1187 REPORTER_ASSERT(r, almost_equal(0x5E, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1193 REPORTER_ASSERT(r, almost_equal(0x21, SkGetPackedR32(*adobeBitmap.getAddr32(0, 0)))); in DEF_TEST()
1194 REPORTER_ASSERT(r, almost_equal(0x31, SkGetPackedG32(*adobeBitmap.getAddr32(0, 0)))); in DEF_TEST()
1195 REPORTER_ASSERT(r, almost_equal(0x4C, SkGetPackedB32(*adobeBitmap.getAddr32(0, 0)))); in DEF_TEST()
1201 REPORTER_ASSERT(r, almost_equal(0x8B, SkGetPackedR32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1202 REPORTER_ASSERT(r, almost_equal(0x82, SkGetPackedG32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1203 REPORTER_ASSERT(r, almost_equal(0x77, SkGetPackedB32(*p3Bitmap.getAddr32(0, 0)))); in DEF_TEST()
1214 *bm->getAddr32(a, r) = SkPackARGB32(a, c, c, c); in make_all_premul()
1224 SkPMColor pa = *a.getAddr32(x, y); in equal()
1225 SkPMColor pb = *b.getAddr32(x, y); in equal()