commit | 669b15a93548b82135c73196665bcb7f03d87795 | [log] [tgz] |
---|---|---|
author | Derek Sollenberger <djsollen@google.com> | Fri Mar 31 12:09:24 2017 -0400 |
committer | Derek Sollenberger <djsollen@google.com> | Tue Apr 04 12:07:28 2017 -0400 |
tree | 7ff6e8179d2ac972db944e94b30f036af659ec52 | |
parent | 3f2bbcbe92cd2500746153ed2378278c1b2a53e2 [diff] |
Fix HWUI/Skia Gradients to premultiply the colors prior to interpolation This is fixed in Skia by passing the appropriate flag when the shader is generated. The fix in HWUI is to reverse the premultiplication and interpolation steps. Test: bit CtsUiRenderingTestCases:.testclasses.ShaderTests Bug: 34323783 Change-Id: I3417141949f62fcc696b6d8213a4b446d7d0cbf8