Searched refs:srcAT (Results 1 – 8 of 8) sorted by relevance
/third_party/skia/src/gpu/ |
D | GrColorSpaceXform.cpp | 16 sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(SkColorSpace* src, SkAlphaType srcAT, in Make() argument 18 SkColorSpaceXformSteps steps(src, srcAT, dst, dstAT); in Make() 136 SkColorSpace* src, SkAlphaType srcAT, in Make() argument 138 return Make(std::move(child), GrColorSpaceXform::Make(src, srcAT, dst, dstAT)); in Make()
|
D | GrColorSpaceXform.h | 26 static sk_sp<GrColorSpaceXform> Make(SkColorSpace* src, SkAlphaType srcAT, 70 SkColorSpace* src, SkAlphaType srcAT,
|
/third_party/skia/src/core/ |
D | SkColorSpaceXformSteps.cpp | 16 SkColorSpaceXformSteps::SkColorSpaceXformSteps(const SkColorSpace* src, SkAlphaType srcAT, in SkColorSpaceXformSteps() argument 21 dstAT = srcAT; in SkColorSpaceXformSteps() 29 if (src->hash() == dst->hash() && srcAT == dstAT) { in SkColorSpaceXformSteps() 34 this->flags.unpremul = srcAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps() 38 this->flags.premul = srcAT != kOpaque_SkAlphaType && dstAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps()
|
D | SkColorSpaceXformSteps.h | 36 SkColorSpaceXformSteps(const SkColorSpace* src, SkAlphaType srcAT,
|
D | SkBlitter_Sprite.cpp | 135 auto srcAT = fSource.isOpaque() ? kOpaque_SkAlphaType in setup() local 137 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup()
|
/third_party/skia/tests/ |
D | ReadWritePixelsGpuTest.cpp | 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() [all …]
|
D | SkColorSpaceXformStepsTest.cpp | 25 SkAlphaType srcAT, dstAT; in DEF_TEST() member 135 SkColorSpaceXformSteps steps{t.src.get(), t.srcAT, in DEF_TEST()
|
D | ReadPixelsTest.cpp | 502 for (SkAlphaType srcAT : kAlphaTypes) { in DEF_TEST() local 506 SkImageInfo::Make(kNumPixels, 1, srcCT, srcAT, srcCS)); in DEF_TEST()
|