Lines Matching refs:srcAT
250 const auto srcAT = srcPixels.info().alphaType(); in gpu_read_pixels_test_driver() local
274 } else if ((readAT == kUnknown_SkAlphaType) != (srcAT == kUnknown_SkAlphaType)) { in gpu_read_pixels_test_driver()
285 ToolUtils::colortype_name(srcCT), ToolUtils::alphatype_name(srcAT), in gpu_read_pixels_test_driver()
311 if (srcAT == kPremul_SkAlphaType && readAT == kUnpremul_SkAlphaType) { in gpu_read_pixels_test_driver()
317 if (readAT != kOpaque_SkAlphaType && srcAT != kOpaque_SkAlphaType) { in gpu_read_pixels_test_driver()
335 ToolUtils::colortype_name(srcCT), ToolUtils::alphatype_name(srcAT), in gpu_read_pixels_test_driver()
406 const auto srcAT = static_cast<SkAlphaType>(sat); in gpu_read_pixels_test_driver() local
407 if (srcAT == kUnpremul_SkAlphaType && !rules.fAllowUnpremulSrc) { in gpu_read_pixels_test_driver()
415 srcAT, in gpu_read_pixels_test_driver()
422 bool forceOpaque = srcAT == kPremul_SkAlphaType && in gpu_read_pixels_test_driver()
431 (kPremul_SkAlphaType == srcAT || kUnpremul_SkAlphaType == srcAT)) { in gpu_read_pixels_test_driver()
435 (kUnpremul_SkAlphaType == srcAT || in gpu_read_pixels_test_driver()
436 kOpaque_SkAlphaType == srcAT || in gpu_read_pixels_test_driver()
437 kUnknown_SkAlphaType == srcAT)) { in gpu_read_pixels_test_driver()
446 if (srcAT != kOpaque_SkAlphaType && readAT == kOpaque_SkAlphaType) { in gpu_read_pixels_test_driver()