Home
last modified time | relevance | path

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

/external/skqp/tools/
Dsk_tool_utils.h91 bool equal_pixels(const SkPixmap&, const SkPixmap&);
92 bool equal_pixels(const SkBitmap&, const SkBitmap&);
93 bool equal_pixels(const SkImage* a, const SkImage* b);
Dsk_tool_utils.cpp372 bool equal_pixels(const SkPixmap& a, const SkPixmap& b) { in equal_pixels() function
392 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() function
394 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
397 bool equal_pixels(const SkImage* a, const SkImage* b) { in equal_pixels() function
403 return imga->peekPixels(&pm0) && imgb->peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
/external/skia/tools/
DToolUtils.h96 bool equal_pixels(const SkPixmap&, const SkPixmap&);
97 bool equal_pixels(const SkBitmap&, const SkBitmap&);
98 bool equal_pixels(const SkImage* a, const SkImage* b);
DToolUtils.cpp445 bool equal_pixels(const SkPixmap& a, const SkPixmap& b) { in equal_pixels() function
460 bool equal_pixels(const SkBitmap& bm0, const SkBitmap& bm1) { in equal_pixels() function
462 return bm0.peekPixels(&pm0) && bm1.peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
465 bool equal_pixels(const SkImage* a, const SkImage* b) { in equal_pixels() function
471 return imga->peekPixels(&pm0) && imgb->peekPixels(&pm1) && equal_pixels(pm0, pm1); in equal_pixels()
/external/skqp/tests/
DEncodedInfoTest.cpp41 REPORTER_ASSERT(r, sk_tool_utils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
DSerialProcsTest.cpp80 REPORTER_ASSERT(reporter, sk_tool_utils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
DTextBlobTest.cpp432 REPORTER_ASSERT(reporter, sk_tool_utils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
DImageFilterTest.cpp768 if (!sk_tool_utils::equal_pixels(untiledResult, tiledResult)) { in DEF_TEST()
/external/skia/tests/
DEncodedInfoTest.cpp41 REPORTER_ASSERT(r, ToolUtils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
DSamplingTest.cpp36 REPORTER_ASSERT(r, ToolUtils::equal_pixels(src.get(), dst.get()) == expect_same); in DEF_TEST()
DWebpTest.cpp57 REPORTER_ASSERT(r, ToolUtils::equal_pixels(premulBm, changeBm), "%s frame %i does not match" in DEF_TEST()
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()
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()
DSerialProcsTest.cpp79 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
DTextBlobTest.cpp434 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
DSerializationTest.cpp715 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
DImageTest.cpp1527 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), img2.get())); in DEF_TEST()
DImageFilterTest.cpp810 if (!ToolUtils::equal_pixels(untiledResult, tiledResult)) { in DEF_TEST()