diff options
author | 2012-08-22 10:57:05 +0000 | |
---|---|---|
committer | 2012-08-22 10:57:05 +0000 | |
commit | 5f9f2f574fe9b195f5f3e40edeb2e28b673511fd (patch) | |
tree | bd72c6a33791bbb30d46483a68e3bc2e10c66fbd /src/gpu/GrContext.cpp | |
parent | 936fb954db7bc4c3212a4a104d747b07f496c82a (diff) |
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
Diffstat (limited to 'src/gpu/GrContext.cpp')
-rw-r--r-- | src/gpu/GrContext.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp index 49d220f537..b517a54387 100644 --- a/src/gpu/GrContext.cpp +++ b/src/gpu/GrContext.cpp @@ -1899,3 +1899,8 @@ GrTexture* GrContext::applyMorphology(GrTexture* srcTexture, } /////////////////////////////////////////////////////////////////////////////// +#if GR_DEBUG +void GrContext::printCacheStats() const { + fTextureCache->printStats(); +} +#endif |