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

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

Issue 20005003: add scaledimagecache (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 | « gyp/tests.gyp ('k') | include/core/SkGraphics.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 /* 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 this to something other than printf, define yours here 115 this to something other than printf, define yours here
116 */ 116 */
117 //#define SkDebugf(...) MyFunction(__VA_ARGS__) 117 //#define SkDebugf(...) MyFunction(__VA_ARGS__)
118 118
119 /* 119 /*
120 * To specify a different default font cache limit, define this. If this is 120 * To specify a different default font cache limit, define this. If this is
121 * undefined, skia will use a built-in value. 121 * undefined, skia will use a built-in value.
122 */ 122 */
123 //#define SK_DEFAULT_FONT_CACHE_LIMIT (1024 * 1024) 123 //#define SK_DEFAULT_FONT_CACHE_LIMIT (1024 * 1024)
124 124
125 /*
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
128 * value as well. If this is undefined, a built-in value will be used.
129 */
130 //#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024)
131
125 /* If defined, use CoreText instead of ATSUI on OS X. 132 /* If defined, use CoreText instead of ATSUI on OS X.
126 */ 133 */
127 //#define SK_USE_MAC_CORE_TEXT 134 //#define SK_USE_MAC_CORE_TEXT
128 135
129 136
130 /* If zlib is available and you want to support the flate compression 137 /* If zlib is available and you want to support the flate compression
131 algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the 138 algorithm (used in PDF generation), define SK_ZLIB_INCLUDE to be the
132 include path. Alternatively, define SK_SYSTEM_ZLIB to use the system zlib 139 include path. Alternatively, define SK_SYSTEM_ZLIB to use the system zlib
133 library specified as "#include <zlib.h>". 140 library specified as "#include <zlib.h>".
134 */ 141 */
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 /* Determines whether to build code that supports the GPU backend. Some classes 202 /* Determines whether to build code that supports the GPU backend. Some classes
196 that are not GPU-specific, such as SkShader subclasses, have optional code 203 that are not GPU-specific, such as SkShader subclasses, have optional code
197 that is used allows them to interact with the GPU backend. If you'd like to 204 that is used allows them to interact with the GPU backend. If you'd like to
198 omit this code set SK_SUPPORT_GPU to 0. This also allows you to omit the gpu 205 omit this code set SK_SUPPORT_GPU to 0. This also allows you to omit the gpu
199 directories from your include search path when you're not building the GPU 206 directories from your include search path when you're not building the GPU
200 backend. Defaults to 1 (build the GPU code). 207 backend. Defaults to 1 (build the GPU code).
201 */ 208 */
202 //#define SK_SUPPORT_GPU 1 209 //#define SK_SUPPORT_GPU 1
203 210
204 #endif 211 #endif
OLDNEW
« no previous file with comments | « gyp/tests.gyp ('k') | include/core/SkGraphics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698