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

Commit aa9afcd

Browse files
authored
[DisplayList] Add support for clipOval to leverage Impeller optimization (#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.
1 parent a78f5ce commit aa9afcd

23 files changed

+675
-73
lines changed

display_list/display_list.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,11 @@ namespace flutter {
9898
V(TransformReset) \
9999
\
100100
V(ClipIntersectRect) \
101+
V(ClipIntersectOval) \
101102
V(ClipIntersectRRect) \
102103
V(ClipIntersectPath) \
103104
V(ClipDifferenceRect) \
105+
V(ClipDifferenceOval) \
104106
V(ClipDifferenceRRect) \
105107
V(ClipDifferencePath) \
106108
\

0 commit comments

Comments
 (0)