/external/skqp/src/gpu/ |
D | GrColorSpaceXform.cpp | 15 sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(SkColorSpace* src, SkAlphaType srcAT, in Make() argument 17 SkColorSpaceXformSteps steps(src, srcAT, dst, dstAT); in Make() 145 SkAlphaType srcAT, in Make() argument 148 auto xform = GrColorSpaceXform::Make(src, srcAT, in Make() 160 SkColorSpace* src, SkAlphaType srcAT, SkColorSpace* dst) { in Make() argument 165 auto xform = GrColorSpaceXform::Make(src, srcAT, in Make()
|
D | GrColorSpaceXform.h | 24 static sk_sp<GrColorSpaceXform> Make(SkColorSpace* src, SkAlphaType srcAT, 53 static std::unique_ptr<GrFragmentProcessor> Make(SkColorSpace* src, SkAlphaType srcAT, 61 SkColorSpace* src, SkAlphaType srcAT,
|
/external/skqp/src/core/ |
D | SkColorSpaceXformSteps.cpp | 15 SkColorSpaceXformSteps::SkColorSpaceXformSteps(SkColorSpace* src, SkAlphaType srcAT, in SkColorSpaceXformSteps() argument 20 dstAT = srcAT; in SkColorSpaceXformSteps() 28 if (src->hash() == dst->hash() && srcAT == dstAT) { in SkColorSpaceXformSteps() 33 this->flags.unpremul = srcAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps() 37 this->flags.premul = srcAT != kOpaque_SkAlphaType && dstAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps()
|
D | SkColorSpaceXformSteps.h | 33 SkColorSpaceXformSteps(SkColorSpace* src, SkAlphaType srcAT,
|
D | SkBlitter_Sprite.cpp | 129 auto srcAT = fSource.isOpaque() ? kOpaque_SkAlphaType in setup() local 131 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup()
|
/external/skia/src/gpu/ |
D | GrColorSpaceXform.cpp | 17 sk_sp<GrColorSpaceXform> GrColorSpaceXform::Make(SkColorSpace* src, SkAlphaType srcAT, in Make() argument 19 SkColorSpaceXformSteps steps(src, srcAT, dst, dstAT); in Make() 142 SkColorSpace* src, SkAlphaType srcAT, in Make() argument 144 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,
|
/external/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 | 134 auto srcAT = fSource.isOpaque() ? kOpaque_SkAlphaType in setup() local 136 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup()
|
/external/skia/tests/ |
D | ReadWritePixelsGpuTest.cpp | 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() [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()
|
/external/skqp/tests/ |
D | SkColorSpaceXformStepsTest.cpp | 25 SkAlphaType srcAT, dstAT; in DEF_TEST() member 134 SkColorSpaceXformSteps steps{t.src.get(), t.srcAT, in DEF_TEST()
|
D | ReadPixelsTest.cpp | 679 for (SkAlphaType srcAT: kAlphaTypes) { in DEF_TEST() local 683 SkImageInfo::Make(kNumPixels, 1, srcCT, srcAT, srcCS)); in DEF_TEST()
|