summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsElement.h
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-09-27 17:50:38 -0700
committerJason Sams <rjsams@android.com>2009-09-27 17:50:38 -0700
commit3c0dfbab807a459622aeade4940daddf482dec66 (patch)
treeefd2b716319c8f69789ec81343776eb7d008975e /libs/rs/rsElement.h
parente7d60bfdff35ad8eace600d2a6cb81163c966bb0 (diff)
downloadframeworks_base-3c0dfbab807a459622aeade4940daddf482dec66.zip
frameworks_base-3c0dfbab807a459622aeade4940daddf482dec66.tar.gz
frameworks_base-3c0dfbab807a459622aeade4940daddf482dec66.tar.bz2
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/rsElement.h')
-rw-r--r--libs/rs/rsElement.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/rs/rsElement.h b/libs/rs/rsElement.h
index 82da441..b41c552 100644
--- a/libs/rs/rsElement.h
+++ b/libs/rs/rsElement.h
@@ -51,6 +51,9 @@ public:
uint32_t getComponentCount() const {return mComponentCount;}
Component * getComponent(uint32_t idx) const {return mComponents[idx].get();}
+
+ void dumpLOGV(const char *prefix) const;
+
protected:
// deallocate any components that are part of this element.
void clear();