diff options
author | caryclark <caryclark@google.com> | 2016-06-29 07:10:49 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-06-29 07:10:50 -0700 |
commit | e89391e2cbec0788d39985df9c0967dd467cbfa8 (patch) | |
tree | 1c6c94fb35fb6a0bc16a165761b3340c97e0f4b5 /tools | |
parent | 0efab9428fe9fe0a1af4f8eba9fabb78b1eee44a (diff) | |
download | pdfium-e89391e2cbec0788d39985df9c0967dd467cbfa8.tar.xz |
add 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.
Review-Url: https://codereview.chromium.org/2064753002
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions