Home
last modified time | relevance | path

Searched refs:asBlendMode (Results 1 – 25 of 32) sorted by relevance

12

/external/skia/src/core/
DSkPaint.cpp138 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()
DSkPaintPriv.cpp51 const auto bm = paint->asBlendMode(); in Overwrites()
158 const auto bm = paint.asBlendMode(); in pack_v68()
208 !paint.asBlendMode()) { in Flatten()
DSkXfermodeInterpretation.cpp18 const auto bm = paint.asBlendMode(); in SkInterpretXfermode()
DSkBlendModeBlender.h17 std::optional<SkBlendMode> asBlendMode() const final { return fMode; } in asBlendMode() function
DSkBlenderBase.h39 virtual std::optional<SkBlendMode> asBlendMode() const { return {}; } in asBlendMode() function
DSkSpriteBlitter_ARGB32.cpp103 if (!paint.asBlendMode()) { in ChooseL32()
DSkBlendModeBlender.cpp74 std::optional<SkBlendMode> bm = as_BB(this)->asBlendMode(); in addToKey()
DSkRecordOpts.cpp179 0xFF == paint->getAlpha() && paint->asBlendMode() == SkBlendMode::kSrc; in effectively_srcover()
DSkVMBlitter.cpp280 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()
DSkBlitter.cpp665 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()
DSkBlitter_Sprite.cpp77 const auto mode = paint.asBlendMode(); in Supports()
DSkDraw_atlas.cpp136 if (std::optional<SkBlendMode> bm = as_BB(blender)->asBlendMode(); bm.has_value()) { in drawAtlas()
DSkRasterPipelineBlitter.cpp99 if (!paint.asBlendMode()) { in SkCreateRasterPipelineBlitter()
159 const auto bm = paint.asBlendMode(); in Create()
DSkDraw_vertices.cpp349 if (std::optional<SkBlendMode> bm = as_BB(blender)->asBlendMode(); bm.has_value() && colors) { in drawFixedVertices()
/external/skia/docs/examples/
DPaintDump.cpp60 if (d.asBlendMode() != p.asBlendMode()) { in PaintStringDump()
/external/skia/tests/
DPaintTest.cpp178 ASSERT(other.asBlendMode() == paint.asBlendMode());
/external/skia/src/gpu/graphite/
DFactoryFunctions.cpp25 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()
DPaintParams.cpp52 return fFinalBlender ? as_BB(fFinalBlender)->asBlendMode() in asFinalBlendMode()
DPrecompile.cpp72 if (b->asBlendMode().has_value()) { in numBlendModeCombinations()
DPrecompile.h124 virtual std::optional<SkBlendMode> asBlendMode() const { return {}; } in asBlendMode() function
/external/skia/src/effects/imagefilters/
DSkBlendImageFilter.cpp141 if (auto bm = as_BB(fBlender)->asBlendMode()) { in flatten()
231 if (auto bm = as_BB(fBlender)->asBlendMode()) { in onFilterBounds()
/external/skia/include/core/
DSkPaint.h453 std::optional<SkBlendMode> asBlendMode() const;
/external/skia/src/gpu/ganesh/
DSkGr.cpp285 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/
DSkComposeShader.cpp220 if (std::optional<SkBlendMode> mode = as_BB(blender)->asBlendMode()) { in Blend()
/external/skia/src/utils/
DSkPaintFilterCanvas.cpp191 && newPaint->asBlendMode() == SkBlendMode::kSrcOver) { in onDrawPicture()

12