commit | c326aaf134f4ee8067bbe41742580307dd4d5a72 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Fri Aug 02 10:20:31 2019 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Aug 02 17:44:04 2019 +0000 |
tree | c40e7c6fd7f1e88c399be3549df242b17d01c3d9 | |
parent | b2e3c649ef445ddf7b06db74a5af90ca76807ad0 [diff] |
Increase specificity of GrColorType computed for YUV planes When a single channel texture is used for a YUV channel we will interpret it as kGray_8. When a single channel texture is used as an A channel we will interpret it as kAlpha_8. Change-Id: I746f8d761d7779266a4106311a93d651266bb422 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/232017 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>