Issue metadata
Sign in to add a comment
|
CSS conic-gradient the edges are blurred
Reported by
yio...@gmail.com,
Apr 7 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36 Steps to reproduce the problem: 1. Use background: repeating-conic-gradient(#000 0, #000 15deg, #fff 0, #fff 30deg); What is the expected behavior? Like the SVG rendering. What went wrong? The edges are blurred. Did this work before? N/A Chrome version: 59.0.3065.0 Channel: canary OS Version: OS X 10.11.6 Flash Version: Shockwave Flash 25.0 r0
,
Apr 7 2017
Issue 709331 has been merged into this issue.
,
Apr 7 2017
Issue 709329 has been merged into this issue.
,
Apr 7 2017
Issue 709328 has been merged into this issue.
,
Apr 7 2017
,
Apr 7 2017
Unable to reproduce the issue on the latest canary(59.0.3065.0) on MacBook Air OS 10.12.3. Attached is the screenshot. Not sure, but if reproducible this looks to be specific to 10.11.6.
,
Apr 7 2017
@ajha you need to run with --enable-experimental-web-platform-features, otherwise you're hitting Lea's polyfill on https://leaverou.github.io/conic-gradient/. This is a Skia rendering artifact (for the GL backend specifically; the software backend has its own issues). @yiorsi@gmail.com just to confirm: your chrome://gpu/ shows "Rasterization: Hardware accelerated on all pages", right? I'll open a Skia bug.
,
Apr 7 2017
Same issue. > just to confirm: your chrome://gpu/ shows "Rasterization: Hardware accelerated on all pages", right? yes
,
Apr 7 2017
,
Apr 7 2017
,
Apr 7 2017
@fmalita The default chrome://gpu/ shows "Rasterization: Hardware accelerated" When I disabled chrome://flags/#enable-gpu-rasterization, display effects such as sweep_cpu.png
,
Apr 7 2017
,
Apr 7 2017
@fmalita Thanks, and also has transparent Alpha problem
,
Apr 7 2017
@yiorsi@gmail.com (I have not yet looked at the alpha difference very closely, it could be a valid issue) Note that one of the stated limitations of Lea's polyfill is that interpolation is not performed in premultiplied space. So the reference result you're using is likely not correct either.
,
Apr 7 2017
Comparing to a linear gradient using the same colors: the new/native impl is correct and the difference you're seeing is due to the premul limitation in the conic polyfill.
,
Apr 7 2017
Thanks very much!
,
Apr 9 2017
This is a better example for demonstrating this issue: http://dabblet.com/gist/51d6d879542fa5dc32376dd6b3f2585d
,
Oct 16 2017
There have been several improvements in Skia's gradient impl, and I believe these cases are now rendering with sharp transitions on both sw/gpu. But the general case (multiple, uneven stops) is still blurry with GPU rasterization. Merging into the master bug. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by alancutter@chromium.org
, Apr 7 2017Components: Blink>Paint