Skip to content

Keep clip mask for backdrop filter in clip's coordinate space #52875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

Previously, as the synthetic effect node for the filter could be
applied in a different transform space, the clip mask was transformed
to be in the same space. This is problematic if there is a transform
animation between the backdrop effect and the clip, as the clip
bounds are now in a stale coordinate space (still of the old
transform space). Instead, we conditionally track the clip's ID in
the mask filter info. This ID can be used to look up the correct
transform space when updating the transform to map the the render
surface.

Bug: 401816608, 401543213
Change-Id: I9201773d9a37b76241f664938d5fb07d376164c6

Reviewed-on: https://chromium-review.googlesource.com/6579330
WPT-Export-Revision: d422580c1ff0526c6297fcd2bf8ea03a0d7a5b53

Previously, as the synthetic effect node for the filter could be
applied in a different transform space, the clip mask was transformed
to be in the same space. This is problematic if there is a transform
animation between the backdrop effect and the clip, as the clip
bounds are now in a stale coordinate space (still of the old
transform space). Instead, we conditionally track the clip's ID in
the mask filter info. This ID can be used to look up the correct
transform space when updating the transform to map the the render
surface.

Bug: 401816608, 401543213
Change-Id: I9201773d9a37b76241f664938d5fb07d376164c6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants