summaryrefslogtreecommitdiff
path: root/libs/hwui/Debug.h
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2011-07-18 15:00:43 -0700
committerRomain Guy <romainguy@google.com>2011-07-18 15:00:43 -0700
commitbdf7609867a3f886455c51dba91623a86cceb6e2 (patch)
tree269a199e3f566c6ac967412e13d2c72dc9cf20bf /libs/hwui/Debug.h
parentd94b71de3b465c9c113f5b09c7cd5f221370af23 (diff)
Trim OpenGLRenderer's memory usage whenever possible
Change-Id: I9225077184f374b1a43300add15cc1d5b6869d1c
Diffstat (limited to 'libs/hwui/Debug.h')
-rw-r--r--libs/hwui/Debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/hwui/Debug.h b/libs/hwui/Debug.h
index 2cdc8c39e9f9..5db73db9fc35 100644
--- a/libs/hwui/Debug.h
+++ b/libs/hwui/Debug.h
@@ -26,6 +26,9 @@
// Turn on to enable memory usage summary on each frame
#define DEBUG_MEMORY_USAGE 0
+// Turn on to enable debugging of cache flushes
+#define DEBUG_CACHE_FLUSH 1
+
// Turn on to enable layers debugging when rendered as regions
#define DEBUG_LAYERS_AS_REGIONS 0