diff options
author | Jim Van Verth <jvanverth@google.com> | 2018-07-17 20:22:39 +0000 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-17 20:22:51 +0000 |
commit | 3229e65886a04a33c906d15d10c1bf7e97910109 (patch) | |
tree | 18cd449619d4f2adad195462b7043482bd316467 /bench/BitmapRegionDecoderBench.cpp | |
parent | 5a31a60889a2f87d6b8b658690f1f1ea7adb23ae (diff) |
Revert "Add some optimizations to PolyUtils"
This reverts commit 8bb0db3d07450880d346d808018708416c928657.
Reason for revert: Breaking Google3.
Original change's description:
> Add some optimizations to PolyUtils
>
> * Switch inset/offset code to use a linked list rather than an array
> * Use std::set to store active edge list for IsSimplePolygon rather than array
> * Pre-alloc the priority queue for IsSimplePolygon
> * When adding radial curves, expand the array all at once rather than pushing
> one at a time.
>
> Bug: skia:
> Change-Id: I692f8c29c500c41ec1d1be39d924d8a752676bf4
> Reviewed-on: https://skia-review.googlesource.com/140787
> Reviewed-by: Robert Phillips <robertphillips@google.com>
> Commit-Queue: Jim Van Verth <jvanverth@google.com>
TBR=jvanverth@google.com,bsalomon@google.com,robertphillips@google.com
Change-Id: Ie8afecd899fa9bd79d22fdf46ec82a0c9e94e893
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/141980
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Diffstat (limited to 'bench/BitmapRegionDecoderBench.cpp')
0 files changed, 0 insertions, 0 deletions