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: include/core/SkGraphics.h

Issue 22956004: skia: Added SkDiscardableMemory interface. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 4 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 | « no previous file | src/core/SkDiscardableMemory.h » ('j') | src/core/SkGraphics.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkGraphics.h
diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h
index c87604259077e82486f793d79d1ed66f093d7739..0e589274e2423c52e324406be06a765a511700f2 100644
--- a/include/core/SkGraphics.h
+++ b/include/core/SkGraphics.h
@@ -12,6 +12,8 @@
#include "SkTypes.h"
+class SkDiscardableMemoryFactory;
+
class SK_API SkGraphics {
public:
/**
@@ -64,6 +66,9 @@ public:
static size_t GetImageCacheByteLimit();
static size_t SetImageCacheByteLimit(size_t newLimit);
+ static void SetSkDiscardableMemoryFactory(
scroggo 2013/08/15 14:06:06 Once SetSkDiscardableMemoryFactory does something,
ernstm 2013/08/15 20:26:37 Replaced SkDiscardableMemoryFactory by a factory f
+ SkDiscardableMemoryFactory* factory);
+
/**
* Applications with command line options may pass optional state, such
* as cache sizes, here, for instance:
« no previous file with comments | « no previous file | src/core/SkDiscardableMemory.h » ('j') | src/core/SkGraphics.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698