aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/install_dependencies.sh
diff options
context:
space:
mode:
authorGravatar jvanverth <jvanverth@google.com>2015-03-11 11:18:11 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-03-11 11:18:11 -0700
commitcb251f1d0a8aa7f3e6f685b45046173fc05f4b92 (patch)
treea2af4123c0d145bc2e697b22cf53eda0061a29b0 /tools/install_dependencies.sh
parent6ba791f66128ebbe401978103baf7b5ec0ac98cd (diff)
Adjust atlas sizes to fix Mali400 precision issues
The previous change to atlas sizes introduced an issue where texture coordinates for glyphs stored on the right side of the atlas were being computed in an imprecise manner on Mali400 chips. The only reasonable fix appears to be to use power-of-two texture sizes. This widens the glyph atlas to the next power of 2 (or 2048) for A8 glyphs only, and widens each GrPlot by 2x as well. By doing this, we can fit 3-4 large distance field glyphs into a single GrPlot, which gives us 100-128 total large glyphs at one time. The 565 and 8888 glyph atlases are kept in their original size to preserve space. BUG=skia:3523 Review URL: https://codereview.chromium.org/994303003
Diffstat (limited to 'tools/install_dependencies.sh')
0 files changed, 0 insertions, 0 deletions