commit | cd9f55989e680b7f52fa21766dde0ac67ac9911f | [log] [tgz] |
---|---|---|
author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Oct 26 19:37:00 2012 +0000 |
committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Fri Oct 26 19:37:00 2012 +0000 |
tree | 8c8c4baca3cf32f2a4fd4104d52c10189a06209d | |
parent | a76de72a6036da0a6b051b14411b80941971f881 [diff] |
Add a factory Create function for SkColorFilterImageFilter, and move the matrix optimization there. This will allow the Chrome compositor to extract the optimized matrix, and potentially apply the color matrix itself, saving a buffer allocation & draw. Review URL: https://codereview.appspot.com/6739057 git-svn-id: http://skia.googlecode.com/svn/trunk@6152 2bbb7eff-a529-9590-31e7-b0007b416f81