diff options
author | halcanary <halcanary@google.com> | 2016-03-31 07:33:57 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-31 07:33:57 -0700 |
commit | dda239e25b54f4265734c62e2fdc76c872406f28 (patch) | |
tree | 987683b415c32774d78a6c174e1b2ceb1a28c68f /include/config | |
parent | ad5dcd17cd9996a99068601d11df1c27b3652b9a (diff) |
SkPDF: Use Pathops clipping
Turn this on all the time. Remove the SK_PDF_USE_PATHOPS_CLIPPING
define that used to hide this functionality.
All rendering tests are the same or improved by this.
Also, remove non-functional SK_ALLOW_LARGE_PDF_SCALARS.
TBR=reed@google.com
removing dead #defines from SkUserConfig.h
BUG=591805
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1845623002
Review URL: https://codereview.chromium.org/1845623002
Diffstat (limited to 'include/config')
-rw-r--r-- | include/config/SkUserConfig.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h index a3e40ec5db..3022b1fef6 100644 --- a/include/config/SkUserConfig.h +++ b/include/config/SkUserConfig.h @@ -93,11 +93,6 @@ */ //#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024) -/* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow - them, but modern PDF interpreters should handle them just fine. - */ -//#define SK_ALLOW_LARGE_PDF_SCALARS - /* Define this to provide font subsetter in PDF generation. */ //#define SK_SFNTLY_SUBSETTER "sfntly/subsetter/font_subsetter.h" @@ -136,16 +131,6 @@ */ //#define SK_SUPPORT_GPU 1 - -/* The PDF generation code uses Path Ops to handle complex clipping paths, - * but at this time, Path Ops is not release ready yet. So, the code is - * hidden behind this #define guard. If you are feeling adventurous and - * want the latest and greatest PDF generation code, uncomment the #define. - * When Path Ops is release ready, the define guards and this user config - * define should be removed entirely. - */ -//#define SK_PDF_USE_PATHOPS_CLIPPING - /* Skia makes use of histogram logging macros to trace the frequency of * events. By default, Skia provides no-op versions of these macros. * Skia consumers can provide their own definitions of these macros to |