Searched refs:equal_pixels (Results 1 - 12 of 12) sorted by relevance
/third_party/skia/tools/ |
H A D | ToolUtils.h | 90 bool equal_pixels(const SkPixmap&, const SkPixmap&); 91 bool equal_pixels(const SkBitmap&, const SkBitmap&); 92 bool equal_pixels(const SkImage* a, const SkImage* b);
|
H A D | ToolUtils.cpp | 439 bool equal_pixels(const SkPixmap& a, const SkPixmap& b) { in equal_pixels() function 454 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() function 456 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels() 459 bool equal_pixels(const SkImage* a, const SkImage* b) { in equal_pixels() function 465 return imga->peekPixels(&pm0) && imgb->peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
|
/third_party/skia/tests/ |
H A D | EncodedInfoTest.cpp | 41 REPORTER_ASSERT(r, ToolUtils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
|
H A D | SamplingTest.cpp | 36 REPORTER_ASSERT(r, ToolUtils::equal_pixels(src.get(), dst.get()) == expect_same); in DEF_TEST()
|
H A D | WebpTest.cpp | 57 REPORTER_ASSERT(r, ToolUtils::equal_pixels(premulBm, changeBm), "%s frame %i does not match" in DEF_TEST()
|
H A D | NdkDecodeTest.cpp | 215 REPORTER_ASSERT(r, !ToolUtils::equal_pixels(orig, corrected)); in DEF_TEST() 221 REPORTER_ASSERT(r, ToolUtils::equal_pixels(orig, reuse)); in DEF_TEST() 342 REPORTER_ASSERT(r, ToolUtils::equal_pixels(orig, reuse)); in DEF_TEST()
|
H A D | MultiPictureDocumentTest.cpp | 164 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), expectedImages[i].get())); in DEF_TEST() 396 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), expectedImages[0].get())); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
H A D | SerialProcsTest.cpp | 79 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
|
H A D | TextBlobTest.cpp | 428 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
H A D | SerializationTest.cpp | 720 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
H A D | ImageTest.cpp | 1527 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), img2.get())); in DEF_TEST()
|
H A D | ImageFilterTest.cpp | 811 if (!ToolUtils::equal_pixels(untiledResult, tiledResult)) { in DEF_TEST()
|
Completed in 15 milliseconds