diff options
Diffstat (limited to 'gm/gmmain.cpp')
-rw-r--r-- | gm/gmmain.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/gm/gmmain.cpp b/gm/gmmain.cpp index de9e1a15a0..165c5affb7 100644 --- a/gm/gmmain.cpp +++ b/gm/gmmain.cpp @@ -46,7 +46,6 @@ #ifdef SK_DEBUG static const bool kDebugOnly = true; -#define GR_DUMP_FONT_CACHE 0 #else static const bool kDebugOnly = false; #endif @@ -2409,18 +2408,6 @@ int tool_main(int argc, char** argv) { } #endif -#if GR_DUMP_FONT_CACHE - for (int i = 0; i < configs.count(); i++) { - ConfigData config = gRec[configs[i]]; - - if (kGPU_Backend == config.fBackend) { - GrContext* gr = grFactory->get(config.fGLContextType); - - gr->dumpFontCache(); - } - } -#endif - delete grFactory; #endif SkGraphics::Term(); |