commit | 6c89c34614573797ce63e429229b6f7848df0bb7 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Feb 14 21:48:29 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Feb 14 21:48:29 2014 +0000 |
tree | 2df08f36c986bc11916b79faceb9350d1cd496f2 | |
parent | 9836bc3fdddd51ed050102d03916cc5c7928dcc6 [diff] |
Improved distance field sampling There are two different fixes here. First, it computes the distance value properly within the shader. Second, it handles anti-aliasing properly by doing a correction based on the gradient of the texture coordinates. R=bsalomon@google.com, reed@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/149853002 git-svn-id: http://skia.googlecode.com/svn/trunk@13461 2bbb7eff-a529-9590-31e7-b0007b416f81