commit | 5bbd076c52a6cebff4a2d63edd027b0f31624287 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Mon May 08 11:07:42 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon May 08 15:36:00 2017 +0000 |
tree | 691feeb664b4ef630434d2db0a541b9375e6193c | |
parent | bb33833ed25c30007e4ea3cd3de6df728407f94e [diff] |
SkImage::isValid Lets clients know if an image is drawable to a particular GrContext (or to CPU). Checks for abandoned GrContexts beneath GPU backed images, as well as context mis-match. Bug: skia: Change-Id: Ibe88c7ce8091f965c14f6023a3597be4b70c3f99 Reviewed-on: https://skia-review.googlesource.com/15801 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>