Lines Matching refs:srcOpaque
35 const SkBitmap& srcOpaque, const SkBitmap& srcPremul, in test_isOpaque() argument
47 REPORTER_ASSERT(reporter, srcOpaque.copyTo(&dst, dstColorType)); in test_isOpaque()
49 if (srcOpaque.isOpaque() != dst.isOpaque()) { in test_isOpaque()
50 report_opaqueness(reporter, srcOpaque, dst); in test_isOpaque()
195 static void setup_src_bitmaps(SkBitmap* srcOpaque, SkBitmap* srcPremul, in setup_src_bitmaps() argument
202 srcOpaque->allocPixels(SkImageInfo::Make(W, H, ct, kOpaque_SkAlphaType), in setup_src_bitmaps()
207 init_src(*srcOpaque); in setup_src_bitmaps()
213 SkBitmap srcOpaque, srcPremul; in DEF_TEST() local
214 setup_src_bitmaps(&srcOpaque, &srcPremul, gPairs[i].fColorType); in DEF_TEST()
216 SkBitmap bitmap(srcOpaque); in DEF_TEST()
273 SkBitmap srcOpaque, srcPremul; in DEF_TEST() local
274 setup_src_bitmaps(&srcOpaque, &srcPremul, gPairs[i].fColorType); in DEF_TEST()
298 test_isOpaque(reporter, srcOpaque, srcPremul, dst.colorType()); in DEF_TEST()