summaryrefslogtreecommitdiff
path: root/libs/rs/rsComponent.cpp
diff options
context:
space:
mode:
author Jason Sams <rjsams@android.com> 2009-09-27 17:50:38 -0700
committer Jason Sams <rjsams@android.com> 2009-09-27 17:50:38 -0700
commit3c0dfbab807a459622aeade4940daddf482dec66 (patch)
treeefd2b716319c8f69789ec81343776eb7d008975e /libs/rs/rsComponent.cpp
parente7d60bfdff35ad8eace600d2a6cb81163c966bb0 (diff)
Improve logging code to dump more detaild rs object info. Fix bug with predefined elements not being recreated for contexts after one was destroyed. Add stricter type enforcement.
Diffstat (limited to 'libs/rs/rsComponent.cpp')
-rw-r--r--libs/rs/rsComponent.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/rs/rsComponent.cpp b/libs/rs/rsComponent.cpp
index 42e2e4fbf229..de074c8ce664 100644
--- a/libs/rs/rsComponent.cpp
+++ b/libs/rs/rsComponent.cpp
@@ -102,4 +102,9 @@ uint32_t Component::getGLType() const
return 0;
}
+void Component::dumpLOGV(const char *prefix) const
+{
+ ObjectBase::dumpLOGV(prefix);
+ LOGV("%s component: %i %i %i %i", prefix, mType, mKind, mIsNormalized, mBits);
+}