aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/expectations/skp
diff options
context:
space:
mode:
authorGravatar Leon Scroggins III <scroggo@google.com>2017-04-12 10:49:52 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-04-12 15:22:43 +0000
commite132e7be5f9108692254c37db592ea7611abbc15 (patch)
tree44e7973680edc107da087f71d41619dd3aea178e /experimental/expectations/skp
parente5efa51b2acc86d1993132348d5b465855a653cc (diff)
Add SkCodec methods for individual frames
Add a version of getFrameInfo that returns information about a single frame, allowing a client to skip creating the entire vector. Add getFrameCount, for determining the number of frames in the image. Reimplement std::vector<FrameInfo> getFrameInfo with the new methods. Updates to the test: - getFrameInfo(size_t, FrameInfo*) fails before parsing - Test both versions of getFrameInfo - Recreate the codec between tests, to test parsing Change-Id: I77c19087f2f8dcf2c536d80167b18ad1ca96ae94 Reviewed-on: https://skia-review.googlesource.com/13190 Reviewed-by: Matt Sarett <msarett@google.com> Reviewed-by: Mike Reed <reed@google.com> Reviewed-by: Chris Blume <cblume@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'experimental/expectations/skp')
0 files changed, 0 insertions, 0 deletions