Skip to content

Commit

Permalink
Apply path effects from a DlPaint to a DisplayListBuilder (flutter#36669
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jason-simmons authored Oct 10, 2022
1 parent 915d521 commit 623d2d9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions display_list/display_list_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -359,10 +359,9 @@ void DisplayListBuilder::setAttributesFromDlPaint(
if (flags.applies_image_filter()) {
setImageFilter(paint.getImageFilter().get());
}
// Waiting for https://github.com/flutter/engine/pull/32159
// if (flags.applies_path_effect()) {
// setPathEffect(sk_ref_sp(paint.getPathEffect()));
// }
if (flags.applies_path_effect()) {
setPathEffect(paint.getPathEffect().get());
}
if (flags.applies_mask_filter()) {
setMaskFilter(paint.getMaskFilter().get());
}
Expand Down

0 comments on commit 623d2d9

Please sign in to comment.