Home
last modified time | relevance | path

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

12345678910

/third_party/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()
129 SkColorSpaceXformSteps steps{ fColorSpace.get(), kUnpremul_SkAlphaType, in asFragmentProcessor()
130 args.fDstColorInfo->colorSpace(), kUnpremul_SkAlphaType }; in asFragmentProcessor()
/third_party/flutter/skia/src/shaders/
DSkColorShader.cpp79 SkColorSpaceXformSteps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onAppendStages()
80 rec.fDstCS, kUnpremul_SkAlphaType).apply(color.vec()); in onAppendStages()
87 SkColorSpaceXformSteps(fColorSpace.get(), kUnpremul_SkAlphaType, in onAppendStages()
88 rec.fDstCS, kUnpremul_SkAlphaType).apply(color.vec()); in onAppendStages()
108 SkColorSpaceXformSteps steps{ fColorSpace.get(), kUnpremul_SkAlphaType, in asFragmentProcessor()
109 args.fDstColorSpaceInfo->colorSpace(), kUnpremul_SkAlphaType }; in asFragmentProcessor()
/third_party/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()
93 GrImageInfo tmpInfo(supportedRead.fColorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
94 GrImageInfo dstInfo(colorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
212 GrImageInfo srcInfo(allowedSrc.fColorType, kUnpremul_SkAlphaType, nullptr, tex->dimensions()); in basic_transfer_to_test()
213 GrImageInfo dstInfo( colorType, kUnpremul_SkAlphaType, nullptr, tex->dimensions()); in basic_transfer_to_test()
341 GrImageInfo readInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
396 GrImageInfo transferInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTexDims); in basic_transfer_from_test()
407 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()
DPremulAlphaRoundTripTest.cpp59 const SkImageInfo info = SkImageInfo::Make(bmp.dimensions(), colorType, kUnpremul_SkAlphaType); in fill_surface()
68 kUnpremul_SkAlphaType); in test_premul_alpha_roundtrip()
116 SkImageInfo::Make(256, 256, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType); in DEF_TEST()
172 SkImageInfo::Make(256, 256, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType); in DEF_TEST()
/third_party/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…
/third_party/flutter/skia/bench/
DWritePixelsBench.cpp61 DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType, nullptr);)
63 DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType, SkColorSpace::…
66 DEF_BENCH(return new WritePixelsBench(kBGRA_8888_SkColorType, kUnpremul_SkAlphaType, nullptr);)
68 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…
/third_party/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()
45 {kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, kUnpremul_SkAlphaType}; in draw()
/third_party/flutter/skia/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()
DTransferPixelsTest.cpp41 GrPixelInfo srcInfo(GrColorType::kRGBA_8888, kUnpremul_SkAlphaType, nullptr, 1, 1); in fill_transfer_data()
42 GrPixelInfo dstInfo(dstType, kUnpremul_SkAlphaType, nullptr, 1, 1); in fill_transfer_data()
88 GrPixelInfo tmpInfo(supportedRead.fColorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
89 GrPixelInfo dstInfo(colorType, kUnpremul_SkAlphaType, nullptr, w, h); in read_pixels_from_texture()
195 GrPixelInfo srcInfo(allowedSrc.fColorType, kUnpremul_SkAlphaType, nullptr, tex->width(), in basic_transfer_to_test()
197 GrPixelInfo dstInfo(colorType, kUnpremul_SkAlphaType, nullptr, tex->width(), tex->height()); in basic_transfer_to_test()
312 GrPixelInfo readInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTextureWidth, in basic_transfer_from_test()
364 GrPixelInfo transferInfo(allowedRead.fColorType, kUnpremul_SkAlphaType, nullptr, kTextureWidth, in basic_transfer_from_test()
375 GrPixelInfo textureDataInfo(colorType, kUnpremul_SkAlphaType, nullptr, kTextureWidth, in basic_transfer_from_test()
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()
/third_party/flutter/skia/src/gpu/
DGrColorSpaceInfo.cpp20 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in colorSpaceXformFromSRGB()
21 fColorSpace.get(), kUnpremul_SkAlphaType); in colorSpaceXformFromSRGB()
/third_party/skia/src/images/
DSkPngEncoder.cpp145 if (kUnpremul_SkAlphaType == srcInfo.alphaType()) { in setHeader()
249 case kUnpremul_SkAlphaType: in choose_proc()
261 case kUnpremul_SkAlphaType: in choose_proc()
290 case kUnpremul_SkAlphaType: in choose_proc()
301 case kUnpremul_SkAlphaType: in choose_proc()
312 case kUnpremul_SkAlphaType: in choose_proc()
323 case kUnpremul_SkAlphaType: in choose_proc()
/third_party/skia/src/gpu/
DGrColorInfo.cpp16 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in GrColorInfo()
17 fColorSpace.get(), kUnpremul_SkAlphaType); in GrColorInfo()
/third_party/flutter/skia/src/images/
DSkPngEncoder.cpp144 if (kUnpremul_SkAlphaType == srcInfo.alphaType()) { in setHeader()
243 case kUnpremul_SkAlphaType: in choose_proc()
255 case kUnpremul_SkAlphaType: in choose_proc()
284 case kUnpremul_SkAlphaType: in choose_proc()
295 case kUnpremul_SkAlphaType: in choose_proc()
306 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()
/third_party/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()
DSkDraw_atlas.cpp56 : fSteps{sk_srgb_singleton(), kUnpremul_SkAlphaType, cs, kUnpremul_SkAlphaType} {} in UpdatableColorShader()
139 sk_srgb_singleton(), kUnpremul_SkAlphaType, rec.fDstCS, kUnpremul_SkAlphaType); in drawAtlas()
/third_party/skia/gm/
Dunpremul.cpp27 kUnpremul_SkAlphaType, in __anon86b583250102()
70 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
/third_party/flutter/skia/gm/
Dunpremul.cpp26 kUnpremul_SkAlphaType, in __anon0286e93a0102()
69 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));

12345678910