Home
last modified time | relevance | path

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

/external/skia/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()
182 SkAlphaType srcAT = kPremul_SkAlphaType; in sk_can_use_legacy_blits() local
185 return SkColorSpaceXformSteps(src, srcAT, dst, dstAT).flags.mask() == 0; in sk_can_use_legacy_blits()
DSkBlitter_Sprite.cpp129 auto srcAT = fSource.isOpaque() ? kOpaque_SkAlphaType in setup() local
131 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup()
DSkColorSpaceXformSteps.h33 SkColorSpaceXformSteps(SkColorSpace* src, SkAlphaType srcAT,
/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/skia/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()
DSkBlitter_Sprite.cpp129 auto srcAT = fSource.isOpaque() ? kOpaque_SkAlphaType in setup() local
131 fAlloc->make<SkColorSpaceXformSteps>(srcCS, srcAT, in setup()
DSkColorSpaceXformSteps.h33 SkColorSpaceXformSteps(SkColorSpace* src, SkAlphaType srcAT,
/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()
/external/skia/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()