You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium-dev
Hi, I encountered a problem with layers painting.
Scenario: - View painting to a separate, non-opaque layer - Add a clipping path OK - View output is clipped as intended
- Add a layer backdrop filter (i.e. background blur) OK - View output is clipped and the blur is applied
- Remove backdrop filters (i.e. set background blur to 0.f) Error - Blur is removed, but the clipping is no longer applied.
I investigated this behavior and I found out that: - adding a clipping path for a view with layer adds another mask layer - adding a backdrop filter marks mask layer as BackdropFilterMask
But removing all backdrop filters from a layer doesn't call layer->mask_layer()->SetIsBackdropFilterMask(false) and clipping remains broken until adding a backdrop filter.