Blur filter is rendered differently on main and impl |
|||
Issue descriptionChrome Version: 56.0.2924.87 (stable) 1) Open WebKit layout test: compositing/masks/mask-with-added-filters.html (https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/compositing/masks/mask-with-added-filters.html?q=mask-with-added+package:%5Echromium$&l=1) What is the expected result? The left column and right column should look the same. What happens instead? The right one looks larger than the left. If we open devtools, remove the mask properties, we can see pure gradient divs. Then try repeating adding and removing the composited class from the right quickly, we can see that it is rendered slightly different.
,
Mar 6 2017
Talked w/ ajuma@, turns out there are three things at play here: 1. There was a visible rect bug that is fixed later, that explains the bouncing around when scrolling. 2. On compositor thread, image-mask is applied after blur filter (with expanded rect), while on main thread (and other browsers) image-mask is applied before blur filter. 3. The difference in the last row of stars is because of how we scale while raster. It is visible when we turn off both image-mask and filter, and the picture is a 2 by 2 image, scaled to fill the diff, and that looks different.
,
Apr 24 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by weiliangc@chromium.org
, Mar 6 2017Owner: ajuma@chromium.org
Status: Assigned (was: Untriaged)