summaryrefslogtreecommitdiff
path: root/libs/rs/rsObjectBase.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-08-25 11:34:49 -0700
committerJason Sams <rjsams@android.com>2009-08-25 11:44:30 -0700
commitb13ada5071f55c96054c47bbd88d8801cd2c0f15 (patch)
tree652b6ca78a53aafaa7c6c3ceb7229a3d6aab43db /libs/rs/rsObjectBase.cpp
parentdbade9d6a075b1d5b8ebe10ee8961a5de296c93b (diff)
Add support for selecting the color bit depth and if the application used a depth buffer.
Diffstat (limited to 'libs/rs/rsObjectBase.cpp')
-rw-r--r--libs/rs/rsObjectBase.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/rs/rsObjectBase.cpp b/libs/rs/rsObjectBase.cpp
index 6a5b7d8385bb..07bbc1e76ca8 100644
--- a/libs/rs/rsObjectBase.cpp
+++ b/libs/rs/rsObjectBase.cpp
@@ -43,6 +43,11 @@ void ObjectBase::decRef() const
mRefCount --;
//LOGV("ObjectBase %p dec ref %i", this, mRefCount);
if (!mRefCount) {
+ if (mName) {
+ LOGV("Deleting RS object %p, name %s", this, mName);
+ } else {
+ LOGV("Deleting RS object %p, no name", this);
+ }
delete this;
}
}