summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/hwui/Debug.h')
-rw-r--r--libs/hwui/Debug.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/libs/hwui/Debug.h b/libs/hwui/Debug.h
index 6236684..14471bc 100644
--- a/libs/hwui/Debug.h
+++ b/libs/hwui/Debug.h
@@ -20,6 +20,9 @@
// Turn on to check for OpenGL errors on each frame
#define DEBUG_OPENGL 1
+// Turn on to enable initialization information
+#define DEBUG_INIT 0
+
// Turn on to enable memory usage summary on each frame
#define DEBUG_MEMORY_USAGE 0
@@ -54,4 +57,10 @@
// Turn on to dump display list state
#define DEBUG_DISPLAY_LIST 0
+#if DEBUG_INIT
+ #define INIT_LOGD(...) LOGD(__VA_ARGS__)
+#else
+ #define INIT_LOGD(...)
+#endif
+
#endif // ANDROID_HWUI_DEBUG_H