diff options
author | joshualitt <joshualitt@chromium.org> | 2015-12-02 13:00:37 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-12-02 13:00:37 -0800 |
commit | f16f88b779f802bb3c9892e6f1275fe980e956a1 (patch) | |
tree | b21be7e2bb1ad49d2272b449f36aacbd9ed1ccaa /include | |
parent | 0711bdbccae72aa011ad5a5cb63284e912bb6f7b (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.h | 4 |
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 |