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

Side by Side Diff: include/config/SkUserConfig.h

Issue 19599011: remove dead defines from SkUserConfig.h (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 5 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 | « no previous file | src/core/SkCanvas.cpp » ('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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkUserConfig_DEFINED 10 #ifndef SkUserConfig_DEFINED
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 */ 122 */
123 //#define SK_DEFAULT_FONT_CACHE_LIMIT (1024 * 1024) 123 //#define SK_DEFAULT_FONT_CACHE_LIMIT (1024 * 1024)
124 124
125 /* 125 /*
126 * To specify the default size of the image cache, undefine this and set it to 126 * To specify the default size of the image cache, undefine this and set it to
127 * the desired value (in bytes). SkGraphics.h as a runtime API to set this 127 * the desired value (in bytes). SkGraphics.h as a runtime API to set this
128 * value as well. If this is undefined, a built-in value will be used. 128 * value as well. If this is undefined, a built-in value will be used.
129 */ 129 */
130 //#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024) 130 //#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024)
131 131
132 /* If defined, use CoreText instead of ATSUI on OS X.
133 */
134 //#define SK_USE_MAC_CORE_TEXT
135
136
137 /* If zlib is available and you want to support the flate compression 132 /* If zlib is available and you want to support the flate compression
138 algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the 133 algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the
139 include path. Alternatively, define SK_SYSTEM_ZLIB to use the system zlib 134 include path. Alternatively, define SK_SYSTEM_ZLIB to use the system zlib
140 library specified as "#include <zlib.h>". 135 library specified as "#include <zlib.h>".
141 */ 136 */
142 //#define SK_ZLIB_INCLUDE <zlib.h> 137 //#define SK_ZLIB_INCLUDE <zlib.h>
143 //#define SK_SYSTEM_ZLIB 138 //#define SK_SYSTEM_ZLIB
144 139
145 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow 140 /* Define this to allow PDF scalars above 32k. The PDF/A spec doesn't allow
146 them, but modern PDF interpreters should handle them just fine. 141 them, but modern PDF interpreters should handle them just fine.
147 */ 142 */
148 //#define SK_ALLOW_LARGE_PDF_SCALARS 143 //#define SK_ALLOW_LARGE_PDF_SCALARS
149 144
150 /* Define this to provide font subsetter in PDF generation. 145 /* Define this to provide font subsetter in PDF generation.
151 */ 146 */
152 //#define SK_SFNTLY_SUBSETTER "sfntly/subsetter/font_subsetter.h" 147 //#define SK_SFNTLY_SUBSETTER "sfntly/subsetter/font_subsetter.h"
153 148
154 /* Define this to remove dimension checks on bitmaps. Not all blits will be
155 correct yet, so this is mostly for debugging the implementation.
156 */
157 #define SK_ALLOW_OVER_32K_BITMAPS
158
159 /**
160 * To revert to int-only srcrect behavior in drawBitmapRect(ToRect),
161 * define this symbol.
162 */
163 //#define SK_SUPPORT_INT_SRCRECT_DRAWBITMAPRECT
164
165 /* Define this to set the upper limit for text to support LCD. Values that 149 /* Define this to set the upper limit for text to support LCD. Values that
166 are very large increase the cost in the font cache and draw slower, without 150 are very large increase the cost in the font cache and draw slower, without
167 improving readability. If this is undefined, Skia will use its default 151 improving readability. If this is undefined, Skia will use its default
168 value (e.g. 48) 152 value (e.g. 48)
169 */ 153 */
170 //#define SK_MAX_SIZE_FOR_LCDTEXT 48 154 //#define SK_MAX_SIZE_FOR_LCDTEXT 48
171 155
172 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST 156 /* If SK_DEBUG is defined, then you can optionally define SK_SUPPORT_UNITTEST
173 which will run additional self-tests at startup. These can take a long time, 157 which will run additional self-tests at startup. These can take a long time,
174 so this flag is optional. 158 so this flag is optional.
(...skipping 27 matching lines...) Expand all
202 /* Determines whether to build code that supports the GPU backend. Some classes 186 /* Determines whether to build code that supports the GPU backend. Some classes
203 that are not GPU-specific, such as SkShader subclasses, have optional code 187 that are not GPU-specific, such as SkShader subclasses, have optional code
204 that is used allows them to interact with the GPU backend. If you'd like to 188 that is used allows them to interact with the GPU backend. If you'd like to
205 omit this code set SK_SUPPORT_GPU to 0. This also allows you to omit the gpu 189 omit this code set SK_SUPPORT_GPU to 0. This also allows you to omit the gpu
206 directories from your include search path when you're not building the GPU 190 directories from your include search path when you're not building the GPU
207 backend. Defaults to 1 (build the GPU code). 191 backend. Defaults to 1 (build the GPU code).
208 */ 192 */
209 //#define SK_SUPPORT_GPU 1 193 //#define SK_SUPPORT_GPU 1
210 194
211 #endif 195 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkCanvas.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698