Descriptionadd local caching for skia draws
PDFium assumes the lowest common denominator
and draws many strings and paths that can
be accumulated.
Defer canvas->restore() calls until required
because the clip changed.
Defer text and path draws as long as subsequent
calls concatenate additional data.
Include debugging switch to allow disabling cache
at compile-time while bugs are shaken out.
Committed: https://pdfium.googlesource.com/pdfium/+/e89391e2cbec0788d39985df9c0967dd467cbfa8
Patch Set 1 #Patch Set 2 : wip; puzzling through save restore logic #Patch Set 3 : wip; working on unit test #Patch Set 4 : wip; more unit tests #Patch Set 5 : wip; more to do on flushing #Patch Set 6 : wip; standardize unit test #Patch Set 7 : wip; working unit tests #Patch Set 8 : fix includes #Patch Set 9 : fix text case #
Total comments: 21
Patch Set 10 : address comments #
Total comments: 4
Messages
Total messages: 20 (8 generated)
|