/external/skia/src/core/ |
D | SkColorFilter.cpp | 67 SkColorSpace* dstCS, in program() argument 70 if ((c = this->onProgram(p,c, dstCS, uniforms,alloc))) { in program() 87 SkColorSpace* dstCS) const { in filterColor4f() 90 dstCS, kPremul_SkAlphaType).apply(color.vec()); in filterColor4f() 92 return as_CFB(this)->onFilterColor4f(color, dstCS).unpremul(); in filterColor4f() 96 SkColorSpace* dstCS) const { in onFilterColor4f() 104 &pipeline, &alloc, kRGBA_F32_SkColorType, dstCS, dummyPaint, nullptr, matrixProvider in onFilterColor4f() 120 as_CFB(this)->program(&b, b.uniformColor(uniColor, &uni), dstCS, &uni, &alloc)) { in onFilterColor4f() 153 SkColorSpace* dstCS, in onProgram() argument 155 c = fInner->program(p, c, dstCS, uniforms, alloc); in onProgram() [all …]
|
D | SkPaintPriv.cpp | 90 void SkPaintPriv::RemoveColorFilter(SkPaint* p, SkColorSpace* dstCS) { in RemoveColorFilter() argument 100 p->setColor(filter->filterColor4f(p->getColor4f(), sk_srgb_singleton(), dstCS), dstCS); in RemoveColorFilter()
|
D | SkColorFilterBase.h | 31 SkColorSpace* dstCS, skvm::Uniforms*, SkArenaAlloc*) const; 73 virtual SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const; 85 SkColorSpace* dstCS, skvm::Uniforms*, SkArenaAlloc*) const = 0;
|
D | SkModeColorFilter.cpp | 74 SkColorSpace* dstCS, in onProgram() argument 78 dstCS, kPremul_SkAlphaType).apply(color.vec()); in onProgram()
|
D | SkPaintPriv.h | 75 static void RemoveColorFilter(SkPaint*, SkColorSpace* dstCS);
|
D | SkRuntimeEffect.cpp | 495 const SkColorSpace* dstCS) { in get_xformed_uniforms() argument 499 dstCS, kUnpremul_SkAlphaType); in get_xformed_uniforms() 584 SkColorSpace* dstCS, in onProgram() argument 586 sk_sp<SkData> inputs = get_xformed_uniforms(fEffect.get(), fUniforms, dstCS); in onProgram() 595 return as_CFB(fChildren[ix])->program(p, color, dstCS, uniforms, alloc); in onProgram() 614 SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const override { in onFilterColor4f() 620 return SkColorFilterBase::onFilterColor4f(color, dstCS); in onFilterColor4f() 624 sk_sp<SkData> inputs = get_xformed_uniforms(fEffect.get(), fUniforms, dstCS); in onFilterColor4f() 634 inputColors.push_back(child ? as_CFB(child)->onFilterColor4f(color, dstCS) : color); in onFilterColor4f()
|
D | SkColorFilter_Matrix.h | 36 SkColorSpace* dstCS,
|
D | SkBlitter_Sprite.cpp | 127 if (auto dstCS = fDst.colorSpace()) { in setup() local 137 dstCS, kPremul_SkAlphaType) in setup()
|
D | SkRasterPipelineBlitter.cpp | 93 SkColorSpace* dstCS = dst.colorSpace(); in SkCreateRasterPipelineBlitter() local 97 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter() 116 {&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, matrixProvider})) { in SkCreateRasterPipelineBlitter()
|
/external/pdfium/core/fxcodec/icc/ |
D | iccmodule.cpp | 85 cmsColorSpaceSignature dstCS = cmsGetColorSpace(dstProfile.get()); in CreateTransformSRGB() local 86 if (!Check3Components(dstCS)) in CreateTransformSRGB() 91 switch (dstCS) { in CreateTransformSRGB()
|
/external/skqp/src/effects/imagefilters/ |
D | SkPictureImageFilter.cpp | 133 sk_sp<SkColorSpace> dstCS = xformer->dst(); in onMakeColorSpace() local 134 if (SkColorSpace::Equals(dstCS.get(), fColorSpace.get())) { in onMakeColorSpace() 138 return sk_sp<SkImageFilter>(new SkPictureImageFilter(fPicture, fCropRect, std::move(dstCS))); in onMakeColorSpace()
|
/external/skqp/src/effects/ |
D | SkHighContrastFilter.cpp | 61 SkColorSpace* dstCS, in onAppendStages() argument 68 if (!dstCS) { in onAppendStages() 116 if (!dstCS) { in onAppendStages()
|
D | SkOverdrawColorFilter.cpp | 44 SkColorSpace* dstCS, in onAppendStages() argument
|
/external/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()
|
/external/skqp/src/core/ |
D | SkBlitter_Sprite.cpp | 122 if (auto dstCS = fDst.colorSpace()) { in setup() local 132 dstCS, kPremul_SkAlphaType) in setup()
|
D | SkRasterPipelineBlitter.cpp | 87 SkColorSpace* dstCS = dst.colorSpace() ? dst.colorSpace() in SkCreateRasterPipelineBlitter() 90 SkColorSpace* dstCS = dst.colorSpace(); in SkCreateRasterPipelineBlitter() local 95 dstCS, kUnpremul_SkAlphaType).apply(paintColor.vec()); in SkCreateRasterPipelineBlitter() 112 if (shader->appendStages({&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, ctm})) { in SkCreateRasterPipelineBlitter()
|
D | SkColorFilter.cpp | 46 SkColorSpace* dstCS, in appendStages() argument 49 this->onAppendStages(p, dstCS, alloc, shaderIsOpaque); in appendStages()
|
/external/skqp/src/shaders/ |
D | SkPictureShader.cpp | 299 sk_sp<SkColorSpace> dstCS = xformer->dst(); in onMakeColorSpace() local 300 if (SkColorSpace::Equals(dstCS.get(), fColorSpace.get())) { in onMakeColorSpace() 305 &fTile, std::move(dstCS))); in onMakeColorSpace()
|
/external/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()
|
/external/skqp/src/shaders/gradients/ |
D | Sk4fGradientBase.h | 39 void init(const SkGradientShaderBase&, SkColorSpace* dstCS, SkShader::TileMode 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()
|
/external/skia/include/core/ |
D | SkColorFilter.h | 49 SkColorSpace* dstCS) const;
|
/external/skia/src/gpu/ |
D | SkGr.cpp | 413 SkColorSpace* dstCS = dstColorInfo.colorSpace(); in skpaint_to_grpaint_impl() local 414 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; }
|