Put back the 0.5 bias in the shader. Only adjust the radii for the geometry, not...
authorbrianosman <brianosman@google.com>
Fri, 12 Feb 2016 18:20:00 +0000 (10:20 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 12 Feb 2016 18:20:01 +0000 (10:20 -0800)
commitc6052ac41a704cc64f16c49780a8fd05c7f550d4
tree436d4c35f3ef406bfde05f7a03fa1fb807b08425
parentde8e54ccfd54db927b53cb86213ed7020a59d1e1
Put back the 0.5 bias in the shader. Only adjust the radii for the geometry, not the radii constants.

After working through this with Jim, this is more mathematically correct, and also accounts for the inner radius.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1692683003

Review URL: https://codereview.chromium.org/1692683003
src/gpu/GrOvalRenderer.cpp