commit | 57263c2e0ccddf4dd62814c427a39d9d615acbe5 | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Thu Jan 17 15:52:33 2019 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Jan 17 21:18:52 2019 +0000 |
tree | 1276cb50e72fcc3bd1a224782aee202b37660fac | |
parent | d4fdf78475a195ad1b83a5f51ad8d923f0150a33 [diff] |
Add compressed data support for SkImage. Adds a new SkImage::MakeFromCompressed method which takes raw data, a size, and a compression method, and returns a GPU-backed image. Bug: skia:8684 Change-Id: I570c9dafce283bcd64dfbef4fbe1c4bfeac6ce2a Reviewed-on: https://skia-review.googlesource.com/c/184484 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>