Home
last modified time | relevance | path

Searched refs:dstAT (Results 1 – 16 of 16) sorted by relevance

/external/skqp/src/core/
DSkColorSpaceXformSteps.cpp16 SkColorSpace* dst, SkAlphaType dstAT) { in SkColorSpaceXformSteps() argument
19 if (dstAT == kOpaque_SkAlphaType) { in SkColorSpaceXformSteps()
20 dstAT = srcAT; in SkColorSpaceXformSteps()
28 if (src->hash() == dst->hash() && srcAT == dstAT) { in SkColorSpaceXformSteps()
37 this->flags.premul = srcAT != kOpaque_SkAlphaType && dstAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps()
DSkColorSpaceXformSteps.h34 SkColorSpace* dst, SkAlphaType dstAT);
/external/skqp/src/gpu/
DGrColorSpaceXform.cpp16 SkColorSpace* dst, SkAlphaType dstAT) { in Make() argument
17 SkColorSpaceXformSteps steps(src, srcAT, dst, dstAT); in Make()
147 SkAlphaType dstAT) { in Make() argument
149 dst, dstAT); in Make()
DGrColorSpaceXform.h25 SkColorSpace* dst, SkAlphaType dstAT);
54 SkColorSpace* dst, SkAlphaType dstAT);
/external/skia/src/gpu/
DGrColorSpaceXform.cpp18 SkColorSpace* dst, SkAlphaType dstAT) { in Make() argument
19 SkColorSpaceXformSteps steps(src, srcAT, dst, dstAT); in Make()
143 SkColorSpace* dst, SkAlphaType dstAT) { in Make() argument
144 return Make(std::move(child), GrColorSpaceXform::Make(src, srcAT, dst, dstAT)); in Make()
DGrColorSpaceXform.h27 SkColorSpace* dst, SkAlphaType dstAT);
71 SkColorSpace* dst, SkAlphaType dstAT);
/external/skia/src/core/
DSkColorSpaceXformSteps.cpp17 const SkColorSpace* dst, SkAlphaType dstAT) { in SkColorSpaceXformSteps() argument
20 if (dstAT == kOpaque_SkAlphaType) { in SkColorSpaceXformSteps()
21 dstAT = srcAT; in SkColorSpaceXformSteps()
29 if (src->hash() == dst->hash() && srcAT == dstAT) { in SkColorSpaceXformSteps()
38 this->flags.premul = srcAT != kOpaque_SkAlphaType && dstAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps()
DSkColorSpaceXformSteps.h37 const SkColorSpace* dst, SkAlphaType dstAT);
/external/skia/tests/
DReadWritePixelsGpuTest.cpp821 const auto dstAT = dstInfo.alphaType(); in gpu_write_pixels_test_driver() local
841 } else if ((writeAT == kUnknown_SkAlphaType) != (dstAT == kUnknown_SkAlphaType)) { in gpu_write_pixels_test_driver()
852 ToolUtils::colortype_name(dstCT), ToolUtils::alphatype_name(dstAT), in gpu_write_pixels_test_driver()
871 ToolUtils::alphatype_name(dstAT)); in gpu_write_pixels_test_driver()
880 if (writeAT != kOpaque_SkAlphaType && dstAT != kOpaque_SkAlphaType) { in gpu_write_pixels_test_driver()
901 ToolUtils::alphatype_name(dstAT), in gpu_write_pixels_test_driver()
949 ToolUtils::alphatype_name(dstAT), in gpu_write_pixels_test_driver()
989 const auto dstAT = static_cast<SkAlphaType>(dat); in gpu_write_pixels_test_driver() local
992 const auto dstInfo = SkImageInfo::Make(kW, kH, dstCT, dstAT, SkColorSpace::MakeSRGB()); in gpu_write_pixels_test_driver()
998 (kPremul_SkAlphaType == dstAT || kUnpremul_SkAlphaType == dstAT)) { in gpu_write_pixels_test_driver()
[all …]
DSkColorSpaceXformStepsTest.cpp25 SkAlphaType srcAT, dstAT; in DEF_TEST() member
136 t.dst.get(), t.dstAT}; in DEF_TEST()
DReadPixelsTest.cpp499 for (SkAlphaType dstAT : kAlphaTypes) { in DEF_TEST() local
505 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
/external/skqp/tests/
DSkColorSpaceXformStepsTest.cpp25 SkAlphaType srcAT, dstAT; in DEF_TEST() member
135 t.dst.get(), t.dstAT}; in DEF_TEST()
DReadPixelsTest.cpp676 for (SkAlphaType dstAT: kAlphaTypes) { in DEF_TEST() local
682 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
/external/skia/src/shaders/
DSkShader.cpp115 dstAT = kPremul_SkAlphaType; in isLegacyCompatible() local
117 fDstColorSpace, dstAT}.flags.mask(); in isLegacyCompatible()
/external/skqp/src/codec/
DSkPngCodec.cpp254 static inline bool needs_premul(SkAlphaType dstAT, SkEncodedInfo::Alpha encodedAlpha) { in needs_premul() argument
255 return kPremul_SkAlphaType == dstAT && SkEncodedInfo::kUnpremul_Alpha == encodedAlpha; in needs_premul()
/external/skia/src/codec/
DSkPngCodec.cpp253 static inline bool needs_premul(SkAlphaType dstAT, SkEncodedInfo::Alpha encodedAlpha) { in needs_premul() argument
254 return kPremul_SkAlphaType == dstAT && SkEncodedInfo::kUnpremul_Alpha == encodedAlpha; in needs_premul()