aboutsummaryrefslogtreecommitdiff
path: root/samplecode/SampleApp.cpp
diff options
context:
space:
mode:
authorYuqian Li <liyuqian@google.com>2017-09-25 11:18:08 -0400
committerSkia Commit-Bot <skia-commit-bot@chromium.org>2017-09-25 18:56:10 +0000
commitf60c1a3ef905dc034dfcc91267fea382f77acea6 (patch)
tree1d70ea45a01b917ab4e091102656efcf7dfc8f11 /samplecode/SampleApp.cpp
parent29bf84f08a3716ae672dc06c237fc259fccbd136 (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