DescriptionRework 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
Committed: https://pdfium.googlesource.com/pdfium/+/e6a5138ec89a1235bf426fd19a0e4f61dfeafca0
Patch Set 1 #
Total comments: 3
Patch Set 2 : Fix if-nesting. #Patch Set 3 : Restore pause between layers #Patch Set 4 : Process partially-parsed layers. #Patch Set 5 : Style points. #
Total comments: 1
Patch Set 6 : EstimateProgress() and hence m_ObjectIndex unused. #Patch Set 7 : Remove CPDF_RenderConfig. #
Messages
Total messages: 13 (7 generated)
|