Skip to content

Commit

Permalink
[DisplayList] Add support for clipOval to leverage Impeller optimizat…
Browse files Browse the repository at this point in the history
…ion (#53622)

Impeller supports `ClipOval` and will detect oval paths and rrects and use that call instead when appropriate. Adding support for `ClipOval` to DisplayList allows that optimization code to be moved up into the recording process.
  • Loading branch information
flar authored Jun 28, 2024
1 parent a78f5ce commit aa9afcd
Show file tree
Hide file tree
Showing 23 changed files with 675 additions and 73 deletions.
2 changes: 2 additions & 0 deletions display_list/display_list.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,11 @@ namespace flutter {
V(TransformReset) \
\
V(ClipIntersectRect) \
V(ClipIntersectOval) \
V(ClipIntersectRRect) \
V(ClipIntersectPath) \
V(ClipDifferenceRect) \
V(ClipDifferenceOval) \
V(ClipDifferenceRRect) \
V(ClipDifferencePath) \
\
Expand Down
Loading

0 comments on commit aa9afcd

Please sign in to comment.