| commit | 03e3e89641c93df603dfb705d518848dfe81427e | [log] [tgz] |
|---|---|---|
| author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 02 18:19:17 2013 +0000 |
| committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Oct 02 18:19:17 2013 +0000 |
| tree | 58f092086627ef6a39c933b716808869e9295c38 | |
| parent | aaf3e64b2c867dff1b750cebdeff9e57784b8f22 [diff] [blame] |
Add support to dump font cache texture for debug purposes R=robertphillips@google.com, bsalomon@google.com Author: jvanverth@google.com Review URL: https://codereview.chromium.org/25736002 git-svn-id: http://skia.googlecode.com/svn/trunk@11579 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/render_pictures_main.cpp b/tools/render_pictures_main.cpp index bf82831..70bc221 100644 --- a/tools/render_pictures_main.cpp +++ b/tools/render_pictures_main.cpp
@@ -440,8 +440,10 @@ #if GR_CACHE_STATS if (renderer->isUsingGpuDevice()) { GrContext* ctx = renderer->getGrContext(); - ctx->printCacheStats(); +#ifdef SK_DEVELOPER + ctx->dumpFontCache(); +#endif } #endif #endif