From f8a5ef3056619c1a8e7d1108ac3720c97ca8e67d Mon Sep 17 00:00:00 2001 From: caryclark Date: Mon, 4 Apr 2016 12:27:16 -0700 Subject: Support the device font cache Reuse the Skia typeface on sucessive text draw calls. This reduces the SKP size by 100x for some documents. Note that this does not use a smart pointer for the Skia typeface object. The downside of doing so is that it requires all clients that include fx_font.h to also have access to Skia. In this specific case, it is preferable to have a forward declared class to isolate Skia from the rest of PDFium. R=dsinclair,tsepez@chromium.org Review URL: https://codereview.chromium.org/1837113004 --- core/fxge/ge/DEPS | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 core/fxge/ge/DEPS (limited to 'core/fxge/ge/DEPS') diff --git a/core/fxge/ge/DEPS b/core/fxge/ge/DEPS new file mode 100644 index 0000000000..6492756b7e --- /dev/null +++ b/core/fxge/ge/DEPS @@ -0,0 +1,3 @@ +include_rules = [ + '+third_party/skia/include' +] -- cgit v1.2.3