commit | 83b1b3db36e8622f4bbc8c391d5c714e258d1e03 | [log] [tgz] |
---|---|---|
author | Brian Osman <brianosman@google.com> | Mon May 08 15:16:45 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon May 08 19:56:27 2017 +0000 |
tree | 95c4bf6e53bc73f90373fa06dbf6afa8298420e5 | |
parent | aef837a542cd91fba46bc0b3d4571a598710b90e [diff] |
Added SkImage::MakeCrossContextFromEncoded Designed for Flutter's threading architecture, with an eye to being useful to other clients. Under the hood, uses a new image generator class to lazily wrap a texture for multiple GrContexts. Bug: skia: Change-Id: I6c37b12c8ab5bce94b91190e5f0beb91d31ae81b Reviewed-on: https://skia-review.googlesource.com/14180 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>