diff options
author | Jim Van Verth <jvanverth@google.com> | 2017-10-20 12:14:22 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-20 17:42:56 +0000 |
commit | 328a33fc7abd9b6de99409a9b6e44c5c372609d5 (patch) | |
tree | c880852580992cb04ed0ae00bef4027484e0d451 /tools/skpbench | |
parent | 36f182faa77ae9715d63e505ac573c8450e5ca90 (diff) |
Use uint16_t instead of SkIPoint16 when clipping texCoords for text.
The texCoords and texture indices are packed into two uint16_t, so that
should be used instead of SkIPoint16 for clipping. This CL also cleans up
the clipping code a little, and keeps everything in int arithmetic
(since the positions and coords are pixel/texel aligned).
Bug: skia:6990
Change-Id: I9a237f7df32467adb6a56ddeca6352cbd4f8dd6f
Reviewed-on: https://skia-review.googlesource.com/62360
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'tools/skpbench')
0 files changed, 0 insertions, 0 deletions