Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: include/gpu/GrConfig.h

Issue 1499453002: Create a define for nanobench builds to dump stats (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/common_variables.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrConfig.h
diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h
index 86f69bd1c8b523792c03d50b689c4df729850d15..ffacb93911586d5f8d7f89851f932b2e83c3379e 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
« no previous file with comments | « gyp/common_variables.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698