aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/gpu/GrConfig.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-09-18 13:52:08 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-09-18 13:52:08 -0700
commit754f4e98d94d7c9ed76cd128cf983f9323a1885b (patch)
tree7bccf648c19e30ce9950292effb7f072d455c431 /include/gpu/GrConfig.h
parent855d83ff79c6c822b2ad653f2f890178ad0f637b (diff)
Add counting of some GL calls
I would like this facility for tracking FBO switch improvements. R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/553583008
Diffstat (limited to 'include/gpu/GrConfig.h')
-rw-r--r--include/gpu/GrConfig.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gpu/GrConfig.h b/include/gpu/GrConfig.h
index 80897a07bd..86ad63ad6e 100644
--- a/include/gpu/GrConfig.h
+++ b/include/gpu/GrConfig.h
@@ -36,6 +36,10 @@
#define GR_CACHE_STATS 0
#endif
+#if !defined(GR_GPU_STATS)
+#define GR_GPU_STATS 0
+#endif
+
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////