Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 962b397c3fd8a1ac89c8a7e8e6675d6ea8cb5e66..d250173f6f0063f7147d3813aec0f35c425a8c8c 100755 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -1957,3 +1957,10 @@ void GrContext::printCacheStats() const { |
fResourceCache->printStats(); |
} |
#endif |
+ |
+#if GR_GPU_STATS |
+const GrContext::GPUStats& GrContext::gpuStats() const { |
+ return fGpu->gpuStats(); |
+} |
+#endif |
+ |