Added resource cache debug output to help track changes

http://codereview.appspot.com/6463079/



git-svn-id: http://skia.googlecode.com/svn/trunk@5220 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index 49d220f..b517a54 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -1899,3 +1899,8 @@
 }
 
 ///////////////////////////////////////////////////////////////////////////////
+#if GR_DEBUG
+void GrContext::printCacheStats() const {
+    fTextureCache->printStats();
+}
+#endif