commit | d10913b8a9c2a3bebd76f30aac5a228079455315 | [log] [tgz] |
---|---|---|
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Mar 06 19:10:44 2014 +0000 |
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Mar 06 19:10:44 2014 +0000 |
tree | 2aac46ecf04545d7edce4f40a652ae0161e4c041 | |
parent | 0015df93b3a583d05e1ff4a0dc548be6d4f20d25 [diff] |
Avoid recomputing two consecutive identical 1D filters. If the arguments to the X and Y filter computation are identical, the results will be identical; copying is much faster than recomputing. With a change like https://codereview.chromium.org/183763047/ applied this speeds up BitmapScaleBench on Linux by around 10%. BUG=skia:2236 R=humper@google.com, tomhudson@google.com Author: tomhudson@chromium.org Review URL: https://codereview.chromium.org/188743002 git-svn-id: http://skia.googlecode.com/svn/trunk@13687 2bbb7eff-a529-9590-31e7-b0007b416f81