Searched refs:asBlendMode (Results 1 – 25 of 26) sorted by relevance
12
145 skstd::optional<SkBlendMode> SkPaint::asBlendMode() const { in asBlendMode() function in SkPaint146 return fBlender ? as_BB(fBlender)->asBlendMode() in asBlendMode()151 return this->asBlendMode().value_or(defaultMode); in getBlendMode_or()155 return !fBlender || as_BB(fBlender)->asBlendMode() == SkBlendMode::kSrcOver; in isSrcOver()252 const auto bm = paint.asBlendMode(); in pack_v68()302 !paint.asBlendMode()) { in Flatten()471 auto bm = this->asBlendMode(); in nothingToDraw()
73 const auto bm = paint.asBlendMode(); in Supports()94 if (paint.asBlendMode() == SkBlendMode::kSrc || isOpaque) { in SkRGB565_Shader_Blitter()
81 const auto bm = paint.asBlendMode(); in ChooseL565()170 const auto bm = paint.asBlendMode(); in ChooseLA8()
16 const auto bm = paint.asBlendMode(); in SkInterpretXfermode()
17 skstd::optional<SkBlendMode> asBlendMode() const final { return fMode; } in asBlendMode() function
32 virtual skstd::optional<SkBlendMode> asBlendMode() const { return {}; } in asBlendMode() function
45 const auto bm = paint->asBlendMode(); in Overwrites()
103 if (!paint.asBlendMode()) { in ChooseL32()
179 0xFF == paint->getAlpha() && paint->asBlendMode() == SkBlendMode::kSrc; in effectively_srcover()
271 if (as_BB(blender)->asBlendMode() == SkBlendMode::kSrcOver && shader->isOpaque()) { in EffectiveParams()382 const auto as_blendmode = blender->asBlendMode(); in BuildProgram()492 if (auto bm = as_BB(params.blender)->asBlendMode()) { in CacheKey()
93 if (!paint.asBlendMode()) { in SkCreateRasterPipelineBlitter()154 const auto bm = paint.asBlendMode(); in Create()
75 const auto mode = paint.asBlendMode(); in Supports()
663 const auto mode = paint.asBlendMode(); in UseLegacyBlitter()709 if (auto mode = paint->asBlendMode()) { in Choose()783 SkASSERT(paint->getShader() || paint->asBlendMode() == SkBlendMode::kSrcOver); in Choose()
324 const auto bm = paint->asBlendMode(); in PaintMayAffectTransparentBlack()
912 const auto bm = origPaint.asBlendMode(); in drawPath()
987 if (SkBlendMode::kSrc == paint.asBlendMode()) { in SkARGB32_Shader_Blitter()
60 if (d.asBlendMode() != p.asBlendMode()) { in PaintStringDump()
160 ASSERT(other.asBlendMode() == paint.asBlendMode());
119 if (auto bm = as_BB(fBlender)->asBlendMode()) { in flatten()209 if (auto bm = as_BB(fBlender)->asBlendMode()) { in onFilterBounds()
473 skstd::optional<SkBlendMode> asBlendMode() const;
65 if (auto bm = as_BB(blender)->asBlendMode()) { in Blend()
175 && newPaint->asBlendMode() == SkBlendMode::kSrcOver) { in onDrawPicture()
281 auto blendMode = paint.asBlendMode(); in drawShape()
552 if (auto bm = skPaint.asBlendMode()) { in skpaint_to_grpaint_impl()
2364 if (skstd::optional<SkBlendMode> mode = paint.asBlendMode()) { in draw()