| Index: include/core/SkGraphics.h
|
| diff --git a/include/core/SkGraphics.h b/include/core/SkGraphics.h
|
| index 8d804b37053257760e9de2c3d7a1c0853df8ac58..8e8bd77ef4545048bb3114cb5bf82d3334cdb3f2 100644
|
| --- a/include/core/SkGraphics.h
|
| +++ b/include/core/SkGraphics.h
|
| @@ -12,6 +12,7 @@
|
|
|
| class SkData;
|
| class SkImageGenerator;
|
| +class SkTraceMemoryDump;
|
|
|
| class SK_API SkGraphics {
|
| public:
|
| @@ -115,6 +116,12 @@ public:
|
| static size_t SetResourceCacheSingleAllocationByteLimit(size_t newLimit);
|
|
|
| /**
|
| + * Dumps memory usage of caches using the SkTraceMemoryDump interface. See SkTraceMemoryDump
|
| + * for usage of this method.
|
| + */
|
| + static void DumpMemoryStatistics(SkTraceMemoryDump* dump);
|
| +
|
| + /**
|
| * Applications with command line options may pass optional state, such
|
| * as cache sizes, here, for instance:
|
| * font-cache-limit=12345678
|
|
|