commit | 6d342285a4546b54cb17570aae7eeb8a123c81ae | [log] [tgz] |
---|---|---|
author | Eric Karl <ericrk@chromium.org> | Wed May 03 17:08:42 2017 -0700 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri May 05 21:07:51 2017 +0000 |
tree | 6b43170dabb28a38f699edc67eedf21738c4bcb8 | |
parent | 8d1e0ac9989c4caa537930e352bfc2dfe375c69b [diff] |
Allow custom GrAtlasGlyphCache texture sizes A single glyph cache size doesn't make sense across the hardware Skia runs on. This change allows a custom size to be specified (via a byte limit), allowing cache size to be customized at context creation time. Bug: 717178 Change-Id: I4f7baddd1897b2eac4f6d6e4fff1f805e1cdd250 Reviewed-on: https://skia-review.googlesource.com/15135 Reviewed-by: Jim Van Verth <jvanverth@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>