Home
last modified time | relevance | path

Searched refs:srcAT (Results 1 – 15 of 15) sorted by relevance

/external/skqp/src/gpu/
DGrColorSpaceXform.cpp15 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()
DGrColorSpaceXform.h24 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/
DSkColorSpaceXformSteps.cpp15 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()
DSkColorSpaceXformSteps.h33 SkColorSpaceXformSteps(SkColorSpace* src, SkAlphaType srcAT,
DSkBlitter_Sprite.cpp129 auto srcAT = fSource.isOpaque() ? kOpaque_SkAlphaType in setup() local
131 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup()
/external/skia/src/gpu/
DGrColorSpaceXform.cpp17 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()
DGrColorSpaceXform.h26 static sk_sp<GrColorSpaceXform> Make(SkColorSpace* src, SkAlphaType srcAT,
70 SkColorSpace* src, SkAlphaType srcAT,
/external/skia/src/core/
DSkColorSpaceXformSteps.cpp16 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()
DSkColorSpaceXformSteps.h36 SkColorSpaceXformSteps(const SkColorSpace* src, SkAlphaType srcAT,
DSkBlitter_Sprite.cpp134 auto srcAT = fSource.isOpaque() ? kOpaque_SkAlphaType in setup() local
136 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup()
/external/skia/tests/
DReadWritePixelsGpuTest.cpp247 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 …]
DSkColorSpaceXformStepsTest.cpp25 SkAlphaType srcAT, dstAT; in DEF_TEST() member
135 SkColorSpaceXformSteps steps{t.src.get(), t.srcAT, in DEF_TEST()
DReadPixelsTest.cpp502 for (SkAlphaType srcAT : kAlphaTypes) { in DEF_TEST() local
506 SkImageInfo::Make(kNumPixels, 1, srcCT, srcAT, srcCS)); in DEF_TEST()
/external/skqp/tests/
DSkColorSpaceXformStepsTest.cpp25 SkAlphaType srcAT, dstAT; in DEF_TEST() member
134 SkColorSpaceXformSteps steps{t.src.get(), t.srcAT, in DEF_TEST()
DReadPixelsTest.cpp679 for (SkAlphaType srcAT: kAlphaTypes) { in DEF_TEST() local
683 SkImageInfo::Make(kNumPixels, 1, srcCT, srcAT, srcCS)); in DEF_TEST()