commit | 7b5e5536a18123f568afca99dc8f89019eab2c77 | [log] [tgz] |
---|---|---|
author | scroggo <scroggo@google.com> | Thu Feb 04 06:14:24 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Feb 04 06:14:24 2016 -0800 |
tree | fa3564d9cb1b551c8727c78b0f06dc48ffbb174b | |
parent | bf536af15f4c176d3bef65b77b7592718bfd9068 [diff] |
Add SkAndroidCodec::getPixels This is a synonym for the version of getAndroidPixels that accepts only three parameters (i.e. no AndroidOptions). It is very similar to SkCodec::getPixels, so I think the motivation for naming the version with options differently does not apply here. Add comments to the header describing defaults. Update the test to use a template, and delete a lot of redundant code. Rename a variable to stop shadowing another variable. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1647153002 Review URL: https://codereview.chromium.org/1647153002