commit | e499adf328bd7fc15a755325749f54c2b7e71f54 | [log] [tgz] |
---|---|---|
author | jvanverth <jvanverth@google.com> | Wed Jul 20 12:22:14 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 20 12:22:14 2016 -0700 |
tree | 9623dc9680fb25ca8d4c32fb0dc2bdb4c6766915 | |
parent | 566ea9b9fc6746ffad390a4029e56d985eb2aec8 [diff] |
Use dFdx in Vulkan to address distance field issues. On Nexus Player and occasionally Nexus 5x we get transparent boxes around paths. This appears to be because the dFdy call is not as accurate as dFdx, which is the opposite of Mali 400. As Mali 400 is not supported with Vulkan, we can go back to using dFdx in this case. BUG=skia:5523 GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2163213004 Review-Url: https://codereview.chromium.org/2163213004