commit | e74c77685dff0cd0fcad8e9742310aab73884b98 | [log] [tgz] |
---|---|---|
author | Herb Derby <herb@google.com> | Wed Dec 04 14:15:41 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Dec 04 21:17:20 2019 +0000 |
tree | f1761642e33617d305b6e4ed1391f2bccd3b8b2f | |
parent | 7a671982cd89e605159bacb81b653da2d086490c [diff] |
Specialize vertex size for GrTextBlob The old code assumes a conservative size for vertices of 20 bytes, but this only happens in perspective or strange DFT modes. This can be reduced to 16 bytes in the non-perspective case a savings of 20% Change-Id: Ife7e7cc4bd00798f173c5390c3100605908e6276 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257923 Commit-Queue: Herb Derby <herb@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>