commit | 8f34372f7e97482e5e61ab298b7edaa008ba2f4c | [log] [tgz] |
---|---|---|
author | reed <reed@google.com> | Thu Aug 13 13:32:39 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Thu Aug 13 13:32:39 2015 -0700 |
tree | 48581497c1bcfb3420c6aba6c6fe27d344f96855 | |
parent | 5a16cf654548190841b5af27af04e7995582ad7b [diff] |
Extend SkImageGenerator to support natively generated GrTextures. As part of this, added uniqueID() to the generator, and made it be in the same namespace is bitmaps, pixelrefs, images. To do this, create SkImageCacherator, which wraps a generator and provides an interface to get a cached answer for either the raster or texture output of the generator. BUG=skia: Review URL: https://codereview.chromium.org/1291803002