| commit | 5f9f2f574fe9b195f5f3e40edeb2e28b673511fd | [log] [tgz] |
|---|---|---|
| author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Aug 22 10:57:05 2012 +0000 |
| committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Aug 22 10:57:05 2012 +0000 |
| tree | bd72c6a33791bbb30d46483a68e3bc2e10c66fbd | |
| parent | 936fb954db7bc4c3212a4a104d747b07f496c82a [diff] [blame] |
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