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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/tests.gyp ('k') | include/core/SkGraphics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/config/SkUserConfig.h
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index 63fc90db7203f18682a80e7b200e51bd5bf57ef0..64263e2d8342b5a233f61fcead7e7ca416386d4d 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -122,6 +122,13 @@
*/
//#define SK_DEFAULT_FONT_CACHE_LIMIT (1024 * 1024)
+/*
+ * To specify the default size of the image cache, undefine this and set it to
+ * the desired value (in bytes). SkGraphics.h as a runtime API to set this
+ * value as well. If this is undefined, a built-in value will be used.
+ */
+//#define SK_DEFAULT_IMAGE_CACHE_LIMIT (1024 * 1024)
+
/* If defined, use CoreText instead of ATSUI on OS X.
*/
//#define SK_USE_MAC_CORE_TEXT
« 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