diff options
author | Romain Guy <romainguy@google.com> | 2010-11-10 19:01:29 -0800 |
---|---|---|
committer | Romain Guy <romainguy@google.com> | 2010-11-10 19:01:29 -0800 |
commit | e190aa69756aecfaffabdd4c6d32cb6b3220d842 (patch) | |
tree | 3e0b6400e428be77544e2670627eeec8ceb6a434 /libs/hwui/Caches.cpp | |
parent | c15008e72ec00ca20a271c3006dac649fd07533b (diff) | |
download | frameworks_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.cpp | 4 |
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() { |