From f16f88b779f802bb3c9892e6f1275fe980e956a1 Mon Sep 17 00:00:00 2001 From: joshualitt Date: Wed, 2 Dec 2015 13:00:37 -0800 Subject: Create a define for nanobench builds to dump stats TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1499453002 --- include/gpu/GrConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h index 86f69bd1c8..ffacb93911 100644 --- a/include/gpu/GrConfig.h +++ b/include/gpu/GrConfig.h @@ -33,7 +33,7 @@ */ #if !defined(GR_CACHE_STATS) - #ifdef SK_DEVELOPER + #if defined(SK_DEVELOPER) || defined(SK_DUMP_STATS) #define GR_CACHE_STATS 1 #else #define GR_CACHE_STATS 0 @@ -41,7 +41,7 @@ #endif #if !defined(GR_GPU_STATS) - #ifdef SK_DEVELOPER + #if defined(SK_DEVELOPER) || defined(SK_DUMP_STATS) #define GR_GPU_STATS 1 #else #define GR_GPU_STATS 0 -- cgit v1.2.3