Home
last modified time | relevance | path

Searched refs:sk_srgb_singleton (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/src/core/
DSkModeColorFilter.cpp120 SkPMColor4f color = map_color(fColor, sk_srgb_singleton(), rec.fDstCS); in appendStages()
129 SkPMColor4f color = map_color(fColor, sk_srgb_singleton(), dstInfo.colorSpace()); in onProgram()
156 SkPMColor4f color = map_color(fColor, sk_srgb_singleton(), dstColorInfo.colorSpace()); in asFragmentProcessor()
186 SkPMColor4f color = map_color(fColor, sk_srgb_singleton(), in addToKey()
208 color, colorSpace.get(), sk_srgb_singleton()); in Blend()
DSkColorSpace.cpp75 SkColorSpace* sk_srgb_singleton() { in sk_srgb_singleton() function
88 return sk_ref_sp(sk_srgb_singleton()); in MakeSRGB()
148 return sk_srgb_singleton() == this; in isSRGB()
DSkDraw_atlas.cpp56 : fSteps{sk_srgb_singleton(), kUnpremul_SkAlphaType, cs, kUnpremul_SkAlphaType} {} in UpdatableColorShader()
130 sk_srgb_singleton(), kUnpremul_SkAlphaType, rec.fDstCS, kUnpremul_SkAlphaType); in drawAtlas()
DSkPaintPriv.cpp110 p->setColor(filter->filterColor4f(p->getColor4f(), sk_srgb_singleton(), dstCS), dstCS); in RemoveColorFilter()
236 paint.setColor(color, sk_srgb_singleton()); in Unflatten()
DSkColorSpacePriv.h83 SkColorSpace* sk_srgb_singleton();
DSkBlitter_Sprite.cpp135 srcCS = sk_srgb_singleton(); in setup()
DSkPaint.cpp125 sk_srgb_singleton(), kUnpremul_SkAlphaType}; in setColor()
DSkColorSpaceXformSteps.cpp30 if (!src) { src = sk_srgb_singleton(); } in SkColorSpaceXformSteps()
DSkRasterPipelineBlitter.cpp107 SkColorSpaceXformSteps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in SkCreateRasterPipelineBlitter()
DSkVMBlitter.cpp285 SkColorSpaceXformSteps{sk_srgb_singleton(), kUnpremul_SkAlphaType, in EffectiveParams()
/external/skia/src/effects/
DSkLayerDrawLooper.cpp81 sk_srgb_singleton()); in ApplyInfo()
96 dst->setColor4f(c, sk_srgb_singleton()); in ApplyInfo()
310 return Make(SkColor4f::FromColor(color), sk_srgb_singleton(), sigma, dx, dy); in Make()
/external/skia/src/gpu/ganesh/
DGrColorInfo.cpp20 fColorXformFromSRGB = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in GrColorInfo()
/external/skia/src/shaders/
DSkColorShader.cpp174 SkColorSpaceXformSteps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in appendStages()
197 SkColorSpaceXformSteps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in program()
DSkShader.cpp230 sk_srgb_singleton(), in appendStages()
256 rec.fAlloc->make<SkColorSpaceXformSteps>(sk_srgb_singleton(), kPremul_SkAlphaType, in appendStages()
DSkImageShader.cpp722 cs = sk_srgb_singleton(); in appendStages()
/external/skia/src/gpu/graphite/
DPaintParams.cpp66 SkColorSpaceXformSteps steps(sk_srgb_singleton(), kUnpremul_SkAlphaType, in Color4fPrepForDst()
/external/skia/tools/
Dimgcvt.cpp106 : sk_srgb_singleton(); in main()
/external/skia/tests/
DColorSpaceTest.cpp74 test_space(r, sk_srgb_singleton(), g_sRGB_R, g_sRGB_G, g_sRGB_B, true); in DEF_TEST()
336 sk_srgb_singleton()->toProfile(&profile); in DEF_TEST()
DSkRuntimeEffectTest.cpp1284 sk_srgb_singleton(), sk_srgb_singleton()); in DEF_TEST()
/external/skia/src/image/
DSkImage.cpp600 colorSpace = sk_srgb_singleton(); in makeColorTypeAndColorSpace()
777 colorSpace = sk_srgb_singleton(); in makeColorTypeAndColorSpace()
798 colorSpace = sk_srgb_singleton(); in reinterpretColorSpace()
/external/skia/bench/
DVertexColorSpaceBench.cpp306 auto xform = GrColorSpaceXform::Make(sk_srgb_singleton(), kUnpremul_SkAlphaType, in onDraw()
/external/skia/src/shaders/gradients/
DSkGradientShaderBase.cpp462 SkColorSpace* dstColorSpace = rec.fDstCS ? rec.fDstCS : sk_srgb_singleton(); in appendStages()
784 SkColorSpace* dstColorSpace = dstInfo.colorSpace() ? dstInfo.colorSpace() : sk_srgb_singleton(); in program()
1304 : sk_srgb_singleton(); in MakeInterpolatedToDst()
/external/skia/src/utils/
DSkPatchUtils.cpp273 colorSpace = sk_srgb_singleton(); in MakeVertices()
/external/skia/src/gpu/ganesh/gradients/
DGrGradientShader.cpp727 SkColorSpace* dstColorSpace = dstInfo.colorSpace() ? dstInfo.colorSpace() : sk_srgb_singleton(); in make_interpolated_to_dst()
/external/skia/gm/
Druntimeshader.cpp662 for (auto cs : {static_cast<SkColorSpace*>(nullptr), sk_srgb_singleton()}) { in onDraw()

12