Lines Matching refs:srcAT
247 const auto srcAT = srcPixels.info().alphaType(); in gpu_read_pixels_test_driver() local
271 } else if ((readAT == kUnknown_SkAlphaType) != (srcAT == kUnknown_SkAlphaType)) { in gpu_read_pixels_test_driver()
282 ToolUtils::colortype_name(srcCT), ToolUtils::alphatype_name(srcAT), in gpu_read_pixels_test_driver()
308 if (srcAT == kPremul_SkAlphaType && readAT == kUnpremul_SkAlphaType) { in gpu_read_pixels_test_driver()
314 if (readAT != kOpaque_SkAlphaType && srcAT != kOpaque_SkAlphaType) { in gpu_read_pixels_test_driver()
332 ToolUtils::colortype_name(srcCT), ToolUtils::alphatype_name(srcAT), in gpu_read_pixels_test_driver()
403 const auto srcAT = static_cast<SkAlphaType>(sat); in gpu_read_pixels_test_driver() local
404 if (srcAT == kUnpremul_SkAlphaType && !rules.fAllowUnpremulSrc) { in gpu_read_pixels_test_driver()
412 srcAT, in gpu_read_pixels_test_driver()
419 bool forceOpaque = srcAT == kPremul_SkAlphaType && in gpu_read_pixels_test_driver()
428 (kPremul_SkAlphaType == srcAT || kUnpremul_SkAlphaType == srcAT)) { in gpu_read_pixels_test_driver()
432 (kUnpremul_SkAlphaType == srcAT || in gpu_read_pixels_test_driver()
433 kOpaque_SkAlphaType == srcAT || in gpu_read_pixels_test_driver()
434 kUnknown_SkAlphaType == srcAT)) { in gpu_read_pixels_test_driver()
443 if (srcAT != kOpaque_SkAlphaType && readAT == kOpaque_SkAlphaType) { in gpu_read_pixels_test_driver()