Home
last modified time | relevance | path

Searched refs:dstCS (Results 1 – 16 of 16) sorted by relevance

/third_party/skia/src/core/
DSkColorFilter.cpp95 SkColorSpace* dstCS) const { in filterColor4f()
98 dstCS, kPremul_SkAlphaType).apply(color.vec()); in filterColor4f()
100 return as_CFB(this)->onFilterColor4f(color, dstCS).unpremul(); in filterColor4f()
104 SkColorSpace* dstCS) const { in onFilterColor4f()
112 &pipeline, &alloc, kRGBA_F32_SkColorType, dstCS, blankPaint, nullptr, matrixProvider in onFilterColor4f()
127 SkColorInfo dstInfo = {kRGBA_F32_SkColorType, kPremul_SkAlphaType, sk_ref_sp(dstCS)}; in onFilterColor4f()
342 sk_sp<SkColorSpace> workingFormat(const sk_sp<SkColorSpace>& dstCS, SkAlphaType* at) const { in workingFormat()
346 if (fUseDstTF ) { SkAssertResult(dstCS->isNumericalTransferFn(&tf)); } in workingFormat()
347 if (fUseDstGamut) { SkAssertResult(dstCS->toXYZD50 (&gamut)); } in workingFormat()
357 sk_sp<SkColorSpace> dstCS = dstColorInfo.refColorSpace(); in asFragmentProcessor() local
[all …]
DSkPaintPriv.cpp94 void SkPaintPriv::RemoveColorFilter(SkPaint* p, SkColorSpace* dstCS) { in RemoveColorFilter() argument
104 p->setColor(filter->filterColor4f(p->getColor4f(), sk_srgb_singleton(), dstCS), dstCS); in RemoveColorFilter()
DSkPaintPriv.h58 static void RemoveColorFilter(SkPaint*, SkColorSpace* dstCS);
DSkBlitter_Sprite.cpp128 if (auto dstCS = fDst.colorSpace()) { in setup() local
138 dstCS, kPremul_SkAlphaType) in setup()
DSkRasterPipelineBlitter.cpp98 SkColorSpace* dstCS = dst.colorSpace(); in SkCreateRasterPipelineBlitter() local
102 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter()
121 {&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, matrixProvider})) { in SkCreateRasterPipelineBlitter()
DSkColorFilterBase.h73 virtual SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const;
DSkRuntimeEffect.cpp736 const SkColorSpace* dstCS) { in get_xformed_uniforms() argument
740 dstCS, kUnpremul_SkAlphaType); in get_xformed_uniforms()
904 SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const override { in onFilterColor4f()
910 return SkColorFilterBase::onFilterColor4f(color, dstCS); in onFilterColor4f()
914 sk_sp<SkData> inputs = get_xformed_uniforms(fEffect.get(), fUniforms, dstCS); in onFilterColor4f()
924 return as_CFB(colorFilter)->onFilterColor4f(inColor, dstCS); in onFilterColor4f()
/third_party/skia/src/shaders/
DSkPictureShader.cpp376 auto dstCS = ref_or_srgb(args.fDstColorInfo->colorSpace()); in asFragmentProcessor() local
378 dstColorType, dstCS.get(), in asFragmentProcessor()
393 builder[0] = dstCS->toXYZD50Hash(); in asFragmentProcessor()
394 builder[1] = dstCS->transferFnHash(); in asFragmentProcessor()
/third_party/skia/src/shaders/gradients/
DSk4fGradientBase.h39 void init(const SkGradientShaderBase&, SkColorSpace* dstCS, SkTileMode tileMode,
DSk4fGradientBase.cpp140 void Sk4fGradientIntervalBuffer::init(const SkGradientShaderBase& shader, SkColorSpace* dstCS, in init() argument
199 SkColor4fXformer xformedColors(shader.fOrigColors4f, count, shader.fColorSpace.get(), dstCS); in init()
DSkGradientShaderPriv.h83 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dstCS,
/third_party/skia/include/core/
DSkColorFilter.h49 SkColorSpace* dstCS) const;
/third_party/skia/src/gpu/
DSkGr.cpp524 SkColorSpace* dstCS = dstColorInfo.colorSpace(); in skpaint_to_grpaint_impl() local
525 grPaint->setColor4f(colorFilter->filterColor4f(origColor, dstCS, dstCS).premul()); in skpaint_to_grpaint_impl()
/third_party/skia/site/docs/user/
Dcolor.md82 if (dstCS == nullptr) { dstCS = srcCS; }
/third_party/skia/src/utils/
DSkPatchUtils.cpp221 static void skcolor_to_float(SkPMColor4f* dst, const SkColor* src, int count, SkColorSpace* dstCS) { in skcolor_to_float() argument
225 kPremul_SkAlphaType, sk_ref_sp(dstCS)); in skcolor_to_float()
/third_party/skia/tests/
DReadPixelsTest.cpp500 for (const sk_sp<SkColorSpace>& dstCS : kColorSpaces) { in DEF_TEST() local
505 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()