commit | 495e0f079ced1d2d23368de263f50232eca1ab4a | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Jan 29 19:35:55 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jan 30 18:46:35 2018 +0000 |
tree | d9aaf4b24c48c71e4a71b94cc0ecbaacc8a52772 | |
parent | 4e95956f117f8c188b565e7baefc252085b02653 [diff] |
Simplify SkAnimatedImage Bug: b/63908092 Rather than keeping track of the time and whether the animation is running, leave that up to the client. Offer a single method to decode the next frame, allowing the client to stay one frame ahead. Change-Id: I546013e32e3a0874181b0dce1349bbec07aaadd4 Reviewed-on: https://skia-review.googlesource.com/101544 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>