commit | c5509955b98daa0643da7fcd7ad356a9aa5a42da | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Wed Apr 04 15:54:55 2018 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Apr 04 20:34:28 2018 +0000 |
tree | b8f9628b518b8efb5c4de5fd566ca4cc10be7b07 | |
parent | 1fda0247a77e5c7af57163750a3f7a04fddffdd5 [diff] |
Add GrBackendTexture accessor to SkImage (take 2) This makes accessing the GPU resource behind an SkImage a lot more typesafe. Additionally, the GrBackendObject is being deprecated so this is the path forward. I split the controversial stuff off into https://skia-review.googlesource.com/c/skia/+/118575 (Add SkImage::setLayout call). Change-Id: I297e72770e8fb360fac7c7cd74f050ae759ae133 Reviewed-on: https://skia-review.googlesource.com/118571 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>