commit | 9df70bb74db8294283e8d2d8e20c95d290d2a34d | [log] [tgz] |
---|---|---|
author | Matt Sarett <msarett@google.com> | Tue Feb 14 13:50:43 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Feb 14 21:32:10 2017 +0000 |
tree | 47f70a2a36d254599db76e77cb6c93a31b895b7d | |
parent | 6f449692c148c6b36d65c4bfa2941e3b09e25c38 [diff] |
Picture backed images must have a bit depth and color space Enforce that picture backed images created by the public API must have a non-null SkColorSpace. SkPictureShader uses a private call to get around this restriction. BUG=skia: Change-Id: I2fc11a8ffe583035d09e83abf40b827fbf575321 Reviewed-on: https://skia-review.googlesource.com/8415 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Matt Sarett <msarett@google.com>