/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()
|
/third_party/flutter/skia/tests/ |
D | SkColorSpaceXformStepsTest.cpp | 21 unpremul = kUnpremul_SkAlphaType; in DEF_TEST() local 27 bool unpremul; in DEF_TEST() member 47 { adobe, srgb, unpremul, premul, false,true,true,true,true }, in DEF_TEST() 48 { srgb, adobe, unpremul, premul, false,true,true,true,true }, in DEF_TEST() 67 { srgb, srgb22, unpremul, premul, false,true,false,true,true }, in DEF_TEST() 68 { srgb22, srgb, unpremul, premul, false,true,false,true,true }, in DEF_TEST() 75 { srgb, srgb, unpremul, premul, false,false,false,false,true }, in DEF_TEST() 88 { adobe1, srgb1, unpremul, premul, false,false,true,false, true }, in DEF_TEST() 93 { srgb, srgb1, unpremul, premul, false, true,false,false, true }, in DEF_TEST() 95 { srgb, adobe1, unpremul, premul, false, true, true,false, true }, in DEF_TEST() [all …]
|
D | NonlinearBlendingTest.cpp | 31 auto unpremul = skcms_AlphaFormat_Unpremul, in DEF_TEST() local 35 skcms_Transform(&color, bgra, unpremul, &srgb_profile, in DEF_TEST()
|
/third_party/flutter/skia/src/core/ |
D | SkColorSpaceXformSteps.cpp | 41 this->flags.unpremul = srcAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps() 96 if ( this->flags.unpremul && in SkColorSpaceXformSteps() 101 this->flags.unpremul = false; in SkColorSpaceXformSteps() 107 if (flags.unpremul) { in apply() 151 if (flags.unpremul) { p->append(SkRasterPipeline::unpremul); } in apply()
|
D | SkColorSpaceXformSteps.h | 22 bool unpremul = false; member 29 return (unpremul ? 1 : 0) in mask()
|
/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()
|
/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/flutter/skia/src/gpu/effects/ |
D | GrColorMatrixFragmentProcessor.fp | 21 // The max() is to guard against 0 / 0 during unpremul when the incoming color is 41 color = input.unpremul(); 86 bool unpremul = d->fRandom->nextBool(); 89 return Make(m, unpremul, clampRGB, premul);
|
/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()
|
/third_party/flutter/skia/tools/gdb/ |
D | bitmap.py | 41 unpremul = 3 variable in AlphaType 71 if alpha_type == AlphaType.unpremul.value:
|
/third_party/skia/tools/gdb/ |
D | bitmap.py | 41 unpremul = 3 variable in AlphaType 71 if alpha_type == AlphaType.unpremul.value:
|
/third_party/flutter/skia/src/gpu/effects/generated/ |
D | GrColorMatrixFragmentProcessor.cpp | 113 bool unpremul = d->fRandom->nextBool(); in TestCreate() local 116 return Make(m, unpremul, clampRGB, premul); in TestCreate()
|
D | GrColorMatrixFragmentProcessor.h | 22 color = input.unpremul(); in constantOutputForConstantInput()
|
/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/flutter/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 105 bool unpremul = this->colorSpaceInfo().alphaType() == kPremul_SkAlphaType && in readPixels() local 119 bool canvas2DFastPath = unpremul && !needColorConversion && in readPixels() 184 bool convert = unpremul || premul || needColorConversion || flip || makeTight || in readPixels() 264 bool unpremul = this->colorSpaceInfo().alphaType() == kUnpremul_SkAlphaType && in writePixels() local 378 bool convert = premul || unpremul || needColorConversion || makeTight || in writePixels()
|
/third_party/flutter/skia/gm/ |
D | unpremul.cpp | 19 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
|
/third_party/flutter/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 60 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul()
|
/third_party/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 61 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul()
|
/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()
|