commit | 1617899b677050d3db63c3770c406e16501f356c | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Fri Feb 09 17:35:29 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Sat Feb 10 01:00:41 2018 +0000 |
tree | e8aaf4b7503803ce8f18d7e49c103bb4109bb367 | |
parent | e1053eaca2447b79fb878fc7fc54b3767c03bc8b [diff] |
add helper to know when a colortype is always opaque Now that surface creation is more picky about its imageinfo, we need to allow clients to know when they should clean-up their alphatype (like our own gm) Bug: skia: Change-Id: Ic110c75769e0154a8343d7e2160d3351f02cf48f Reviewed-on: https://skia-review.googlesource.com/106320 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>