/third_party/skia/src/shaders/ |
D | SkColorShader.cpp | 80 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/ |
D | SkColorShader.cpp | 79 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/ |
D | ImageGeneratorTest.cpp | 104 { 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()
|
D | TransferPixelsTest.cpp | 43 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()
|
D | SRGBTest.cpp | 25 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()
|
D | NdkDecodeTest.cpp | 56 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()
|
D | PremulAlphaRoundTripTest.cpp | 59 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/ |
D | WritePixelsBench.cpp | 60 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::…
|
D | ReadPixBench.cpp | 55 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/ |
D | WritePixelsBench.cpp | 61 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::…
|
D | ReadPixBench.cpp | 55 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/ |
D | UnpremulBugs.cpp | 31 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()
|
D | unexpected_setAlphaType.cpp | 10 case kUnpremul_SkAlphaType: return "Unpremul"; in alphatype_name() 45 {kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, kUnpremul_SkAlphaType}; in draw()
|
/third_party/flutter/skia/tests/ |
D | ImageGeneratorTest.cpp | 119 { 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()
|
D | TransferPixelsTest.cpp | 41 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()
|
D | SRGBTest.cpp | 26 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/ |
D | GrColorSpaceInfo.cpp | 20 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in colorSpaceXformFromSRGB() 21 fColorSpace.get(), kUnpremul_SkAlphaType); in colorSpaceXformFromSRGB()
|
/third_party/skia/src/images/ |
D | SkPngEncoder.cpp | 145 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/ |
D | GrColorInfo.cpp | 16 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in GrColorInfo() 17 fColorSpace.get(), kUnpremul_SkAlphaType); in GrColorInfo()
|
/third_party/flutter/skia/src/images/ |
D | SkPngEncoder.cpp | 144 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()
|
D | SkWebpEncoder.cpp | 50 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/ |
D | SkModeColorFilter.cpp | 66 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()
|
D | SkDraw_atlas.cpp | 56 : 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/ |
D | unpremul.cpp | 27 kUnpremul_SkAlphaType, in __anon86b583250102() 70 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
|
/third_party/flutter/skia/gm/ |
D | unpremul.cpp | 26 kUnpremul_SkAlphaType, in __anon0286e93a0102() 69 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
|