Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkColorFilter.cpp67 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 …]
DSkPaintPriv.cpp90 void SkPaintPriv::RemoveColorFilter(SkPaint* p, SkColorSpace* dstCS) { in RemoveColorFilter() argument
100 p->setColor(filter->filterColor4f(p->getColor4f(), sk_srgb_singleton(), dstCS), dstCS); in RemoveColorFilter()
DSkColorFilterBase.h31 SkColorSpace* dstCS, skvm::Uniforms*, SkArenaAlloc*) const;
73 virtual SkPMColor4f onFilterColor4f(const SkPMColor4f& color, SkColorSpace* dstCS) const;
85 SkColorSpace* dstCS, skvm::Uniforms*, SkArenaAlloc*) const = 0;
DSkModeColorFilter.cpp74 SkColorSpace* dstCS, in onProgram() argument
78 dstCS, kPremul_SkAlphaType).apply(color.vec()); in onProgram()
DSkPaintPriv.h75 static void RemoveColorFilter(SkPaint*, SkColorSpace* dstCS);
DSkRuntimeEffect.cpp495 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()
DSkColorFilter_Matrix.h36 SkColorSpace* dstCS,
DSkBlitter_Sprite.cpp127 if (auto dstCS = fDst.colorSpace()) { in setup() local
137 dstCS, kPremul_SkAlphaType) in setup()
DSkRasterPipelineBlitter.cpp93 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/
Diccmodule.cpp85 cmsColorSpaceSignature dstCS = cmsGetColorSpace(dstProfile.get()); in CreateTransformSRGB() local
86 if (!Check3Components(dstCS)) in CreateTransformSRGB()
91 switch (dstCS) { in CreateTransformSRGB()
/external/skqp/src/effects/imagefilters/
DSkPictureImageFilter.cpp133 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/
DSkHighContrastFilter.cpp61 SkColorSpace* dstCS, in onAppendStages() argument
68 if (!dstCS) { in onAppendStages()
116 if (!dstCS) { in onAppendStages()
DSkOverdrawColorFilter.cpp44 SkColorSpace* dstCS, in onAppendStages() argument
/external/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()
/external/skqp/src/core/
DSkBlitter_Sprite.cpp122 if (auto dstCS = fDst.colorSpace()) { in setup() local
132 dstCS, kPremul_SkAlphaType) in setup()
DSkRasterPipelineBlitter.cpp87 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()
DSkColorFilter.cpp46 SkColorSpace* dstCS, in appendStages() argument
49 this->onAppendStages(p, dstCS, alloc, shaderIsOpaque); in appendStages()
/external/skqp/src/shaders/
DSkPictureShader.cpp299 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/
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()
/external/skqp/src/shaders/gradients/
DSk4fGradientBase.h39 void init(const SkGradientShaderBase&, SkColorSpace* dstCS, SkShader::TileMode 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()
/external/skia/include/core/
DSkColorFilter.h49 SkColorSpace* dstCS) const;
/external/skia/src/gpu/
DSkGr.cpp413 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/
Dcolor.md82 if (dstCS == nullptr) { dstCS = srcCS; }

12