summaryrefslogtreecommitdiffstats
path: root/libs/rs
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-11-19 17:43:24 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2009-11-19 17:43:24 -0800
commit857d2b156536c7120532661cf581bf491e3d06b3 (patch)
tree3ec9f31b51a502dcbbab25cebe85fad877304c22 /libs/rs
parent35e3d527d37bcaf1aaf1620e4b3364b1b1f2d3a6 (diff)
parent93f409b5f7992767594107b7f468143e4a89a8c1 (diff)
downloadframeworks_base-857d2b156536c7120532661cf581bf491e3d06b3.zip
frameworks_base-857d2b156536c7120532661cf581bf491e3d06b3.tar.gz
frameworks_base-857d2b156536c7120532661cf581bf491e3d06b3.tar.bz2
am 93f409b5: am d581b1a8: am ddac83a5: Fix extended logging for object dumping.
Merge commit '93f409b5f7992767594107b7f468143e4a89a8c1' * commit '93f409b5f7992767594107b7f468143e4a89a8c1': Fix extended logging for object dumping.
Diffstat (limited to 'libs/rs')
-rw-r--r--libs/rs/rsObjectBase.cpp18
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;
}
}