commit | cb4d58766668b003fea67798027fc25d84acd059 | [log] [tgz] |
---|---|---|
author | Xianzhu Wang <wangxianzhu@chromium.org> | Fri Sep 15 08:47:43 2017 -0700 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Sep 15 17:15:54 2017 +0000 |
tree | eec0c5a9e9505eb9db73721dfa74cfea59b0e4d9 | |
parent | ad70c41f678771f889449c296a8ab48640742050 [diff] |
Fix SkImageSource::filterBounds() Previously SkImageSource::filterBounds() uses the default SkImageFilter::onFilterNodeBounds() which returns the input rect. Now override onFilterNodeBounds() in SkImageSource to return src or dst rect (with transform applied). Change-Id: I6681e1ba97affb09ef1ca5bc03b3d0f66c10f149 Reviewed-on: https://skia-review.googlesource.com/46741 Commit-Queue: Mike Reed <reed@google.com> Reviewed-by: Mike Reed <reed@google.com>