commit | 58c3cce1144f83bc7e4ee5e93931b8721560735b | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Thu Oct 19 15:50:24 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Oct 20 12:28:05 2017 +0000 |
tree | 99815dd93f58c6a14ea9952b176e5a04a6b26653 | |
parent | e576d14e5d484116eb261f54c6306e98b6e19b2e [diff] |
Clip text geometrically when possible. Currently when we clip text we can't batch the clipped text with non-clipped text. By modifying the quads and texCoords we can produce the same effect, and allow batching. Includes some minor text code cleanup. Bug: skia:6990 Change-Id: Ibfd4bc2fdc2d7680071e2abddd4d77fc3017e3d3 Reviewed-on: https://skia-review.googlesource.com/60780 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>