commit | b3a39b5b017eeb8a37ce5cb29c6e9b00d649d11b | [log] [tgz] |
---|---|---|
author | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jan 05 18:28:56 2012 +0000 |
committer | senorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Jan 05 18:28:56 2012 +0000 |
tree | 46e1cc8fde956a498d23fc956a30a4cf7958a1a0 | |
parent | a682b93736fb853f9d758de9a871d785c2805583 [diff] |
When applying a color matrix, unpremultiply the source, and premultiply the result. If the input color is missing, set to all-zeros or all-ones as appropriate. Add an alpha test case to the colormatrix GM. Review URL: http://codereview.appspot.com/5520046/ git-svn-id: http://skia.googlecode.com/svn/trunk@2974 2bbb7eff-a529-9590-31e7-b0007b416f81