Home
last modified time | relevance | path

Searched refs:unpremul (Results 1 – 25 of 65) sorted by relevance

123

/third_party/skia/tests/
DSkColorSpaceXformStepsTest.cpp21 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 …]
DColorFilterTest.cpp107 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()
DNonlinearBlendingTest.cpp31 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/
DSkColorSpaceXformStepsTest.cpp21 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 …]
DNonlinearBlendingTest.cpp31 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/
DSkColorSpaceXformSteps.cpp41 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()
DSkColorSpaceXformSteps.h22 bool unpremul = false; member
29 return (unpremul ? 1 : 0) in mask()
/third_party/skia/src/core/
DSkColorSpaceXformSteps.cpp34 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()
DSkColorSpaceXformSteps.h21 bool unpremul = false; member
28 return (unpremul ? 1 : 0) in mask()
DSkColorFilter_Matrix.cpp70 if (!shaderIsOpaque) { p->append(SkRasterPipeline::unpremul); } in onAppendStages()
109 c = unpremul(c); in onProgram()
/third_party/skia/resources/sksl/shared/
DDeadStripFunctions.sksl27 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/
DGrColorMatrixFragmentProcessor.fp21 // 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/
DSkHighContrastFilter.cpp63 SkAlphaType unpremul = kUnpremul_SkAlphaType; in Make() local
66 &linear, nullptr/*use dst gamut*/, &unpremul); in Make()
DSkTableColorFilter.cpp47 p->append(SkRasterPipeline::unpremul); in onAppendStages()
75 c = unpremul(c); in onProgram()
/third_party/flutter/skia/tools/gdb/
Dbitmap.py41 unpremul = 3 variable in AlphaType
71 if alpha_type == AlphaType.unpremul.value:
/third_party/skia/tools/gdb/
Dbitmap.py41 unpremul = 3 variable in AlphaType
71 if alpha_type == AlphaType.unpremul.value:
/third_party/flutter/skia/src/gpu/effects/generated/
DGrColorMatrixFragmentProcessor.cpp113 bool unpremul = d->fRandom->nextBool(); in TestCreate() local
116 return Make(m, unpremul, clampRGB, premul); in TestCreate()
DGrColorMatrixFragmentProcessor.h22 color = input.unpremul(); in constantOutputForConstantInput()
/third_party/skia/gm/
Dlumafilter.cpp196 SkAlphaType unpremul = kUnpremul_SkAlphaType; variable
200 &unpremul));
Dunpremul.cpp20 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
/third_party/flutter/skia/src/gpu/
DGrSurfaceContext.cpp105 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/
Dunpremul.cpp19 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
/third_party/flutter/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h60 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul()
/third_party/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h61 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul()
/third_party/skia/src/gpu/
DSurfaceContext.cpp108 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()

123