commit | e8354b276a25ad7c004f3f5d208d6c93e8f2fa06 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@google.com> | Fri Nov 02 14:23:45 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Nov 02 19:28:57 2018 +0000 |
tree | c12eedaecb958f8e0418da9eb5149dabd3826d82 | |
parent | ab350ca7302303b4e05320453b39636c0a4219b6 [diff] |
DeMorgan's blend-on-black logic I kept reading and re-reading the existing logic and couldn't figure it out until I looked at the AlphaOption enum. I think this direction reads a bit more clearly. (This is why we have those ->premul methods. Oddly, we fail for 4444.) Change-Id: I74ea2e380d5ab9526ea1e6412929346ad9c0ead6 Reviewed-on: https://skia-review.googlesource.com/c/167921 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@google.com>