commit | af96fce87937aba4aa5d394ee6316ba790308490 | [log] [tgz] |
---|---|---|
author | ericrk <ericrk@chromium.org> | Mon Oct 19 14:41:11 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Oct 19 14:41:11 2015 -0700 |
tree | d58a842fdf7df8f29f54fbd8aa622f4afcc672a2 | |
parent | deb8146fac665d78f9a1fe745389807d69a79142 [diff] |
The SkArithmeticMode_gpu GL filters support clamping to valid premultiplied colors, however the flag for whether or not to do this, which is present in their parent filters, is dropped when creating the GL implementations. This change adds logic to forward the value from the parent filter to the GL implementation. This makes GPU behavior match software and fixes a WebKit LayoutTest. See referenced bug. BUG=473186 Review URL: https://codereview.chromium.org/1410553002