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

Unified Diff: src/gpu/GrResourceCache2.h

Issue 886233004: Print gpu/cache stats from DM. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: minor Created 5 years, 11 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
Index: src/gpu/GrResourceCache2.h
diff --git a/src/gpu/GrResourceCache2.h b/src/gpu/GrResourceCache2.h
index d5c418238ba480e9bc3017547b144075520b3b9c..109435e07cc65738c867e34dab73ee6c0891ef3a 100644
--- a/src/gpu/GrResourceCache2.h
+++ b/src/gpu/GrResourceCache2.h
@@ -16,6 +16,8 @@
#include "SkTInternalLList.h"
#include "SkTMultiMap.h"
+class SkString;
+
/**
* Manages the lifetime of all GrGpuResource instances.
*
@@ -146,7 +148,7 @@ public:
}
#if GR_GPU_STATS
- void printStats() const;
+ void dumpStats(SkString*) const;
#endif
private:

Powered by Google App Engine
This is Rietveld 408576698