commit | 5b143038cb47763974d2750ed78d436eb6c38bea | [log] [tgz] |
---|---|---|
author | jvanverth <jvanverth@google.com> | Mon Apr 06 11:38:52 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Apr 06 11:38:52 2015 -0700 |
tree | 512a1937181862a2151ed2da8762bdf5e6258a70 | |
parent | 9a27e639481882b59a8ef123e0b69a9a719f08b9 [diff] |
Calculate inverse scale for distance field text in vertex shader This is for the uniform scale case only. Using the dFdx() function on certain Mali GPUs causes issues because the precision is too low, so we have to compute 1/scale from the view matrix instead. BUG=skia:3528 Review URL: https://codereview.chromium.org/1029423003