Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into combine_blends
  • Loading branch information
Jonah Williams authored Apr 22, 2024
commit 180c3fa51349045195c86fa7758325ebde97e023
3 changes: 2 additions & 1 deletion impeller/entity/contents/filters/blend_filter_contents.cc
Original file line number Diff line number Diff line change
Expand Up @@ -978,7 +978,8 @@ std::optional<Entity> BlendFilterContents::RenderFilter(
foreground_color_, blend_mode_,
GetAlpha(), GetAbsorbOpacity());
}
if (inputs.size() == 1 && foreground_color_.has_value()) {
if (inputs.size() == 1 && foreground_color_.has_value() &&
GetAbsorbOpacity() == ColorFilterContents::AbsorbOpacity::kYes) {
return CreateForegroundAdvancedBlend(
inputs[0], renderer, entity, coverage, foreground_color_.value(),
blend_mode_, GetAlpha(), GetAbsorbOpacity());
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.