summaryrefslogtreecommitdiffstats
path: root/libs/hwui/Caches.cpp
diff options
context:
space:
mode:
authorRomain Guy <romainguy@google.com>2010-11-10 19:01:29 -0800
committerRomain Guy <romainguy@google.com>2010-11-10 19:01:29 -0800
commite190aa69756aecfaffabdd4c6d32cb6b3220d842 (patch)
tree3e0b6400e428be77544e2670627eeec8ceb6a434 /libs/hwui/Caches.cpp
parentc15008e72ec00ca20a271c3006dac649fd07533b (diff)
downloadframeworks_base-e190aa69756aecfaffabdd4c6d32cb6b3220d842.zip
frameworks_base-e190aa69756aecfaffabdd4c6d32cb6b3220d842.tar.gz
frameworks_base-e190aa69756aecfaffabdd4c6d32cb6b3220d842.tar.bz2
Add new runtime debug flags.
Change-Id: I07955de166a89b5053c6c13f250bb3e2936ca86e
Diffstat (limited to 'libs/hwui/Caches.cpp')
-rw-r--r--libs/hwui/Caches.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp
index 248e054..2b498c6 100644
--- a/libs/hwui/Caches.cpp
+++ b/libs/hwui/Caches.cpp
@@ -19,6 +19,7 @@
#include <utils/Log.h>
#include "Caches.h"
+#include "Properties.h"
namespace android {
@@ -49,6 +50,9 @@ Caches::Caches(): Singleton<Caches>(), blend(false), lastSrcMode(GL_ZERO),
mCurrentBuffer = meshBuffer;
mRegionMesh = NULL;
+
+ mDebugLevel = readDebugLevel();
+ LOGD("Enabling debug mode %d", mDebugLevel);
}
Caches::~Caches() {