diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-02-16 09:17:44 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-02-16 09:17:44 -0800 |
commit | e6a5138ec89a1235bf426fd19a0e4f61dfeafca0 (patch) | |
tree | 31594d3399ae18c8299069e8fdce2d34a13ac560 /third_party/libjpeg/fpdfapi_jdcoefct.c | |
parent | 42a1bc02c0810c039afbcb62170c326f0e717320 (diff) | |
download | pdfium-e6a5138ec89a1235bf426fd19a0e4f61dfeafca0.tar.xz |
Rework progressive render loop.
Migrating this off of CFX_PrtList depends on first making
this saner. The tricky part is checking whether new
objects have been added to a partially-parsed layer. The
old code used to do this by keeping track of the last
element in the list, and seeing if it changes. It's far
simpler to keep track of the last element processed, and
just keep looking for more objects after it with each pass.
Fold together some duplicated blocks along the way.
Remove unused EstimateProgress() method.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1699443002 .
Diffstat (limited to 'third_party/libjpeg/fpdfapi_jdcoefct.c')
0 files changed, 0 insertions, 0 deletions