diff options
| author | Yuqian Li <liyuqian@google.com> | 2017-09-25 11:18:08 -0400 |
|---|---|---|
| committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-25 18:56:10 +0000 |
| commit | f60c1a3ef905dc034dfcc91267fea382f77acea6 (patch) | |
| tree | 1d70ea45a01b917ab4e091102656efcf7dfc8f11 /samplecode/SampleApp.cpp | |
| parent | 29bf84f08a3716ae672dc06c237fc259fccbd136 (diff) | |
Reland blitFatAntiRect with guard to avoid overhead in MaskAdditiveBlitter
This results in ~15% (~700ns vs ~600ns) speedup for
path_fill_small_rect bench in 8888 config. Some skps have a lot of stroked
horizontal/vertical lines (e.g., bar charts) so this improvement could
have a great impact there. For example, cereal converts Microsoft word docx
to PNGs on server and the sample docx has a big bar chart. That inspired
this improvement.
Bug: skia:
Change-Id: If191b8beca58c5c08b356b64ffef93d51761fd0a
Reviewed-on: https://skia-review.googlesource.com/50043
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'samplecode/SampleApp.cpp')
0 files changed, 0 insertions, 0 deletions
