Home
last modified time | relevance | path

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

123

/external/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()
DImageTest.cpp526 SkBitmap unpremul; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
527 unpremul.allocPixels(SkImageInfo::Make(256, 256, kRGBA_8888_SkColorType, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
529 if (!texImage->readPixels(unpremul.info(), unpremul.getPixels(), unpremul.rowBytes(), 0, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
536 if (*bmp.getAddr32(x, y) != *unpremul.getAddr32(x, y)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
538 *bmp.getAddr32(x, y), *unpremul.getAddr32(x, y), x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/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()
DImageTest.cpp526 SkBitmap unpremul; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
527 unpremul.allocPixels(SkImageInfo::Make(256, 256, kRGBA_8888_SkColorType, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
529 if (!texImage->readPixels(unpremul.info(), unpremul.getPixels(), unpremul.rowBytes(), 0, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
536 if (*bmp.getAddr32(x, y) != *unpremul.getAddr32(x, y)) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
538 *bmp.getAddr32(x, y), *unpremul.getAddr32(x, y), x, y); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/skqp/src/core/
DSkColorSpaceXformSteps.cpp33 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()
DSkColorSpaceXformSteps.h18 bool unpremul = false; member
25 return (unpremul ? 1 : 0) in mask()
DSkColorFilter.cpp79 return dst.unpremul(); in filterColor4f()
231 p->append(SkRasterPipeline::unpremul); in onAppendStages()
/external/skia/src/core/
DSkColorSpaceXformSteps.cpp33 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()
DSkColorSpaceXformSteps.h18 bool unpremul = false; member
25 return (unpremul ? 1 : 0) in mask()
DSkColorFilter.cpp81 return dst.unpremul(); in filterColor4f()
233 p->append(SkRasterPipeline::unpremul); in onAppendStages()
/external/skqp/tools/gdb/
Dbitmap.py41 unpremul = 3 variable in AlphaType
71 if alpha_type == AlphaType.unpremul.value:
/external/skia/tools/gdb/
Dbitmap.py41 unpremul = 3 variable in AlphaType
71 if alpha_type == AlphaType.unpremul.value:
/external/skia/src/gpu/
DGrContextPriv.cpp328 bool unpremul = SkToBool(kUnpremul_PixelOpsFlag & pixelOpsFlags); in readSurfacePixels() local
330 if (!valid_pixel_conversion(dstColorType, srcProxy->config(), unpremul)) { in readSurfacePixels()
340 unpremul && in readSurfacePixels()
415 bool convert = unpremul; in readSurfacePixels()
445 SkASSERT(!unpremul || !dstAlwaysOpaque); in readSurfacePixels()
448 : unpremul ? kUnpremul_SkAlphaType : kPremul_SkAlphaType; in readSurfacePixels()
/external/skia/gm/
Dunpremul.cpp11 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
/external/skqp/gm/
Dunpremul.cpp11 DEF_SIMPLE_GM(unpremul, canvas, 200, 200) {
/external/skqp/src/gpu/
DGrContext.cpp614 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/glsl/
DGrGLSLColorSpaceXformHelper.h60 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul()
/external/skia/src/gpu/glsl/
DGrGLSLColorSpaceXformHelper.h60 bool applyUnpremul() const { return fFlags.unpremul; } in applyUnpremul()
/external/skqp/src/gpu/effects/
DGrSRGBEffect.cpp100 SkColor4f color = inColor.unpremul(); in constantOutputForConstantInput()
/external/skia/src/gpu/effects/
DGrSRGBEffect.cpp101 SkColor4f color = inColor.unpremul(); in constantOutputForConstantInput()
/external/skqp/include/core/
DSkColor.h359 SkRGBA4f<kUnpremul_SkAlphaType> unpremul() const { in unpremul() function
/external/skia/include/core/
DSkColor.h367 SkRGBA4f<kUnpremul_SkAlphaType> unpremul() const { in unpremul() function
/external/skqp/docs/
DSkColor4f_Reference.bmh325 #SeeAlso unpremul
329 #Method SkRGBA4f<kUnpremul_SkAlphaType> unpremul() const

123