Home
last modified time | relevance | path

Searched refs:equal_pixels (Results 1 - 12 of 12) sorted by relevance

/third_party/skia/tools/
H A DToolUtils.h90 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 DToolUtils.cpp439 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 DEncodedInfoTest.cpp41 REPORTER_ASSERT(r, ToolUtils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
H A DSamplingTest.cpp36 REPORTER_ASSERT(r, ToolUtils::equal_pixels(src.get(), dst.get()) == expect_same); in DEF_TEST()
H A DWebpTest.cpp57 REPORTER_ASSERT(r, ToolUtils::equal_pixels(premulBm, changeBm), "%s frame %i does not match" in DEF_TEST()
H A DNdkDecodeTest.cpp215 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 DMultiPictureDocumentTest.cpp164 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 DSerialProcsTest.cpp79 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
H A DTextBlobTest.cpp428 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
H A DSerializationTest.cpp720 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
H A DImageTest.cpp1527 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), img2.get())); in DEF_TEST()
H A DImageFilterTest.cpp811 if (!ToolUtils::equal_pixels(untiledResult, tiledResult)) { in DEF_TEST()

Completed in 15 milliseconds