Searched refs:equal_pixels (Results 1 – 12 of 12) sorted by relevance
/external/skia/tools/ |
D | ToolUtils.h | 100 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);
|
D | ToolUtils.cpp | 490 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/ |
D | EncodedInfoTest.cpp | 46 REPORTER_ASSERT(r, ToolUtils::equal_pixels(bm.pixmap(), bm2.pixmap())); in DEF_TEST()
|
D | SamplingTest.cpp | 42 REPORTER_ASSERT(r, ToolUtils::equal_pixels(src.get(), dst.get()) == expect_same); in DEF_TEST()
|
D | WebpTest.cpp | 61 REPORTER_ASSERT(r, ToolUtils::equal_pixels(premulBm, changeBm), "%s frame %i does not match" in DEF_TEST()
|
D | NdkDecodeTest.cpp | 216 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()
|
D | MultiPictureDocumentTest.cpp | 175 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()
|
D | SerialProcsTest.cpp | 96 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(src_img.get(), dst_img.get())); in DEF_TEST()
|
D | TextBlobTest.cpp | 445 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | SerializationTest.cpp | 811 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img0.get(), img1.get())); in DEF_TEST()
|
D | ImageTest.cpp | 1633 REPORTER_ASSERT(reporter, ToolUtils::equal_pixels(img.get(), img2.get())); in DEF_TEST()
|
D | ImageFilterTest.cpp | 863 if (!ToolUtils::equal_pixels(untiledResult, tiledResult)) { in DEF_TEST()
|