Home
last modified time | relevance | path

Searched refs:kUnpremul_SkAlphaType (Results 1 – 25 of 223) sorted by relevance

123456789

/external/skqp/src/shaders/
DSkColorShader.cpp72 SkColorSpaceXformSteps(fColorSpace.get(), kUnpremul_SkAlphaType, in onMakeColorSpace()
73 xformer->dst().get(), kUnpremul_SkAlphaType).apply(color.vec()); in onMakeColorSpace()
86 SkColorSpaceXformSteps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onAppendStages()
87 rec.fDstCS, kUnpremul_SkAlphaType).apply(color.vec()); in onAppendStages()
94 SkColorSpaceXformSteps(fColorSpace.get(), kUnpremul_SkAlphaType, in onAppendStages()
95 rec.fDstCS, kUnpremul_SkAlphaType).apply(color.vec()); in onAppendStages()
115 SkColorSpaceXformSteps steps{ fColorSpace.get(), kUnpremul_SkAlphaType, in asFragmentProcessor()
116 args.fDstColorSpaceInfo->colorSpace(), kUnpremul_SkAlphaType }; in asFragmentProcessor()
/external/skia/src/shaders/
DSkColorShader.cpp80 SkColorSpaceXformSteps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onAppendStages()
81 rec.fDstCS, kUnpremul_SkAlphaType).apply(color.vec()); in onAppendStages()
88 SkColorSpaceXformSteps(fColorSpace.get(), kUnpremul_SkAlphaType, in onAppendStages()
89 rec.fDstCS, kUnpremul_SkAlphaType).apply(color.vec()); in onAppendStages()
100 SkColorSpaceXformSteps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onProgram()
110 SkColorSpaceXformSteps(fColorSpace.get(), kUnpremul_SkAlphaType, in onProgram()
130 SkColorSpaceXformSteps steps{ fColorSpace.get(), kUnpremul_SkAlphaType, in asFragmentProcessor()
131 args.fDstColorInfo->colorSpace(), kUnpremul_SkAlphaType }; in asFragmentProcessor()
/external/skia/tests/
DImageGeneratorTest.cpp104 { kRGBA_8888_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
105 { kBGRA_8888_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
106 { kRGBA_F16_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
107 { kRGBA_F32_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
108 { kRGBA_1010102_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
DTransferPixelsTest.cpp43 GrImageInfo srcInfo(GrColorType::kRGBA_8888, kUnpremul_SkAlphaType, nullptr, 1, 1); in fill_transfer_data()
44 GrImageInfo dstInfo(dstType, kUnpremul_SkAlphaType, nullptr, 1, 1); in fill_transfer_data()
89 GrImageInfo tmpInfo(supportedRead.fColorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
90 GrImageInfo dstInfo(colorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
193 GrImageInfo srcInfo(allowedSrc.fColorType, kUnpremul_SkAlphaType, nullptr, tex->dimensions()); in basic_transfer_to_test()
194 GrImageInfo dstInfo( colorType, kUnpremul_SkAlphaType, nullptr, tex->dimensions()); in basic_transfer_to_test()
308 GrImageInfo readInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
358 GrImageInfo transferInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
369 GrImageInfo textureDataInfo(colorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
DSRGBTest.cpp25 const SkAlphaType upm = kUnpremul_SkAlphaType; in DEF_TEST()
54 const SkAlphaType upm = kUnpremul_SkAlphaType; in DEF_TEST()
99 const SkAlphaType upm = kUnpremul_SkAlphaType; in DEF_TEST()
DNdkDecodeTest.cpp56 REPORTER_ASSERT(r, info.alphaType() != kUnpremul_SkAlphaType); in DEF_TEST()
57 auto unpremulInfo = info.makeAlphaType(kUnpremul_SkAlphaType); in DEF_TEST()
282 REPORTER_ASSERT(r, info.alphaType() != kUnpremul_SkAlphaType); in DEF_TEST()
283 auto unpremulInfo = info.makeAlphaType(kUnpremul_SkAlphaType); in DEF_TEST()
316 REPORTER_ASSERT(r, info.alphaType() != kUnpremul_SkAlphaType); in DEF_TEST()
317 auto unpremulInfo = info.makeAlphaType(kUnpremul_SkAlphaType); in DEF_TEST()
/external/skia/bench/
DWritePixelsBench.cpp60 DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType, nullptr);)
62 DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType, SkColorSpace::…
65 DEF_BENCH(return new WritePixelsBench(kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, nullptr);)
67 DEF_BENCH(return new WritePixelsBench(kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, SkColorSpace::…
DReadPixBench.cpp55 DEF_BENCH( return new ReadPixBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType, nullptr); )
57 DEF_BENCH( return new ReadPixBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType, SkColorSpace::Mak…
60 DEF_BENCH( return new ReadPixBench(kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, nullptr); )
62 DEF_BENCH( return new ReadPixBench(kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, SkColorSpace::Mak…
/external/skia/docs/examples/
DUnpremulBugs.cpp31 doCell(canvas, 0, 50, kUnpremul_SkAlphaType, 0x80808080, 2); in draw()
33 doCell(canvas, 50, 50, kUnpremul_SkAlphaType, 0x80FFFFFF, 2); in draw()
36 doCell(canvas, 110, 50, kUnpremul_SkAlphaType, 0x80808080, 1); in draw()
38 doCell(canvas, 160, 50, kUnpremul_SkAlphaType, 0x80FFFFFF, 1); in draw()
Dunexpected_setAlphaType.cpp10 case kUnpremul_SkAlphaType: return "Unpremul"; in alphatype_name()
44 {kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, kUnpremul_SkAlphaType}; in draw()
/external/skqp/tests/
DImageGeneratorTest.cpp119 { kRGBA_8888_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
120 { kBGRA_8888_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
121 { kRGBA_F16_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
122 { kRGBA_F32_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
123 { kRGBA_1010102_SkColorType, kUnpremul_SkAlphaType }, in DEF_TEST()
DPremulAlphaRoundTripTest.cpp58 colorType, kUnpremul_SkAlphaType); in fill_surface()
67 kUnpremul_SkAlphaType); in test_premul_alpha_roundtrip()
78 kUnpremul_SkAlphaType); in test_premul_alpha_roundtrip()
DSRGBTest.cpp26 const SkAlphaType upm = kUnpremul_SkAlphaType; in DEF_TEST()
56 const SkAlphaType upm = kUnpremul_SkAlphaType; in DEF_TEST()
104 const SkAlphaType upm = kUnpremul_SkAlphaType; in test_roundtripping()
/external/skqp/src/gpu/
DGrColorSpaceInfo.cpp20 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in colorSpaceXformFromSRGB()
21 fColorSpace.get(), kUnpremul_SkAlphaType); in colorSpaceXformFromSRGB()
DGrSurfaceContext.cpp47 if (kUnpremul_SkAlphaType == dstInfo.alphaType() && in readPixels()
67 if (kUnpremul_SkAlphaType == srcInfo.alphaType()) { in writePixels()
/external/skia/src/gpu/
DGrColorInfo.cpp16 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in GrColorInfo()
17 fColorSpace.get(), kUnpremul_SkAlphaType); in GrColorInfo()
/external/skia/src/images/
DSkPngEncoder.cpp145 if (kUnpremul_SkAlphaType == srcInfo.alphaType()) { in setHeader()
244 case kUnpremul_SkAlphaType: in choose_proc()
256 case kUnpremul_SkAlphaType: in choose_proc()
285 case kUnpremul_SkAlphaType: in choose_proc()
296 case kUnpremul_SkAlphaType: in choose_proc()
307 case kUnpremul_SkAlphaType: in choose_proc()
318 case kUnpremul_SkAlphaType: in choose_proc()
/external/skqp/src/images/
DSkPngEncoder.cpp143 if (kUnpremul_SkAlphaType == srcInfo.alphaType()) { in setHeader()
239 case kUnpremul_SkAlphaType: in choose_proc()
251 case kUnpremul_SkAlphaType: in choose_proc()
278 case kUnpremul_SkAlphaType: in choose_proc()
289 case kUnpremul_SkAlphaType: in choose_proc()
300 case kUnpremul_SkAlphaType: in choose_proc()
DSkWebpEncoder.cpp50 case kUnpremul_SkAlphaType: in choose_proc()
61 case kUnpremul_SkAlphaType: in choose_proc()
88 case kUnpremul_SkAlphaType: in choose_proc()
/external/skqp/bench/
DWritePixelsBench.cpp35 case kUnpremul_SkAlphaType: in WritePixelsBench()
76 DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType);)
/external/skia/src/core/
DSkModeColorFilter.cpp66 SkColorSpaceXformSteps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onAppendStages()
67 rec.fDstCS, kUnpremul_SkAlphaType).apply(color.vec()); in onAppendStages()
77 SkColorSpaceXformSteps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onProgram()
/external/skqp/gm/
Dunpremul.cpp18 kUnpremul_SkAlphaType, in __anon4a2aa7120102()
61 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
/external/skia/gm/
Dunpremul.cpp27 kUnpremul_SkAlphaType, in __anon3eb557fb0102()
70 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
/external/skqp/src/core/
DSkColorFilter.cpp205 return SkColorSpaceXformSteps{sk_srgb_linear_singleton(), kUnpremul_SkAlphaType, in SkSRGBGammaColorFilter()
206 sk_srgb_singleton(), kUnpremul_SkAlphaType}; in SkSRGBGammaColorFilter()
208 return SkColorSpaceXformSteps{sk_srgb_singleton(), kUnpremul_SkAlphaType, in SkSRGBGammaColorFilter()
209 sk_srgb_linear_singleton(), kUnpremul_SkAlphaType}; in SkSRGBGammaColorFilter()
/external/skqp/include/core/
DSkColor.h350 static_assert(kAT == kUnpremul_SkAlphaType, ""); in premul()
359 SkRGBA4f<kUnpremul_SkAlphaType> unpremul() const { in unpremul()
385 using SkColor4f = SkRGBA4f<kUnpremul_SkAlphaType>;

123456789