/third_party/skia/src/core/ |
D | SkColorFilter.cpp | 95 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 …]
|
D | SkPaintPriv.cpp | 94 void SkPaintPriv::RemoveColorFilter(SkPaint* p, SkColorSpace* dstCS) { in RemoveColorFilter() argument 104 p->setColor(filter->filterColor4f(p->getColor4f(), sk_srgb_singleton(), dstCS), dstCS); in RemoveColorFilter()
|
D | SkPaintPriv.h | 58 static void RemoveColorFilter(SkPaint*, SkColorSpace* dstCS);
|
D | SkBlitter_Sprite.cpp | 128 if (auto dstCS = fDst.colorSpace()) { in setup() local 138 dstCS, kPremul_SkAlphaType) in setup()
|
D | SkRasterPipelineBlitter.cpp | 98 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()
|
D | SkColorFilterBase.h | 73 virtual SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const;
|
D | SkRuntimeEffect.cpp | 724 const SkColorSpace* dstCS) { in get_xformed_uniforms() argument 728 dstCS, kUnpremul_SkAlphaType); in get_xformed_uniforms() 892 SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const override { in onFilterColor4f() 898 return SkColorFilterBase::onFilterColor4f(color, dstCS); in onFilterColor4f() 902 sk_sp<SkData> inputs = get_xformed_uniforms(fEffect.get(), fUniforms, dstCS); in onFilterColor4f() 912 return as_CFB(colorFilter)->onFilterColor4f(inColor, dstCS); in onFilterColor4f()
|
/third_party/skia/src/shaders/ |
D | SkPictureShader.cpp | 376 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/flutter/skia/src/core/ |
D | SkRasterPipelineBlitter.cpp | 86 SkColorSpace* dstCS = dst.colorSpace() ? dst.colorSpace() in SkCreateRasterPipelineBlitter() 89 SkColorSpace* dstCS = dst.colorSpace(); in SkCreateRasterPipelineBlitter() local 94 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter() 111 if (shader->appendStages({&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, ctm})) { in SkCreateRasterPipelineBlitter()
|
D | SkBlitter_Sprite.cpp | 122 if (auto dstCS = fDst.colorSpace()) { in setup() local 132 dstCS, kPremul_SkAlphaType) in setup()
|
/third_party/flutter/skia/src/shaders/gradients/ |
D | Sk4fGradientBase.h | 39 void init(const SkGradientShaderBase&, SkColorSpace* dstCS, SkTileMode tileMode,
|
D | Sk4fGradientBase.cpp | 140 void Sk4fGradientIntervalBuffer::init(const SkGradientShaderBase& shader, SkColorSpace* dstCS, in init() argument 199 SkColor4fXformer xformedColors(shader.fOrigColors4f, count, shader.fColorSpace.get(), dstCS); in init()
|
/third_party/skia/src/shaders/gradients/ |
D | Sk4fGradientBase.h | 39 void init(const SkGradientShaderBase&, SkColorSpace* dstCS, SkTileMode tileMode,
|
D | Sk4fGradientBase.cpp | 140 void Sk4fGradientIntervalBuffer::init(const SkGradientShaderBase& shader, SkColorSpace* dstCS, in init() argument 199 SkColor4fXformer xformedColors(shader.fOrigColors4f, count, shader.fColorSpace.get(), dstCS); in init()
|
D | SkGradientShaderPriv.h | 83 const SkMatrixProvider&, const SkMatrix* localM, const SkColorInfo& dstCS,
|
/third_party/skia/include/core/ |
D | SkColorFilter.h | 49 SkColorSpace* dstCS) const;
|
/third_party/skia/src/gpu/ |
D | SkGr.cpp | 524 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/ |
D | color.md | 82 if (dstCS == nullptr) { dstCS = srcCS; }
|
/third_party/flutter/skia/src/utils/ |
D | SkPatchUtils.cpp | 219 static void skcolor_to_float(SkPMColor4f* dst, const SkColor* src, int count, SkColorSpace* dstCS) { in skcolor_to_float() argument 223 kPremul_SkAlphaType, sk_ref_sp(dstCS)); in skcolor_to_float()
|
/third_party/skia/src/utils/ |
D | SkPatchUtils.cpp | 221 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/ |
D | ReadPixelsTest.cpp | 500 for (const sk_sp<SkColorSpace>& dstCS : kColorSpaces) { in DEF_TEST() local 505 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | ReadPixelsTest.cpp | 608 for (sk_sp<SkColorSpace> dstCS : kColorSpaces) { in DEF_TEST() 613 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
|