summaryrefslogtreecommitdiff
path: root/libs/hwui/ProgramCache.h
diff options
context:
space:
mode:
author Romain Guy <romainguy@google.com> 2010-11-10 12:04:04 -0800
committer Android (Google) Code Review <android-gerrit@google.com> 2010-11-10 12:04:05 -0800
commitbb69143ef5dcfddd8bbf04070cf6ba690e2674bb (patch)
tree86f840abac409118200f4304fd31c77d2e2e854b /libs/hwui/ProgramCache.h
parentc65347f239e0adae4fe9fad5248b69a5a6d3bbe8 (diff)
parentc15008e72ec00ca20a271c3006dac649fd07533b (diff)
Merge "Move all debug flags in a single place."
Diffstat (limited to 'libs/hwui/ProgramCache.h')
-rw-r--r--libs/hwui/ProgramCache.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libs/hwui/ProgramCache.h b/libs/hwui/ProgramCache.h
index 186e8696d555..fc3e248713f3 100644
--- a/libs/hwui/ProgramCache.h
+++ b/libs/hwui/ProgramCache.h
@@ -25,6 +25,7 @@
#include <SkXfermode.h>
+#include "Debug.h"
#include "Program.h"
namespace android {
@@ -35,10 +36,7 @@ namespace uirenderer {
///////////////////////////////////////////////////////////////////////////////
// Debug
-#define DEBUG_PROGRAM_CACHE 0
-
-// Debug
-#if DEBUG_PROGRAM_CACHE
+#if DEBUG_PROGRAMS
#define PROGRAM_LOGD(...) LOGD(__VA_ARGS__)
#else
#define PROGRAM_LOGD(...)