/external/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()
|
/external/skqp/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()
|
/external/skia/src/core/ |
D | SkColorSpaceXformSteps.cpp | 33 this->flags.unpremul = srcAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps() 88 if ( this->flags.unpremul && in SkColorSpaceXformSteps() 93 this->flags.unpremul = false; in SkColorSpaceXformSteps() 99 if (flags.unpremul) { in apply() 137 if (flags.unpremul) { p->append(SkRasterPipeline::unpremul); } in apply()
|
D | SkColorSpaceXformSteps.h | 20 bool unpremul = false; member 27 return (unpremul ? 1 : 0) in mask()
|
D | SkColorFilter_Matrix.cpp | 73 if (!shaderIsOpaque) { p->append(SkRasterPipeline::unpremul); } in onAppendStages() 89 p->unpremul(r,g,b,*a); in onProgram()
|
D | SkColorFilter.cpp | 98 return dst.unpremul(); in filterColor4f() 233 rec.fPipeline->append(SkRasterPipeline::unpremul); in onAppendStages()
|
/external/skqp/src/core/ |
D | SkColorSpaceXformSteps.cpp | 33 this->flags.unpremul = srcAT == kPremul_SkAlphaType; in SkColorSpaceXformSteps() 88 if ( this->flags.unpremul && in SkColorSpaceXformSteps() 93 this->flags.unpremul = false; in SkColorSpaceXformSteps() 99 if (flags.unpremul) { in apply() 143 if (flags.unpremul) { p->append(SkRasterPipeline::unpremul); } in apply()
|
D | SkColorSpaceXformSteps.h | 18 bool unpremul = false; member 25 return (unpremul ? 1 : 0) in mask()
|
D | SkColorFilter.cpp | 79 return dst.unpremul(); in filterColor4f() 231 p->append(SkRasterPipeline::unpremul); in onAppendStages()
|
/external/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(); 82 bool unpremul = d->fRandom->nextBool(); 85 return Make(m, unpremul, clampRGB, premul);
|
D | GrRGBToHSLFilterEffect.fp | 8 // Convert RGBA -> HSLA (including unpremul). 20 // An additional trick we employ is deferring premul->unpremul conversion until the very end: the 21 // alpha factor gets naturally simplified for H and S, and only L requires a dedicated unpremul
|
D | GrSRGBEffect.cpp | 101 SkColor4f color = inColor.unpremul(); in constantOutputForConstantInput()
|
/external/skqp/tools/gdb/ |
D | bitmap.py | 41 unpremul = 3 variable in AlphaType 71 if alpha_type == AlphaType.unpremul.value:
|
/external/skia/tools/gdb/ |
D | bitmap.py | 41 unpremul = 3 variable in AlphaType 71 if alpha_type == AlphaType.unpremul.value:
|
/external/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 | 23 color = input.unpremul(); in constantOutputForConstantInput()
|
/external/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 173 bool unpremul = flags.unpremul, in readPixels() local 187 bool canvas2DFastPath = unpremul && !needColorConversion && in readPixels() 250 bool convert = unpremul || premul || needColorConversion || flip || makeTight || in readPixels() 334 bool unpremul = flags.unpremul, in writePixels() local 441 bool convert = premul || unpremul || needColorConversion || makeTight || in writePixels()
|
/external/skqp/gm/ |
D | unpremul.cpp | 11 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
|
/external/skia/gm/ |
D | unpremul.cpp | 19 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
|
/external/skqp/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 60 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul()
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLColorSpaceXformHelper.h | 61 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul()
|
/external/skqp/src/gpu/ |
D | GrContext.cpp | 614 bool unpremul = SkToBool(kUnpremul_PixelOpsFlag & pixelOpsFlags); in readSurfacePixels() local 616 if (!valid_pixel_conversion(dstColorType, srcProxy->config(), unpremul)) { in readSurfacePixels() 626 unpremul && in readSurfacePixels() 701 bool convert = unpremul; in readSurfacePixels() 731 SkASSERT(!unpremul || !dstAlwaysOpaque); in readSurfacePixels() 734 : unpremul ? kUnpremul_SkAlphaType : kPremul_SkAlphaType; in readSurfacePixels()
|
/external/skqp/src/gpu/effects/ |
D | GrSRGBEffect.cpp | 100 SkColor4f color = inColor.unpremul(); in constantOutputForConstantInput()
|