-
Notifications
You must be signed in to change notification settings - Fork 6k
[CP] [skwasm] Fix platform view occlusion logic. #54871
[CP] [skwasm] Fix platform view occlusion logic. #54871
Conversation
The occlusion rectangle for platform views was going through this `inverseMapRect` code path, which actually was giving us the wrong results. The operations should just be doing the normal transformation on the rectangles to get the right result. It actually turns out we don't need the inverse mapping function, so I removed it, and I renamed the somewhat confusingly named `cullRect` function to `mapRect` which I think makes a bit more sense. This should resolve flutter/flutter#152139
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cherry pick looks good to me! Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like CI is failing, I'm guessing some there are some test changes that didn't make it over in the CP for some reason?
Also I did notice that there is a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I'm not 100% sure about which branch should be targeted, I'll let the release team handle that particular question.
a4777ff
into
flutter:flutter-3.24-candidate.0
Cherry-pick of #54061