summaryrefslogtreecommitdiff
path: root/libs/hwui/Debug.h
diff options
context:
space:
mode:
author Teng-Hui Zhu <ztenghui@google.com> 2016-04-25 14:23:40 -0700
committer Teng-Hui Zhu <ztenghui@google.com> 2016-04-25 15:10:48 -0700
commit85d99528b23b5575d97f614fe25f839d19740abc (patch)
tree1464c58b93febe2189f42ac1372fdbe181c17827 /libs/hwui/Debug.h
parent3b42c073859dca514e0f1002ef2efb7d98f0e508 (diff)
Turn off some path drawing logs by default
Originally the logs are added to track potential performance bug. Like unexpectedly deep recursion loop. However so far, we haven't captured anything by these logs. And they are causing some misunderstanding in some bugs. So I think it is better to disable it by default. In the future, we will consider switching to direct Skia arcTo support and drop this part. Change-Id: Iff6df7a92e40b4775a644a1497e113de0eedbc8a
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 748edef730b7..e29699d0faf4 100644
--- a/libs/hwui/Debug.h
+++ b/libs/hwui/Debug.h
@@ -98,6 +98,9 @@
// Turn on to enable debugging shadow
#define DEBUG_SHADOW 0
+// Turn on to enable debugging vector drawable
+#define DEBUG_VECTOR_DRAWABLE 0
+
#if DEBUG_INIT
#define INIT_LOGD(...) ALOGD(__VA_ARGS__)
#else