commit | 3d6390e7bb1cc70054dec766a5440272e8a6eaa1 | [log] [tgz] |
---|---|---|
author | Michael Ludwig <michaelludwig@google.com> | Tue Oct 09 11:45:16 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Oct 09 18:56:01 2018 +0000 |
tree | 22ab8edeefc31738c65b1302788e13750299301d | |
parent | 8e738a229329579f8643af1c6bba56c0c51eac2f [diff] |
Convert drawPaint to scissor+clear when possible Preliminary performance results: https://docs.google.com/a/google.com/spreadsheets/d/e/2PACX-1vSj_25UFcGzOPTvQgVNt3LPt5dukCgFlUc4dBpdx829mpXfss725aJH1P6CIQdyud4pkC15-tDOGNgW/pubchart?oid=1628959976&format=interactive With a little extra fixed overhead to detect scissor+clear (visible in increased time on clear-complex), the clear-partial bench is 10X improved. Caveat: test results only on single linux desktop. Bug: skia: Change-Id: I320e7be7eafdbf5c03eabbd87ab9e99421f2deba Reviewed-on: https://skia-review.googlesource.com/c/160768 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Michael Ludwig <michaelludwig@google.com>