summaryrefslogtreecommitdiff
path: root/skia
diff options
context:
space:
mode:
authorcaryclark <caryclark@google.com>2016-06-29 07:10:49 -0700
committerCommit bot <commit-bot@chromium.org>2016-06-29 07:10:50 -0700
commite89391e2cbec0788d39985df9c0967dd467cbfa8 (patch)
tree1c6c94fb35fb6a0bc16a165761b3340c97e0f4b5 /skia
parent0efab9428fe9fe0a1af4f8eba9fabb78b1eee44a (diff)
downloadpdfium-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 'skia')
0 files changed, 0 insertions, 0 deletions