Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Unified Diff: skia/config/SkUserConfig.h

Issue 6499024: Connect Skia PDF backend to printing subsystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase to 80514 (but needs Skia rev >= 1059) Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: skia/config/SkUserConfig.h
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h
index d9746b739d92414f1aaf0f37b3c648d7fedbbccc..569a5b510ec94d39c780565008daf0750ad0af93 100644
--- a/skia/config/SkUserConfig.h
+++ b/skia/config/SkUserConfig.h
@@ -113,6 +113,27 @@
*/
//#define SK_USE_RUNTIME_GLOBALS
+/* To enable additional blitters (and fontscaler code) to support separate
Lei Zhang 2011/04/06 20:43:56 Is this change related to this CL?
vandebo (ex-Chrome) 2011/04/06 22:01:37 No, but it resyncs our copy of the config file wit
+ alpha channels for R G B channels, define SK_SUPPORT_LCDTEXT
+ */
+//#define SK_SUPPORT_LCDTEXT
reed1 2011/04/06 21:33:41 I second Lei's question. Commenting this out will
+
+/* If zlib is available and you want to support the flate compression
+ algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the
+ include path.
+ */
+//#define SK_ZLIB_INCLUDE <zlib.h>
+#if defined(USE_SYSTEM_ZLIB)
+#define SK_ZLIB_INCLUDE <zlib.h>
+#else
+#define SK_ZLIB_INCLUDE "third_party/zlib/zlib.h"
+#define MOZ_Z_inflate inflate
+#define MOZ_Z_inflateInit_ inflateInit_
+#define MOZ_Z_inflateEnd inflateEnd
+#define MOZ_Z_deflate deflate
+#define MOZ_Z_deflateInit_ deflateInit_
+#define MOZ_Z_deflateEnd deflateEnd
+#endif
/* To write debug messages to a console, skia will call SkDebugf(...) following
printf conventions (e.g. const char* format, ...). If you want to redirect

Powered by Google App Engine
This is Rietveld 408576698