skia2/bench/subset
scroggo ab12c27158 Update Subset benches to support interlacing and fix bugs
Instead of decoding one line at a time, if the ScanlineOrder is kNone,
decode all of the lines in one pass, and then copy the subset into the
output. This will allow us to more realistically test subset decodes
for interlaced png. It also makes running them not take forever.

Do *not* support other modes (besides kTopDown), since they are not
used by the big three we need to replace BitmapRegionDecoder
implementation (skbug.com/4428).

Fix a bug in SubsetTranslateBench and SubsetZoomBench:
When we decode another subset, we need to reset the scanline decode
first. This bug appears to have been present since the introduction of
these tests in crrev.com/1160953002

BUG=skia:4205
BUG=skia:3418

Review URL: https://codereview.chromium.org/1387233002
2015-10-08 12:01:39 -07:00
..
SubsetBenchPriv.h Add nanobench tests for BitmapRegionDecoder 2015-09-22 11:56:16 -07:00
SubsetSingleBench.cpp Update Subset benches to support interlacing and fix bugs 2015-10-08 12:01:39 -07:00
SubsetSingleBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00
SubsetTranslateBench.cpp Update Subset benches to support interlacing and fix bugs 2015-10-08 12:01:39 -07:00
SubsetTranslateBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00
SubsetZoomBench.cpp Update Subset benches to support interlacing and fix bugs 2015-10-08 12:01:39 -07:00
SubsetZoomBench.h Remove const from const int loops. 2015-10-01 09:43:39 -07:00