Lines Matching refs:readPixels
70 REPORTER_ASSERT(reporter, a->readPixels(pmapA, srcX, srcY)); in assert_equal()
71 REPORTER_ASSERT(reporter, b->readPixels(pmapB, 0, 0)); in assert_equal()
267 REPORTER_ASSERT(reporter, image1->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
279 REPORTER_ASSERT(reporter, image2->readPixels(dstInfo, pixels, dstRowBytes, 0, 0)); in DEF_TEST()
529 if (!texImage->readPixels(unpremul.info(), unpremul.getPixels(), unpremul.rowBytes(), 0, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
547 if (!texImage->readPixels(premul.info(), premul.getPixels(), premul.rowBytes(), 0, 0)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
668 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, 0)); in image_test_read_pixels()
672 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, -w, 0)); in image_test_read_pixels()
673 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, -h)); in image_test_read_pixels()
674 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, image->width(), 0)); in image_test_read_pixels()
675 REPORTER_ASSERT(reporter, !image->readPixels(info, pixels, rowBytes, 0, image->height())); in image_test_read_pixels()
679 REPORTER_ASSERT(reporter, image->readPixels(info, pixels, rowBytes, 0, 0)); in image_test_read_pixels()
684 REPORTER_ASSERT(reporter, image->readPixels(info, pixels, rowBytes, in image_test_read_pixels()
690 REPORTER_ASSERT(reporter, image->readPixels(info, pixels, rowBytes, -1, -1)); in image_test_read_pixels()
696 REPORTER_ASSERT(reporter, image->readPixels(info, pixels, rowBytes, in image_test_read_pixels()
733 REPORTER_ASSERT(reporter, image->readPixels(info, &imageColor, sizeof(SkPMColor), 0, 0)); in check_legacy_bitmap()
1266 img1->readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST()
1277 bm0.readPixels(bm1.info(), bm1.getPixels(), bm1.rowBytes(), 0, 0); in DEF_TEST()
1281 bm1.readPixels(bm2.info(), bm2.getPixels(), bm2.rowBytes(), 0, 0); in DEF_TEST()