commit | 75d6db7c79f98638966c995fbec655ced7af1622 | [log] [tgz] |
---|---|---|
author | Ben Wagner <bungeman@google.com> | Thu Sep 20 14:39:39 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Sep 20 20:04:28 2018 +0000 |
tree | cc3b0243d3751205a76821c32065f6bfeeee8459 | |
parent | be852e44ef3960445ca35f1ac9e4a67945c05ad8 [diff] |
Properly align inside GrTextBlob. In particular, on 32 bit machines GrTextBlob::Run may have higher alignment requirements than the types which are stored before it in the slab allocation. This sometimes manifests in unaligned access errors when drawing an odd number of glyphs. Change-Id: I6445001b3b3f1401eb53d988efd4cba835a100db Reviewed-on: https://skia-review.googlesource.com/155980 Reviewed-by: Kevin Lubick <kjlubick@google.com> Commit-Queue: Ben Wagner <bungeman@google.com>