Lines Matching refs:image2
361 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in test_backend_handle_unique_id() local
363 REPORTER_ASSERT(reporter, image0->uniqueID() != image2->uniqueID()); in test_backend_handle_unique_id()
370 REPORTER_ASSERT(reporter, image2->uniqueID() != image3->uniqueID()); in test_backend_handle_unique_id()
509 sk_sp<SkImage> image2(surface1->makeImageSnapshot()); in test_crbug263329() local
522 REPORTER_ASSERT(reporter, as_IB(image4)->getTexture() != as_IB(image2)->getTexture()); in test_crbug263329()
524 REPORTER_ASSERT(reporter, as_IB(image3)->getTexture() != as_IB(image2)->getTexture()); in test_crbug263329()
526 REPORTER_ASSERT(reporter, as_IB(image2)->getTexture() != as_IB(image1)->getTexture()); in test_crbug263329()
621 sk_sp<SkImage> image2 = surface->makeImageSnapshot(); in test_no_canvas2()
622 sk_sp<SkImage> aur_image2(image2); in test_no_canvas2()
623 SkDEBUGCODE(image2->validate();) in test_no_canvas2()
625 REPORTER_ASSERT(reporter, image1 != image2); in test_no_canvas2()
663 sk_sp<SkImage> image2(surface->makeImageSnapshot()); in check_rowbytes_remain_consistent() local
664 REPORTER_ASSERT(reporter, image->uniqueID() != image2->uniqueID()); in check_rowbytes_remain_consistent()
667 REPORTER_ASSERT(reporter, image2->peekPixels(&pm2)); in check_rowbytes_remain_consistent()