commit | ca76c55d60dfe041e30e210d41fa0feb7fb54a1f | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Wed Jun 04 08:21:01 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jun 04 08:21:01 2014 -0700 |
tree | 5cc7e631d077148d564c2b62a396630df0eb8a8b | |
parent | 2583b6257fea931c31c6b3b75cc583106335ad90 [diff] |
Use Identity matrix for SkTransparentShader. The SkTransparentShader is just a placeholder that should not actually be used, so its CTM is not meaningful. However, it needs to be invertible in order to not assert in SkShader::Context's constructor. So use SkMatrix::I(). This fixes a CTS test on Android. R=reed@google.com Author: scroggo@google.com Review URL: https://codereview.chromium.org/315743003