| Index: include/gpu/GrContext.h
|
| diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
|
| index cb5eb761ed97545de92c79581b66863dcc23184a..08d2ff143c530be3f8840d2cf65c46c90d72a89b 100644
|
| --- a/include/gpu/GrContext.h
|
| +++ b/include/gpu/GrContext.h
|
| @@ -43,6 +43,7 @@ class GrTextureParams;
|
| class GrVertexBuffer;
|
| class GrStrokeInfo;
|
| class GrSoftwarePathRenderer;
|
| +class SkTraceMemoryDump;
|
|
|
| class SK_API GrContext : public SkRefCnt {
|
| public:
|
| @@ -361,6 +362,9 @@ public:
|
| to an array of 3 entries */
|
| void setTextContextAtlasSizes_ForTesting(const GrBatchAtlasConfig* configs);
|
|
|
| + /** Enumerates all cached GPU resources and dumps their memory to traceMemoryDump. */
|
| + void dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const;
|
| +
|
| private:
|
| GrGpu* fGpu;
|
| const GrCaps* fCaps;
|
|
|