aboutsummaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@chromium.org>2015-12-02 13:00:37 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-12-02 13:00:37 -0800
commitf16f88b779f802bb3c9892e6f1275fe980e956a1 (patch)
treeb21be7e2bb1ad49d2272b449f36aacbd9ed1ccaa /include
parent0711bdbccae72aa011ad5a5cb63284e912bb6f7b (diff)
Create a define for nanobench builds to dump stats
TBR=bsalomon@google.com BUG=skia: Review URL: https://codereview.chromium.org/1499453002
Diffstat (limited to 'include')
-rw-r--r--include/gpu/GrConfig.h4
1 files changed, 2 insertions, 2 deletions
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