diff options
author | Jason Sams <rjsams@android.com> | 2009-11-19 13:08:17 -0800 |
---|---|---|
committer | Jason Sams <rjsams@android.com> | 2009-11-19 13:08:17 -0800 |
commit | ddac83a516e939b55f20b226365596760159c9df (patch) | |
tree | 3bab56f356a81b0860aae0ca5f0c1a2d60195553 | |
parent | 5994cd2898ad3c76d1f5068137a884024f521163 (diff) | |
download | frameworks_base-ddac83a516e939b55f20b226365596760159c9df.zip frameworks_base-ddac83a516e939b55f20b226365596760159c9df.tar.gz frameworks_base-ddac83a516e939b55f20b226365596760159c9df.tar.bz2 |
Fix extended logging for object dumping.
-rw-r--r-- | libs/rs/rsObjectBase.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/libs/rs/rsObjectBase.cpp b/libs/rs/rsObjectBase.cpp index 05791cb..89c5b00 100644 --- a/libs/rs/rsObjectBase.cpp +++ b/libs/rs/rsObjectBase.cpp @@ -182,23 +182,17 @@ void ObjectBase::zeroAllUserRef(Context *rsc) if (rsc->props.mLogObjects) { LOGV("Objects remaining."); - o = rsc->mObjHead; - while (o) { - o->dumpLOGV(" "); - o = o->mNext; - } + dumpAll(rsc); } } void ObjectBase::dumpAll(Context *rsc) { - if (rsc->props.mLogObjects) { - LOGV("Dumping all objects"); - const ObjectBase * o = rsc->mObjHead; - while (o) { - o->dumpLOGV(" "); - o = o->mNext; - } + LOGV("Dumping all objects"); + const ObjectBase * o = rsc->mObjHead; + while (o) { + o->dumpLOGV(" "); + o = o->mNext; } } |