/external/skia/src/gpu/graphite/ |
D | PaintParams.h | 32 sk_sp<SkBlender> finalBlender, 35 sk_sp<SkBlender> primitiveBlender, 38 sk_sp<SkBlender> primitiveBlender, 49 SkBlender* finalBlender() const { return fFinalBlender.get(); } in finalBlender() 50 sk_sp<SkBlender> refFinalBlender() const; 58 SkBlender* primitiveBlender() const { return fPrimitiveBlender.get(); } in primitiveBlender() 59 sk_sp<SkBlender> refPrimitiveBlender() const; 72 sk_sp<SkBlender> fFinalBlender; // A nullptr here means SrcOver blending 78 sk_sp<SkBlender> fPrimitiveBlender;
|
D | PaintParams.cpp | 25 sk_sp<SkBlender> finalBlender, in PaintParams() 28 sk_sp<SkBlender> primitiveBlender, in PaintParams() 38 sk_sp<SkBlender> primitiveBlender, in PaintParams() 56 sk_sp<SkBlender> PaintParams::refFinalBlender() const { return fFinalBlender; } in refFinalBlender() 62 sk_sp<SkBlender> PaintParams::refPrimitiveBlender() const { return fPrimitiveBlender; } in refPrimitiveBlender()
|
D | Device.h | 163 void drawAtlas(const SkRSXform[], const SkRect[], const SkColor[], int count, sk_sp<SkBlender>, in drawAtlas() argument 167 void drawVertices(const SkVertices*, sk_sp<SkBlender>, const SkPaint&, bool) override; 168 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override {} in drawMesh() argument 205 sk_sp<SkBlender> primitiveBlender = nullptr,
|
/external/skia/include/core/ |
D | SkBlender.h | 19 class SK_API SkBlender : public SkFlattenable { 24 static sk_sp<SkBlender> Mode(SkBlendMode mode); 27 SkBlender() = default;
|
D | SkPaint.h | 24 class SkBlender; variable 480 SkBlender* getBlender() const { return fBlender.get(); } in getBlender() 489 sk_sp<SkBlender> refBlender() const; 499 void setBlender(sk_sp<SkBlender> blender); 666 sk_sp<SkBlender> fBlender;
|
D | SkShader.h | 20 class SkBlender; variable 87 static sk_sp<SkShader> Blend(sk_sp<SkBlender>, sk_sp<SkShader> dst, sk_sp<SkShader> src);
|
D | BUILD.bazel | 26 "SkBlender.h", 125 "SkBlender.h",
|
/external/skia/src/core/ |
D | SkBlenderBase.h | 33 class SkBlenderBase : public SkBlender { 86 inline SkBlenderBase* as_BB(SkBlender* blend) { in as_BB() 90 inline const SkBlenderBase* as_BB(const SkBlender* blend) { in as_BB() 94 inline const SkBlenderBase* as_BB(const sk_sp<SkBlender>& blend) { in as_BB()
|
D | SkBlendModeBlender.cpp | 22 sk_sp<SkBlender> SkBlender::Mode(SkBlendMode mode) { in Mode() 88 return SkBlender::Mode(mode); in CreateProc()
|
D | SkDraw.h | 71 sk_sp<SkBlender>, 75 sk_sp<SkBlender>, const SkPaint&); 133 sk_sp<SkBlender> blender,
|
D | SkBitmapDevice.h | 90 void drawVertices(const SkVertices*, sk_sp<SkBlender>, const SkPaint&, bool) override; 92 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override; 95 void drawAtlas(const SkRSXform[], const SkRect[], const SkColor[], int count, sk_sp<SkBlender>,
|
D | SkDevice.h | 313 sk_sp<SkBlender>, 317 virtual void drawMesh(const SkMesh& mesh, sk_sp<SkBlender>, const SkPaint&) = 0; 323 const SkPoint texCoords[4], sk_sp<SkBlender>, const SkPaint& paint); 327 sk_sp<SkBlender>, const SkPaint&); 574 void drawVertices(const SkVertices*, sk_sp<SkBlender>, const SkPaint&, bool) override {} in drawVertices() argument 576 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override {} in drawMesh() argument
|
/external/skia/tests/graphite/ |
D | PaintParamsKeyTest.cpp | 49 std::pair<sk_sp<SkBlender>, sk_sp<PrecompileBlender>> create_random_blender(SkRandom*); 364 std::pair<sk_sp<SkBlender>, sk_sp<PrecompileBlender>> src_blender() { in src_blender() 372 sk_sp<SkBlender> b = sSrcEffect->makeBlender(/* uniforms= */ nullptr); in src_blender() 377 std::pair<sk_sp<SkBlender>, sk_sp<PrecompileBlender>> dest_blender() { in dest_blender() 385 sk_sp<SkBlender> b = sDestEffect->makeBlender(/* uniforms= */ nullptr); in dest_blender() 391 std::pair<sk_sp<SkBlender>, sk_sp<PrecompileBlender>> combo_blender() { in combo_blender() 410 sk_sp<SkBlender> b = sComboEffect->makeBlender(SkData::MakeWithCopy(kUniforms, in combo_blender() 417 std::pair<sk_sp<SkBlender>, sk_sp<PrecompileBlender>> create_bm_blender(SkRandom* rand, in create_bm_blender() 419 return { SkBlender::Mode(bm), PrecompileBlender::Mode(bm) }; in create_bm_blender() 422 std::pair<sk_sp<SkBlender>, sk_sp<PrecompileBlender>> create_rt_blender(SkRandom* rand) { in create_rt_blender() [all …]
|
/external/skia/src/effects/ |
D | SkBlenders.cpp | 20 sk_sp<SkBlender> SkBlenders::Arithmetic(float k1, float k2, float k3, float k4, in Arithmetic() 43 return SkBlender::Mode(t.mode); in Arithmetic() 73 sk_sp<SkBlender> SkBlenders::Arithmetic(float k1, float k2, float k3, float k4, in Arithmetic()
|
/external/skia/modules/skottie/src/ |
D | BlendModes.cpp | 23 static sk_sp<SkBlender> hardMix() { in hardMix() 39 static sk_sp<SkBlender> get_blender(const skjson::ObjectValue& jobject, in get_blender() 71 return SkBlender::Mode(kBlendModeMap[mode]); in get_blender()
|
/external/skia/src/effects/imagefilters/ |
D | SkBlendImageFilter.cpp | 57 SkBlendImageFilter(sk_sp<SkBlender> blender, sk_sp<SkImageFilter> inputs[2], in SkBlendImageFilter() 88 sk_sp<SkBlender> fBlender; 100 return sk_sp<SkImageFilter>(new SkBlendImageFilter(SkBlender::Mode(mode), inputs, cropRect)); in Blend() 103 sk_sp<SkImageFilter> SkImageFilters::Blend(sk_sp<SkBlender> blender, in Blend() 108 blender = SkBlender::Mode(SkBlendMode::kSrcOver); in Blend() 124 sk_sp<SkBlender> blender; in CreateProc() 133 blender = SkBlender::Mode((SkBlendMode)mode); in CreateProc()
|
/external/skia/tools/ |
D | RuntimeBlendUtils.h | 14 class SkBlender; variable 22 sk_sp<SkBlender> GetRuntimeBlendForBlendMode(SkBlendMode mode);
|
D | RuntimeBlendUtils.cpp | 13 sk_sp<SkBlender> GetRuntimeBlendForBlendMode(SkBlendMode mode) { in GetRuntimeBlendForBlendMode() 24 builder.child("b") = SkBlender::Mode(mode); in GetRuntimeBlendForBlendMode()
|
/external/skia/modules/sksg/include/ |
D | SkSGRenderEffect.h | 22 class SkBlender; variable 235 static sk_sp<BlenderEffect> Make(sk_sp<RenderNode> child, sk_sp<SkBlender> = nullptr); 237 SG_ATTRIBUTE(Blender, sk_sp<SkBlender>, fBlender) 244 BlenderEffect(sk_sp<RenderNode>, sk_sp<SkBlender>); 246 sk_sp<SkBlender> fBlender;
|
D | SkSGRenderNode.h | 56 sk_sp<SkBlender> fBlender; 94 ScopedRenderContext&& modulateBlender(sk_sp<SkBlender>);
|
/external/skia/src/svg/ |
D | SkSVGDevice.h | 30 class SkBlender; variable 71 void drawVertices(const SkVertices*, sk_sp<SkBlender>, const SkPaint&, bool) override; 73 void drawMesh(const SkMesh&, sk_sp<SkBlender>, const SkPaint&) override;
|
/external/skia/gm/ |
D | mesh.cpp | 145 for (const sk_sp<SkBlender>& blender : {SkBlender::Mode(SkBlendMode::kDst), in onDraw() 146 SkBlender::Mode(SkBlendMode::kSrc), in onDraw() 147 SkBlender::Mode(SkBlendMode::kSaturation)}) { in onDraw() 449 canvas->drawMesh(result.mesh, SkBlender::Mode(mode), paint); in onDraw() 603 canvas->drawMesh(result.mesh, SkBlender::Mode(SkBlendMode::kModulate), paint); in onDraw() 779 canvas->drawMesh(result.mesh, SkBlender::Mode(SkBlendMode::kDst), paint); in onDraw() 843 canvas->drawMesh(result.mesh, SkBlender::Mode(SkBlendMode::kDst), paint); in onDraw() 984 canvas->drawMesh(result.mesh, SkBlender::Mode(SkBlendMode::kDstOver), paint); in onDraw() 1149 c->drawMesh(r.mesh, SkBlender::Mode(SkBlendMode::kDifference), paint); in onDraw()
|
/external/skia/include/effects/ |
D | SkRuntimeEffect.h | 189 ChildPtr(sk_sp<SkBlender> b) : fChild(std::move(b)) {} in ChildPtr() 198 SkBlender* blender() const; 231 sk_sp<SkBlender> makeBlender(sk_sp<const SkData> uniforms, 533 sk_sp<SkBlender> makeBlender();
|
D | SkBlenders.h | 21 static sk_sp<SkBlender> Arithmetic(float k1, float k2, float k3, float k4, bool enforcePremul);
|
/external/skia/src/gpu/ganesh/ |
D | SkGr.h | 38 class SkBlender; variable 116 SkBlender* primColorBlender,
|