diff --git a/impeller/entity/contents/content_context.h b/impeller/entity/contents/content_context.h index 45580647faa7d..042dc6aea3562 100644 --- a/impeller/entity/contents/content_context.h +++ b/impeller/entity/contents/content_context.h @@ -40,7 +40,7 @@ using ClipPipeline = PipelineT; struct ContentContextOptions { SampleCount sample_count = SampleCount::kCount1; - Entity::BlendMode blend_mode = Entity::BlendMode::kSource; + Entity::BlendMode blend_mode = Entity::BlendMode::kSourceOver; struct Hash { constexpr std::size_t operator()(const ContentContextOptions& o) const { diff --git a/impeller/entity/shaders/solid_stroke.frag b/impeller/entity/shaders/solid_stroke.frag index 3d997a40ee4a6..3a3cb61e3cfb8 100644 --- a/impeller/entity/shaders/solid_stroke.frag +++ b/impeller/entity/shaders/solid_stroke.frag @@ -8,6 +8,5 @@ in float v_pen_down; out vec4 frag_color; void main() { - frag_color = stroke_color; - frag_color.a *= floor(v_pen_down); + frag_color = stroke_color * floor(v_pen_down); }