/third_party/skia/tests/ |
D | SkColorSpaceXformStepsTest.cpp | 21 unpremul = kUnpremul_SkAlphaType; in DEF_TEST() local 27 bool unpremul; in DEF_TEST() member 48 { adobe, srgb, unpremul, premul, false,true,true,true,true }, in DEF_TEST() 49 { srgb, adobe, unpremul, premul, false,true,true,true,true }, in DEF_TEST() 68 { srgb, srgb22, unpremul, premul, false,true,false,true,true }, in DEF_TEST() 69 { srgb22, srgb, unpremul, premul, false,true,false,true,true }, in DEF_TEST() 76 { srgb, srgb, unpremul, premul, false,false,false,false,true }, in DEF_TEST() 89 { adobe1, srgb1, unpremul, premul, false,false,true,false, true }, in DEF_TEST() 94 { srgb, srgb1, unpremul, premul, false, true,false,false, true }, in DEF_TEST() 96 { srgb, adobe1, unpremul, premul, false, true, true,false, true }, in DEF_TEST() [all …]
|
D | ColorFilterTest.cpp | 107 SkAlphaType unpremul = kUnpremul_SkAlphaType; in DEF_TEST() local 111 &unpremul); in DEF_TEST() 123 SkAlphaType unpremul = kUnpremul_SkAlphaType; in DEF_TEST() local 127 &unpremul); in DEF_TEST()
|
D | NonlinearBlendingTest.cpp | 31 auto unpremul = skcms_AlphaFormat_Unpremul, in DEF_TEST() local 35 skcms_Transform(&color, bgra, unpremul, &srgb_profile, in DEF_TEST()
|
D | ImageTest.cpp | 529 SkBitmap unpremul; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 530 unpremul.allocPixels(SkImageInfo::Make(256, 256, kRGBA_8888_SkColorType, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 532 if (!texImage->readPixels(dContext, unpremul.info(), unpremul.getPixels(), unpremul.rowBytes(), in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 539 if (*bmp.getAddr32(x, y) != *unpremul.getAddr32(x, y)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 541 *bmp.getAddr32(x, y), *unpremul.getAddr32(x, y), x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|
/third_party/skia/src/core/ |
D | SkColorSpaceXformSteps.cpp | 34 this->flags.unpremul = srcAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps() 86 if ( this->flags.unpremul && in SkColorSpaceXformSteps() 91 this->flags.unpremul = false; in SkColorSpaceXformSteps() 97 if (flags.unpremul) { in apply() 133 if (flags.unpremul) { p->append(SkRasterPipeline::unpremul); } in apply() 201 if (flags.unpremul) { in program() 202 c = unpremul(c); in program()
|
D | SkColorSpaceXformSteps.h | 21 bool unpremul = false; member 28 return (unpremul ? 1 : 0) in mask()
|
D | SkColorFilter_Matrix.cpp | 70 if (!shaderIsOpaque) { p->append(SkRasterPipeline::unpremul); } in onAppendStages() 109 c = unpremul(c); in onProgram()
|
D | SkColorFilter.cpp | 100 return as_CFB(this)->onFilterColor4f(color, dstCS).unpremul(); in filterColor4f() 272 rec.fPipeline->append(SkRasterPipeline::unpremul); in onAppendStages() 285 return premul(fSteps.program(p, uniforms, unpremul(c))); in onProgram()
|
D | SkConvertPixels.cpp | 44 steps.flags.unpremul || in swizzle_or_premul()
|
D | SkRasterPipeline.h | 43 M(unpremul) M(premul) M(premul_dst) \
|
/third_party/skia/resources/sksl/shared/ |
D | DeadStripFunctions.sksl | 27 b = unpremul(half4(1)); 29 // Dead stripping a built-in function. (This is a separate overload of `unpremul`.) 30 float4 unused = unpremul(float4(-1));
|
/third_party/skia/src/effects/ |
D | SkHighContrastFilter.cpp | 63 SkAlphaType unpremul = kUnpremul_SkAlphaType; in Make() local 66 &linear, nullptr/*use dst gamut*/, &unpremul); in Make()
|
D | SkTableColorFilter.cpp | 47 p->append(SkRasterPipeline::unpremul); in onAppendStages() 75 c = unpremul(c); in onProgram()
|
D | SkLayerDrawLooper.cpp | 61 return SkBlendMode_Apply(mode, pmS, pmD).unpremul(); in xferColor()
|
/third_party/skia/tools/gdb/ |
D | bitmap.py | 41 unpremul = 3 variable in AlphaType 71 if alpha_type == AlphaType.unpremul.value:
|
/third_party/skia/gm/ |
D | lumafilter.cpp | 196 SkAlphaType unpremul = kUnpremul_SkAlphaType; variable 200 &unpremul));
|
D | unpremul.cpp | 20 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
|
/third_party/skia/src/gpu/ |
D | SurfaceContext.cpp | 108 bool unpremul = flags.unpremul, in readPixels() local 122 bool canvas2DFastPath = unpremul && !needColorConversion && in readPixels() 223 bool convert = unpremul || premul || needColorConversion || flip || makeTight || in readPixels() 367 bool unpremul = flags.unpremul, in internalWritePixels() local 486 unpremul || in internalWritePixels()
|
D | SurfaceFillContext.h | 134 return color.unpremul().array();
|
D | GrColorSpaceXform.cpp | 131 return this->fColorXform->apply(c0.unpremul()).premul(); in constantOutputForConstantInput()
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 61 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul()
|
/third_party/skia/src/sksl/ |
D | SkSLIntrinsicList.h | 106 SKSL_INTRINSIC(unpremul)
|
D | sksl_public.sksl | 232 half4 unpremul(half4 color) { return half4 (color.rgb / max(color.a, 0.0001), color.a); } 233 float4 unpremul(float4 color) { return float4(color.rgb / max(color.a, 0.0001), color.a); }
|
/third_party/mesa3d/src/freedreno/ci/ |
D | freedreno-a630-skqp-gl_rendertests.txt | 243 unpremul,0
|
/third_party/skia/include/core/ |
D | SkColor.h | 393 SkRGBA4f<kUnpremul_SkAlphaType> unpremul() const { in unpremul() function
|