Home
last modified time | relevance | path

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

/external/skia/tools/
DToolUtils.h100 bool equal_pixels(const SkPixmap&, const SkPixmap&);
101 bool equal_pixels(const SkBitmap&, const SkBitmap&);
102 bool equal_pixels(const SkImage* a, const SkImage* b);
DToolUtils.cpp490 bool equal_pixels(const SkPixmap& a, const SkPixmap& b) { in equal_pixels() function
505 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() function
507 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
510 bool equal_pixels(const SkImage* a, const SkImage* b) { in equal_pixels() function
516 return imga->peekPixels(&pm0) && imgb->peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
/external/skia/tests/
DEncodedInfoTest.cpp46 REPORTER_ASSERT(r, ToolUtils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
DSamplingTest.cpp42 REPORTER_ASSERT(r, ToolUtils::equal_pixels(src.get(), dst.get()) == expect_same); in DEF_TEST()
DWebpTest.cpp61 REPORTER_ASSERT(r, ToolUtils::equal_pixels(premulBm, changeBm), "%s frame %i does not match" in DEF_TEST()
DNdkDecodeTest.cpp216 REPORTER_ASSERT(r, !ToolUtils::equal_pixels(orig, corrected)); in DEF_TEST()
222 REPORTER_ASSERT(r, ToolUtils::equal_pixels(orig, reuse)); in DEF_TEST()
343 REPORTER_ASSERT(r, ToolUtils::equal_pixels(orig, reuse)); in DEF_TEST()
DMultiPictureDocumentTest.cpp175 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), expectedImages[i].get())); in DEF_TEST()
413 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), expectedImages[0].get())); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
DSerialProcsTest.cpp96 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
DTextBlobTest.cpp445 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
DSerializationTest.cpp811 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
DImageTest.cpp1633 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), img2.get())); in DEF_TEST()
DImageFilterTest.cpp863 if (!ToolUtils::equal_pixels(untiledResult, tiledResult)) { in DEF_TEST()