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

Unified Diff: include/gpu/GrConfig.h

Issue 655263005: Build gpu stats tracking in dev builds. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: clean up macro usage in render_pictures Created 6 years, 2 months 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 | « no previous file | src/gpu/GrResourceCache.cpp » ('j') | 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 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
///////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | src/gpu/GrResourceCache.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698