commit | 166726b11792bb2f58624f4250a8599294eb88ba | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 13 14:41:03 2013 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon May 13 14:41:03 2013 +0000 |
tree | c59a92f0800d115629a1af74241e8c4ae1f3cbe6 | |
parent | 63a3f6f5d98711f1d83967ed10e5e972b586ae6e [diff] |
Fix stroked roundrects on Nexus 10. Due to floating point precision errors, using the formula b^2x^2 + a^2y^2 - a^2b^2 doesn't work on the Nexus 10 GPU. Changed to use x^2/a^2 + y^2/b^2 - 1. Addresses issue 1290. R=bsalomon@google.com Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/15039016 git-svn-id: http://skia.googlecode.com/svn/trunk@9110 2bbb7eff-a529-9590-31e7-b0007b416f81