Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index 7621f8b8265b158cfda2b877bd447aab3fdbd064..b715640108a60de25d01c9583801469f0a84ac8d 100644 |
--- a/include/gpu/GrContext.h |
+++ b/include/gpu/GrContext.h |
@@ -330,12 +330,16 @@ public: |
// Called by tests that draw directly to the context via GrDrawTarget |
void getTestTarget(GrTestTarget*, GrRenderTarget* rt); |
+ /** Reset GPU stats */ |
+ void resetGpuStats() const ; |
+ |
/** Prints cache stats to the string if GR_CACHE_STATS == 1. */ |
void dumpCacheStats(SkString*) const; |
void printCacheStats() const; |
/** Prints GPU stats to the string if GR_GPU_STATS == 1. */ |
void dumpGpuStats(SkString*) const; |
+ void dumpGpuStatsKeyValuePairs(SkTArray<SkString>* names, SkTArray<double>* values) const; |
void printGpuStats() const; |
/** Specify the TextBlob cache limit. If the current cache exceeds this limit it will purge. |