From e89391e2cbec0788d39985df9c0967dd467cbfa8 Mon Sep 17 00:00:00 2001 From: caryclark Date: Wed, 29 Jun 2016 07:10:49 -0700 Subject: 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 --- core/fxge/skia/DEPS | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/fxge/skia/DEPS') diff --git a/core/fxge/skia/DEPS b/core/fxge/skia/DEPS index 6492756b7e..da24b1efec 100644 --- a/core/fxge/skia/DEPS +++ b/core/fxge/skia/DEPS @@ -1,3 +1,5 @@ include_rules = [ - '+third_party/skia/include' + '+fpdfsdk/include', + '+public', + '+third_party/skia/include', ] -- cgit v1.2.3