/external/skia/src/core/ |
D | SkColorFilter.cpp | 98 SkColorSpace* dstCS) const { in filterColor4f() 101 dstCS, kPremul_SkAlphaType).apply(color.vec()); in filterColor4f() 103 return as_CFB(this)->onFilterColor4f(color, dstCS).unpremul(); in filterColor4f() 107 SkColorSpace* dstCS) const { in onFilterColor4f() 116 SkStageRec rec = {&pipeline, &alloc, kRGBA_F32_SkColorType, dstCS, solidPaint, props}; in onFilterColor4f() 130 SkColorInfo dstInfo = {kRGBA_F32_SkColorType, kPremul_SkAlphaType, sk_ref_sp(dstCS)}; in onFilterColor4f() 396 sk_sp<SkColorSpace> workingFormat(const sk_sp<SkColorSpace>& dstCS, SkAlphaType* at) const { in workingFormat() argument 400 if (fUseDstTF ) { SkAssertResult(dstCS->isNumericalTransferFn(&tf)); } in workingFormat() 401 if (fUseDstGamut) { SkAssertResult(dstCS->toXYZD50 (&gamut)); } in workingFormat() 412 sk_sp<SkColorSpace> dstCS = dstColorInfo.refColorSpace(); in asFragmentProcessor() local [all …]
|
D | SkPaintPriv.cpp | 100 void SkPaintPriv::RemoveColorFilter(SkPaint* p, SkColorSpace* dstCS) { in RemoveColorFilter() argument 110 p->setColor(filter->filterColor4f(p->getColor4f(), sk_srgb_singleton(), dstCS), dstCS); in RemoveColorFilter()
|
D | SkPaintPriv.h | 59 static void RemoveColorFilter(SkPaint*, SkColorSpace* dstCS);
|
D | SkBlitter_Sprite.cpp | 130 if (auto dstCS = fDst.colorSpace()) { in setup() local 140 dstCS, kPremul_SkAlphaType) in setup()
|
D | SkColorFilterBase.h | 85 virtual SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const;
|
D | SkRasterPipelineBlitter.cpp | 104 SkColorSpace* dstCS = dst.colorSpace(); in SkCreateRasterPipelineBlitter() local 108 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter() 126 if (shader->appendRootStages({&shaderPipeline, alloc, dstCT, dstCS, paint, props}, ctm)) { in SkCreateRasterPipelineBlitter()
|
D | SkRuntimeEffectPriv.h | 81 const SkColorSpace* dstCS);
|
D | SkRuntimeEffect.cpp | 149 const SkColorSpace* dstCS) { in TransformUniforms() argument 151 dstCS, kUnpremul_SkAlphaType); in TransformUniforms() 1265 SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const override { in onFilterColor4f() 1271 return SkColorFilterBase::onFilterColor4f(color, dstCS); in onFilterColor4f() 1278 dstCS); in onFilterColor4f() 1288 return as_CFB(colorFilter)->onFilterColor4f(inColor, dstCS); in onFilterColor4f() 1520 sk_sp<const SkData> uniformData(const SkColorSpace* dstCS) const { in uniformData() 1526 sk_sp<const SkData> uniforms = fUniformsCallback({dstCS}); in uniformData()
|
D | SkDraw_vertices.cpp | 211 auto dstCS = skipColorXform ? nullptr : sk_ref_sp(deviceCS); in convert_colors() local 215 SkImageInfo::Make(count, 1, kRGBA_F32_SkColorType, kPremul_SkAlphaType, dstCS); in convert_colors()
|
/external/pdfium/core/fxcodec/icc/ |
D | icc_transform.cpp | 90 cmsColorSpaceSignature dstCS = cmsGetColorSpace(dstProfile.get()); in CreateTransformSRGB() local 91 if (!Check3Components(dstCS)) in CreateTransformSRGB() 95 switch (dstCS) { in CreateTransformSRGB()
|
/external/skia/src/shaders/ |
D | SkPictureShader.cpp | 377 auto dstCS = ref_or_srgb(args.fDstColorInfo->colorSpace()); in asFragmentProcessor() local 382 dstCS.get(), in asFragmentProcessor() 397 dstCS->toXYZD50Hash(), in asFragmentProcessor() 398 dstCS->transferFnHash(), in asFragmentProcessor()
|
/external/skia/include/core/ |
D | SkColorFilter.h | 50 SkColorSpace* dstCS) const;
|
/external/skia/src/gpu/ganesh/ |
D | SkGr.cpp | 547 SkColorSpace* dstCS = dstColorInfo.colorSpace(); in skpaint_to_grpaint_impl() local 548 grPaint->setColor4f(colorFilter->filterColor4f(origColor, dstCS, dstCS).premul()); in skpaint_to_grpaint_impl()
|
/external/skia/site/docs/user/ |
D | color.md | 82 if (dstCS == nullptr) { dstCS = srcCS; }
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 240 static void skcolor_to_float(SkPMColor4f* dst, const SkColor* src, int count, SkColorSpace* dstCS) { in skcolor_to_float() argument 244 kPremul_SkAlphaType, sk_ref_sp(dstCS)); in skcolor_to_float()
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShaderBase.h | 108 const SkColorInfo& dstCS,
|
/external/skia/tests/ |
D | ReadPixelsTest.cpp | 524 for (const sk_sp<SkColorSpace>& dstCS : kColorSpaces) { in DEF_TEST() local 529 SkImageInfo::Make(kNumPixels, 1, dstCT, dstAT, dstCS), in DEF_TEST()
|
/external/skia/src/gpu/graphite/ |
D | Device.cpp | 115 SkColorSpace* dstCS = dstColorInfo.colorSpace(); in extract_paint_color() local 116 return filter->filterColor4f(dstPaintColor, dstCS, dstCS); in extract_paint_color()
|