commit | 98d3375b3656e840698c947454b8efc94c27ddf5 | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Fri Aug 03 15:59:46 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Aug 06 14:47:18 2018 +0000 |
tree | 6f2c53a1df60fd281f8e7bad90255e883965704d | |
parent | b948572c7862214fe2e1fa6cdfcab4fc7b1666ac [diff] |
More SkOffsetSimplePolygon optimizations. * Count edges and prealloc array * Use first offset for reflex testing rather than recomputing * Construct list pointers in edge setup array Bug: skia: Change-Id: I61a2a6de28a419157c6dad997b0dde0a7999b89e Reviewed-on: https://skia-review.googlesource.com/145372 Reviewed-by: Robert Phillips <robertphillips@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>