diff options
author | 2015-10-08 12:01:39 -0700 | |
---|---|---|
committer | 2015-10-08 12:01:39 -0700 | |
commit | ab12c2715886e7f04c415028a7db49fb0b1e67f3 (patch) | |
tree | 11fadb9c46bf034ae7824da722aaba77983036b7 /tests/PathOpsCubicLineIntersectionTest.cpp | |
parent | 33366974d43eae80e22284a2e445225c343859da (diff) |
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
Diffstat (limited to 'tests/PathOpsCubicLineIntersectionTest.cpp')
0 files changed, 0 insertions, 0 deletions