drop-shadow() filter is clipped if its size changes in response to off-main-thread animations
Categories
(Core :: Graphics: WebRender, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr60 | --- | unaffected |
| firefox64 | --- | disabled |
| firefox65 | --- | disabled |
| firefox66 | --- | fixed |
People
(Reporter: mstange, Assigned: emilio)
References
Details
(Keywords: regression)
Attachments
(2 files)
|
47 bytes,
text/x-phabricator-request
|
Details | Review | |
|
Bug 1519073 - Pass the current clip chain id instead of clipping to the filter bounds. r?mattwoodrow
47 bytes,
text/x-phabricator-request
|
Details | Review |
| Reporter | ||
Updated•7 years ago
|
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Comment 3•7 years ago
|
||
Are you still looking at this Emilio?
Clipping to the current bounds of the filter item does seem wrong, since they can change asynchronously.
Do we just need a binding.rs api to get the WrClipId from DisplayListBuilder::mCurrentSpaceAndClipChain, so that we can define the stacking context as being clipped by that?
| Assignee | ||
Comment 4•7 years ago
|
||
I think we can just push a max clip rect. The clip id we pass to webrender is really just a hint so that WR properly puts it on its own surface.
| Assignee | ||
Comment 5•7 years ago
|
||
I.e, if I recall correctly, the right clip should already be on the clip stack, we really just need to hit 1.
Comment 6•7 years ago
|
||
Oh, I hadn't seen that. Isolation as a side effect of being clipped feels a bit weird!
Still, seems somewhat cleaner to just use the existing clip we have, rather than defining a no-op new one.
| Assignee | ||
Comment 7•7 years ago
|
||
yeah, just confirmed that max clip rect works, will try to rejigger the API to allow passing the existing clip chain.
| Assignee | ||
Comment 8•7 years ago
|
||
| Assignee | ||
Comment 9•7 years ago
|
||
| Assignee | ||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/8b61f3ad2ea3
https://hg.mozilla.org/mozilla-central/rev/0026b863c437
Description
•