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

Side by Side 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: Add zlib dep to gyp and remove MOZ_Z prefix per crrev.com/74975 Created 9 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « printing/printing.gyp ('k') | skia/ext/vector_platform_device_skia.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 The Android Open Source Project 2 * Copyright (C) 2006 The Android Open Source Project
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at 6 * You may obtain a copy of the License at
7 * 7 *
8 * http://www.apache.org/licenses/LICENSE-2.0 8 * http://www.apache.org/licenses/LICENSE-2.0
9 * 9 *
10 * Unless required by applicable law or agreed to in writing, software 10 * Unless required by applicable law or agreed to in writing, software
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 not, define this to the appropriate type. 106 not, define this to the appropriate type.
107 */ 107 */
108 //#define SkLONGLONG int64_t 108 //#define SkLONGLONG int64_t
109 109
110 110
111 /* Some envorinments do not suport writable globals (eek!). If yours does not, 111 /* Some envorinments do not suport writable globals (eek!). If yours does not,
112 define this flag. 112 define this flag.
113 */ 113 */
114 //#define SK_USE_RUNTIME_GLOBALS 114 //#define SK_USE_RUNTIME_GLOBALS
115 115
116 /* If zlib is available and you want to support the flate compression
117 algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the
118 include path.
119 */
120 //#define SK_ZLIB_INCLUDE <zlib.h>
121 #if defined(USE_SYSTEM_ZLIB)
122 #define SK_ZLIB_INCLUDE <zlib.h>
123 #else
124 #define SK_ZLIB_INCLUDE "third_party/zlib/zlib.h"
125 #endif
126
127 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow
128 them, but modern PDF interpreters should handle them just fine.
129 */
130 //#define SK_ALLOW_LARGE_PDF_SCALARS
131
132 /* Define this to remove dimension checks on bitmaps. Not all blits will be
133 correct yet, so this is mostly for debugging the implementation.
134 */
135 //#define SK_ALLOW_OVER_32K_BITMAPS
136
116 137
117 /* To write debug messages to a console, skia will call SkDebugf(...) following 138 /* To write debug messages to a console, skia will call SkDebugf(...) following
118 printf conventions (e.g. const char* format, ...). If you want to redirect 139 printf conventions (e.g. const char* format, ...). If you want to redirect
119 this to something other than printf, define yours here 140 this to something other than printf, define yours here
120 */ 141 */
121 //#define SkDebugf(...) MyFunction(__VA_ARGS__) 142 //#define SkDebugf(...) MyFunction(__VA_ARGS__)
122 143
123 144
124 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST 145 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST
125 which will run additional self-tests at startup. These can take a long time, 146 which will run additional self-tests at startup. These can take a long time,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 #endif 225 #endif
205 226
206 // The default crash macro writes to badbeef which can cause some strange 227 // The default crash macro writes to badbeef which can cause some strange
207 // problems. Instead, pipe this through to the logging function as a fatal 228 // problems. Instead, pipe this through to the logging function as a fatal
208 // assertion. 229 // assertion.
209 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH") 230 #define SK_CRASH() SkDebugf_FileLine(__FILE__, __LINE__, true, "SK_CRASH")
210 231
211 // ===== End Chrome-specific definitions ===== 232 // ===== End Chrome-specific definitions =====
212 233
213 #endif 234 #endif
OLDNEW
« no previous file with comments | « printing/printing.gyp ('k') | skia/ext/vector_platform_device_skia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698