Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] Replace Impeller opacity peephole delegate with DL variant. #52707

Merged
merged 15 commits into from
May 31, 2024
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
3 changes: 2 additions & 1 deletion impeller/display_list/dl_dispatcher.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,8 @@ void DlDispatcherBase::drawDisplayList(
save_paint.color = Color(0, 0, 0, opacity);
GetCanvas().SaveLayer(
save_paint, skia_conversions::ToRect(display_list->bounds()), nullptr,
ContentBoundsPromise::kContainsContents, display_list->total_depth());
ContentBoundsPromise::kContainsContents, display_list->total_depth(),
display_list->can_apply_group_opacity());
} else {
// The display list may alter the clip, which must be restored to the
// current clip at the end of playback.
Expand Down