Searched refs:makeAlphaType (Results 1 – 25 of 80) sorted by relevance
1234
26 auto premulInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()49 result = codec->getPixels(premulInfo.makeAlphaType(alphaType), changeBm.getPixels(), in DEF_TEST()
57 auto unpremulInfo = info.makeAlphaType(kUnpremul_SkAlphaType); in DEF_TEST()283 auto unpremulInfo = info.makeAlphaType(kUnpremul_SkAlphaType); in DEF_TEST()317 auto unpremulInfo = info.makeAlphaType(kUnpremul_SkAlphaType); in DEF_TEST()439 auto info = gen->getInfo().makeAlphaType(kOpaque_SkAlphaType); in DEF_TEST()
236 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()311 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()314 auto info = codec->getInfo().makeAlphaType(frameInfos[i].fAlphaType); in DEF_TEST()
76 info = info.makeAlphaType(kUnpremul_SkAlphaType); in onDraw()93 info = info.makeAlphaType(kUnpremul_SkAlphaType); in onDraw()
76 info = info.makeAlphaType(kPremul_SkAlphaType);
65 info = info.makeAlphaType(kUnpremul_SkAlphaType); in onDraw()83 info = info.makeAlphaType(kUnpremul_SkAlphaType); in onDraw()
231 SkColorInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType() function553 SkImageInfo makeAlphaType(SkAlphaType newAlphaType) const { in makeAlphaType() function554 return Make(fDimensions, fColorInfo.makeAlphaType(newAlphaType)); in makeAlphaType()
15 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType)); in draw()
17 bitmap.setInfo(bitmap.info().makeAlphaType(kOpaque_SkAlphaType)); in draw()
14 info2 = info2.makeAlphaType(kPremul_SkAlphaType); in draw()
18 imageInfo = imageInfo.makeAlphaType(kOpaque_SkAlphaType); in draw()
18 pixmap.reset(pixmap.info().makeAlphaType(kOpaque_SkAlphaType), in draw()
17 SkImageInfo unpremulInfo = premulInfo.makeAlphaType(kUnpremul_SkAlphaType); in draw()
132 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()207 const auto imageInfo = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()210 auto info = codec->getInfo().makeAlphaType(frameInfos[i].fAlphaType); in DEF_TEST()
315 decodeInfo = info.makeAlphaType(frameInfos[index].fAlphaType); in DEF_TEST()410 auto info = codec->getInfo().makeAlphaType(kPremul_SkAlphaType); in DEF_TEST()428 info = info.makeAlphaType(frameInfo.fAlphaType); in DEF_TEST()
27 info = info.makeAlphaType(kUnpremul_SkAlphaType);
26 info = info.makeAlphaType(kUnpremul_SkAlphaType);
37 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup()
44 .makeAlphaType(fAlphaType) in onDelayedSetup()
43 .makeAlphaType(fAlphaType) in onDelayedSetup()
38 fInfo = fInfo.makeAlphaType(kPremul_SkAlphaType); in onDelayedSetup()
63 swizzlerInfo = swizzlerInfo.makeAlphaType(kUnpremul_SkAlphaType); in onPrepareToDecode()