Index: include/gpu/GrConfig.h |
diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h |
index 86ad63ad6e82fb0947525683a694aa972a2d468a..8e65f51b25f46be7e13b0ff10c0f91d7b6ef3d83 100644 |
--- a/include/gpu/GrConfig.h |
+++ b/include/gpu/GrConfig.h |
@@ -33,11 +33,19 @@ |
*/ |
#if !defined(GR_CACHE_STATS) |
- #define GR_CACHE_STATS 0 |
+ #ifdef SK_DEVELOPER |
+ #define GR_CACHE_STATS 1 |
+ #else |
+ #define GR_CACHE_STATS 0 |
+ #endif |
#endif |
#if !defined(GR_GPU_STATS) |
-#define GR_GPU_STATS 0 |
+ #ifdef SK_DEVELOPER |
+ #define GR_GPU_STATS 1 |
+ #else |
+ #define GR_GPU_STATS 0 |
+ #endif |
#endif |
/////////////////////////////////////////////////////////////////////////////// |