Descriptionre-enable skia caching
This permits consecutive path drawing or text drawing to combine
if their graphics state matches. This speeds up rendering considerably
when PDFium draws in many small parts. It also allows discarding
changes to the clip state that have no effect from draw to draw.
All corpus tests draw equivalently with caching enabled or disabled.
Change the member order in CPDF_PageRenderContext so the device is
flushed before the referencing annotation is deleted.
Add more printf style debugging for test draws.
R=dsinclair@chromium.org
Committed: https://pdfium.googlesource.com/pdfium/+/8f875507a986d10335e40a5f7c1679aff9770d0a
Patch Set 1 #Patch Set 2 : wip; caching needs work #Patch Set 3 : wip; still working on cache #Patch Set 4 : wip; still working on cache #Patch Set 5 : cache working #Patch Set 6 : fix skia build #Patch Set 7 : rebase #Patch Set 8 : rebase again #Patch Set 9 : fix mac build #Patch Set 10 : fix cache version for vertical text #Patch Set 11 : fix antialiasing, dashing for cache #
Total comments: 4
Patch Set 12 : fix mac build #Patch Set 13 : remove nullptr #
Messages
Total messages: 23 (17 generated)
|