Blur filter works incorrectly with rotation transforms |
|||||||||||
Issue descriptionChrome Version: 56.0.2924.87 What steps will reproduce the problem? (1) Open this page https://jsfiddle.net/579v9aho/5/ (2) Click the red div and watch it rotate At RotateY(60deg), instead of display a complete blurred div, we seem to draw it chopped. The div has a backface visibility hidden property, removing blur filter would make things work correctly.
,
Mar 2 2017
,
Mar 2 2017
Reduced case attached. chrishtr@ could you take a look to see if it's paint related?
,
Mar 2 2017
Ali, is this something to do with filters that move pixels?
,
Mar 2 2017
I updated the title to be more general and less confusing.
,
Mar 2 2017
We have the same bug with drop shadow, so I guess it's related to filters moving pixels.
,
Mar 2 2017
Drop shadow? That's not a filter. What example are you looking at?
,
Mar 2 2017
Testing on retina Mac, this renders correctly with software compositing but not with GPU compositing, which makes me think there's a bug in GLRenderer when applying the filter. The logic for handling expansion due to filters when computing render surface content rects is the same for software and GPU, so I don't think this is a bug in that logic, but it could be a bug in GLRenderer's handling of pixel-moving filters.
,
Mar 2 2017
Drop shadow is indeed a filter. Maybe you're thinking of box shadow?
,
Mar 2 2017
Ah yes, sorry.
,
Mar 2 2017
,
Mar 3 2017
,
Mar 15 2017
Seems to be GPU rasterization.
,
Mar 15 2017
,
Mar 15 2017
As a note, if I add translateZ(-100px) before the rotation, the div appears correctly, whereas translateZ(100px) causes it to disappear altogether. Seems like a clipping issue.
,
Apr 6 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Apr 6 2018
I can no longer reproduces the bug. Mark it as WontFix now. |
|||||||||||
►
Sign in to add a comment |
|||||||||||
Comment 1 by sunxd@chromium.org
, Mar 2 2017