/external/skia/src/core/ |
D | SkPaint.cpp | 138 std::optional<SkBlendMode> SkPaint::asBlendMode() const { in asBlendMode() function in SkPaint 139 return fBlender ? as_BB(fBlender)->asBlendMode() in asBlendMode() 144 return this->asBlendMode().value_or(defaultMode); in getBlendMode_or() 148 return !fBlender || as_BB(fBlender)->asBlendMode() == SkBlendMode::kSrcOver; in isSrcOver() 274 auto bm = this->asBlendMode(); in nothingToDraw()
|
D | SkPaintPriv.cpp | 51 const auto bm = paint->asBlendMode(); in Overwrites() 158 const auto bm = paint.asBlendMode(); in pack_v68() 208 !paint.asBlendMode()) { in Flatten()
|
D | SkXfermodeInterpretation.cpp | 18 const auto bm = paint.asBlendMode(); in SkInterpretXfermode()
|
D | SkBlendModeBlender.h | 17 std::optional<SkBlendMode> asBlendMode() const final { return fMode; } in asBlendMode() function
|
D | SkBlenderBase.h | 39 virtual std::optional<SkBlendMode> asBlendMode() const { return {}; } in asBlendMode() function
|
D | SkSpriteBlitter_ARGB32.cpp | 103 if (!paint.asBlendMode()) { in ChooseL32()
|
D | SkBlendModeBlender.cpp | 74 std::optional<SkBlendMode> bm = as_BB(this)->asBlendMode(); in addToKey()
|
D | SkRecordOpts.cpp | 179 0xFF == paint->getAlpha() && paint->asBlendMode() == SkBlendMode::kSrc; in effectively_srcover()
|
D | SkVMBlitter.cpp | 280 if (as_BB(blender)->asBlendMode() == SkBlendMode::kSrcOver && shader->isOpaque()) { in EffectiveParams() 402 const auto as_blendmode = blender->asBlendMode(); in BuildProgram() 517 if (auto bm = as_BB(params.blender)->asBlendMode()) { in CacheKey()
|
D | SkBlitter.cpp | 665 const auto mode = paint.asBlendMode(); in UseLegacyBlitter() 711 if (auto mode = paint->asBlendMode()) { in Choose() 789 SkASSERT(paint->getShader() || paint->asBlendMode() == SkBlendMode::kSrcOver); in Choose()
|
D | SkBlitter_Sprite.cpp | 77 const auto mode = paint.asBlendMode(); in Supports()
|
D | SkDraw_atlas.cpp | 136 if (std::optional<SkBlendMode> bm = as_BB(blender)->asBlendMode(); bm.has_value()) { in drawAtlas()
|
D | SkRasterPipelineBlitter.cpp | 99 if (!paint.asBlendMode()) { in SkCreateRasterPipelineBlitter() 159 const auto bm = paint.asBlendMode(); in Create()
|
D | SkDraw_vertices.cpp | 349 if (std::optional<SkBlendMode> bm = as_BB(blender)->asBlendMode(); bm.has_value() && colors) { in drawFixedVertices()
|
/external/skia/docs/examples/ |
D | PaintDump.cpp | 60 if (d.asBlendMode() != p.asBlendMode()) { in PaintStringDump()
|
/external/skia/tests/ |
D | PaintTest.cpp | 178 ASSERT(other.asBlendMode() == paint.asBlendMode());
|
/external/skia/src/gpu/graphite/ |
D | FactoryFunctions.cpp | 25 std::optional<SkBlendMode> asBlendMode() const final { return fBlendMode; } in asBlendMode() function in skgpu::graphite::PrecompileBlendModeBlender 209 } else if (b->asBlendMode().has_value()) { in Blend() 210 SkBlendMode bm = b->asBlendMode().value(); in Blend()
|
D | PaintParams.cpp | 52 return fFinalBlender ? as_BB(fFinalBlender)->asBlendMode() in asFinalBlendMode()
|
D | Precompile.cpp | 72 if (b->asBlendMode().has_value()) { in numBlendModeCombinations()
|
D | Precompile.h | 124 virtual std::optional<SkBlendMode> asBlendMode() const { return {}; } in asBlendMode() function
|
/external/skia/src/effects/imagefilters/ |
D | SkBlendImageFilter.cpp | 141 if (auto bm = as_BB(fBlender)->asBlendMode()) { in flatten() 231 if (auto bm = as_BB(fBlender)->asBlendMode()) { in onFilterBounds()
|
/external/skia/include/core/ |
D | SkPaint.h | 453 std::optional<SkBlendMode> asBlendMode() const;
|
/external/skia/src/gpu/ganesh/ |
D | SkGr.cpp | 285 std::optional<SkBlendMode> mode = as_BB(blender)->asBlendMode(); in blender_requires_shader() 580 if (auto bm = skPaint.asBlendMode()) { in skpaint_to_grpaint_impl()
|
/external/skia/src/shaders/ |
D | SkComposeShader.cpp | 220 if (std::optional<SkBlendMode> mode = as_BB(blender)->asBlendMode()) { in Blend()
|
/external/skia/src/utils/ |
D | SkPaintFilterCanvas.cpp | 191 && newPaint->asBlendMode() == SkBlendMode::kSrcOver) { in onDrawPicture()
|