/external/skqp/src/shaders/ |
D | SkColorShader.cpp | 72 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/ |
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() 130 SkColorSpaceXformSteps steps{ fColorSpace.get(), kUnpremul_SkAlphaType, in asFragmentProcessor() 131 args.fDstColorInfo->colorSpace(), kUnpremul_SkAlphaType }; in asFragmentProcessor()
|
/external/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() 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()
|
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()
|
/external/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…
|
/external/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() 44 {kUnknown_SkAlphaType, kOpaque_SkAlphaType, kPremul_SkAlphaType, kUnpremul_SkAlphaType}; in draw()
|
/external/skqp/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 | PremulAlphaRoundTripTest.cpp | 58 colorType, kUnpremul_SkAlphaType); in fill_surface() 67 kUnpremul_SkAlphaType); in test_premul_alpha_roundtrip() 78 kUnpremul_SkAlphaType); in test_premul_alpha_roundtrip()
|
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()
|
/external/skqp/src/gpu/ |
D | GrColorSpaceInfo.cpp | 20 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in colorSpaceXformFromSRGB() 21 fColorSpace.get(), kUnpremul_SkAlphaType); in colorSpaceXformFromSRGB()
|
D | GrSurfaceContext.cpp | 47 if (kUnpremul_SkAlphaType == dstInfo.alphaType() && in readPixels() 67 if (kUnpremul_SkAlphaType == srcInfo.alphaType()) { in writePixels()
|
/external/skia/src/gpu/ |
D | GrColorInfo.cpp | 16 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in GrColorInfo() 17 fColorSpace.get(), kUnpremul_SkAlphaType); in GrColorInfo()
|
/external/skia/src/images/ |
D | SkPngEncoder.cpp | 145 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/ |
D | SkPngEncoder.cpp | 143 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()
|
D | SkWebpEncoder.cpp | 50 case kUnpremul_SkAlphaType: in choose_proc() 61 case kUnpremul_SkAlphaType: in choose_proc() 88 case kUnpremul_SkAlphaType: in choose_proc()
|
/external/skqp/bench/ |
D | WritePixelsBench.cpp | 35 case kUnpremul_SkAlphaType: in WritePixelsBench() 76 DEF_BENCH(return new WritePixelsBench(kRGBA_8888_SkColorType, kUnpremul_SkAlphaType);)
|
/external/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()
|
/external/skqp/gm/ |
D | unpremul.cpp | 18 kUnpremul_SkAlphaType, in __anon4a2aa7120102() 61 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
|
/external/skia/gm/ |
D | unpremul.cpp | 27 kUnpremul_SkAlphaType, in __anon3eb557fb0102() 70 bm.allocPixels(SkImageInfo::Make(100,100, kRGBA_8888_SkColorType, kUnpremul_SkAlphaType));
|
/external/skqp/src/core/ |
D | SkColorFilter.cpp | 205 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/ |
D | SkColor.h | 350 static_assert(kAT == kUnpremul_SkAlphaType, ""); in premul() 359 SkRGBA4f<kUnpremul_SkAlphaType> unpremul() const { in unpremul() 385 using SkColor4f = SkRGBA4f<kUnpremul_SkAlphaType>;
|