Home
last modified time | relevance | path

Searched refs:SkBlender (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/include/core/
DSkBlender.h19 class SK_API SkBlender : public SkFlattenable {
24 static sk_sp<SkBlender> Mode(SkBlendMode mode);
27 SkBlender() = default;
DSkPaint.h17 class SkBlender; variable
500 SkBlender* getBlender() const { return fBlender.get(); } in getBlender()
509 sk_sp<SkBlender> refBlender() const;
519 void setBlender(sk_sp<SkBlender> blender);
700 sk_sp<SkBlender> fBlender;
DSkShader.h20 class SkBlender; variable
142 static sk_sp<SkShader> Blend(sk_sp<SkBlender>, sk_sp<SkShader> dst, sk_sp<SkShader> src);
DBUILD.bazel10 "SkBlender.h",
/third_party/skia/src/core/
DSkBlenderBase.h26 class SkBlenderBase : public SkBlender {
66 inline SkBlenderBase* as_BB(SkBlender* blend) { in as_BB()
70 inline const SkBlenderBase* as_BB(const SkBlender* blend) { in as_BB()
74 inline const SkBlenderBase* as_BB(const sk_sp<SkBlender>& blend) { in as_BB()
DSkBlendModeBlender.cpp17 sk_sp<SkBlender> SkBlender::Mode(SkBlendMode mode) { in Mode()
64 return SkBlender::Mode(mode); in CreateProc()
DSkVMBlitter.h64 sk_sp<SkBlender> blender; // never null
DSkRuntimeEffect.cpp875 if (SkBlender* blender = fChildren[ix].blender()) { in onProgram()
1039 if (SkBlender* blender = fChildren[ix].blender()) { in onProgram()
1149 if (SkBlender* blender = fChildren[ix].blender()) { in onProgram()
1367 sk_sp<SkBlender> SkRuntimeEffect::makeBlender(sk_sp<SkData> uniforms, in makeBlender()
1381 return sk_sp<SkBlender>(new SkRuntimeBlender(sk_ref_sp(this), std::move(uniforms), children)); in makeBlender()
1414 SkBlender* SkRuntimeEffect::ChildPtr::blender() const { in blender()
1416 ? static_cast<SkBlender*>(fChild.get()) in blender()
1457 sk_sp<SkBlender> SkRuntimeBlendBuilder::makeBlender() { in makeBlender()
DSkPaint.cpp159 this->setBlender(mode == SkBlendMode::kSrcOver ? nullptr : SkBlender::Mode(mode)); in setBlendMode()
162 void SkPaint::setBlender(sk_sp<SkBlender> blender) { in setBlender()
DSkReadBuffer.h124 sk_sp<SkBlender> readBlender() { return this->readFlattenable<SkBlenderBase>(); } in readBlender()
DSkVMBlitter.cpp253 sk_sp<SkBlender> blender = paint.refBlender(); in EffectiveParams()
255 blender = SkBlender::Mode(SkBlendMode::kSrcOver); in EffectiveParams()
272 blender = SkBlender::Mode(SkBlendMode::kSrc); in EffectiveParams()
/third_party/skia/tools/
DRuntimeBlendUtils.h14 class SkBlender; variable
22 sk_sp<SkBlender> GetRuntimeBlendForBlendMode(SkBlendMode mode);
DRuntimeBlendUtils.cpp12 sk_sp<SkBlender> GetRuntimeBlendForBlendMode(SkBlendMode mode) { in GetRuntimeBlendForBlendMode()
23 builder.child("b") = SkBlender::Mode(mode); in GetRuntimeBlendForBlendMode()
/third_party/skia/src/effects/imagefilters/
DSkBlendImageFilter.cpp35 SkBlendImageFilter(sk_sp<SkBlender> blender, sk_sp<SkImageFilter> inputs[2], in SkBlendImageFilter()
66 sk_sp<SkBlender> fBlender;
78 return sk_sp<SkImageFilter>(new SkBlendImageFilter(SkBlender::Mode(mode), inputs, cropRect)); in Blend()
81 sk_sp<SkImageFilter> SkImageFilters::Blend(sk_sp<SkBlender> blender, in Blend()
86 blender = SkBlender::Mode(SkBlendMode::kSrcOver); in Blend()
102 sk_sp<SkBlender> blender; in CreateProc()
111 blender = SkBlender::Mode((SkBlendMode)mode); in CreateProc()
/third_party/skia/src/effects/
DSkBlenders.cpp12 sk_sp<SkBlender> SkBlenders::Arithmetic(float k1, float k2, float k3, float k4, in Arithmetic()
36 return SkBlender::Mode(t.mode); in Arithmetic()
/third_party/skia/src/shaders/
DSkComposeShader.h25 SkShader_Blend(sk_sp<SkBlender> blender, sk_sp<SkShader> dst, sk_sp<SkShader> src) in SkShader_Blend()
49 sk_sp<SkBlender> fBlender; // if null, use fMode
DSkComposeShader.cpp58 sk_sp<SkShader> SkShaders::Blend(sk_sp<SkBlender> blender, sk_sp<SkShader> dst, sk_sp<SkShader> src… in Blend()
80 sk_sp<SkBlender> blender(nullptr); in CreateProc()
/third_party/skia/include/effects/
DSkRuntimeEffect.h172 ChildPtr(sk_sp<SkBlender> b) : fChild(std::move(b)) {} in ChildPtr()
178 SkBlender* blender() const;
209 sk_sp<SkBlender> makeBlender(sk_sp<SkData> uniforms, SkSpan<ChildPtr> children = {}) const;
458 sk_sp<SkBlender> makeBlender();
DSkBlenders.h21 static sk_sp<SkBlender> Arithmetic(float k1, float k2, float k3, float k4, bool enforcePremul);
DSkImageFilters.h21 class SkBlender; variable
107 static sk_sp<SkImageFilter> Blend(sk_sp<SkBlender> blender, sk_sp<SkImageFilter> background,
/third_party/skia/site/docs/user/
Dsksl.md11 `SkShader`, `SkColorFilter`, and `SkBlender` objects with behavior controlled by
46 `SkColorFilter`, or `SkBlender` fields, there is still only a _single_ GPU
/third_party/skia/tests/
DSkRuntimeEffectTest.cpp638 effect.child("child") = SkBlender::Mode(SkBlendMode::kPlus); in test_RuntimeEffect_Blenders()
690 sk_sp<SkBlender> blender = b.makeBlender(); in DEF_TEST()
/third_party/skia/gn/
Dcore.gni14 "$_include/core/SkBlender.h",