commit | 6ea454313e099cb68ea91d31ef8f2f54ac4c393c | [log] [tgz] |
---|---|---|
author | xidachen <xidachen@chromium.org> | Thu Jul 21 12:24:14 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jul 21 12:26:09 2016 |
tree | f715f63fa210173149a383583cf3ee7d53ff13b9 | |
parent | 13085d446efc3b8cd2c26338738c04a7516953a8 [diff] |
Change filter quality when scaling-down in drawImage When calling drawImage with imageSmoothingEnabled = false, we use nearest neighbor as the filter. In the spec, it doesn't specify that we need to use nearest neighbor when scaling down, so this CL changes to use kLow_FitlerQuality when scaling down. BUG=269089 Review-Url: https://codereview.chromium.org/2157953002 Cr-Commit-Position: refs/heads/master@{#406824}