commit | e4c487a75282e8a38a8b3defd49e7799c8670881 | [log] [tgz] |
---|---|---|
author | Jason Sams <rjsams@android.com> | Wed Feb 17 15:38:10 2010 -0800 |
committer | Jason Sams <rjsams@android.com> | Wed Feb 17 15:38:10 2010 -0800 |
tree | cce081d45415dfe54bdd65761e85f13046c91a82 | |
parent | 5bc54073186a83472963934d4325c3b9d968892f [diff] [blame] |
Implement type collapsing for Elements and Types. Now if a user creates two or more identical objects we simply reuse the existing object rather than create a new one.
diff --git a/libs/rs/rsObjectBase.cpp b/libs/rs/rsObjectBase.cpp index 89c5b00..677413e 100644 --- a/libs/rs/rsObjectBase.cpp +++ b/libs/rs/rsObjectBase.cpp
@@ -191,6 +191,7 @@ LOGV("Dumping all objects"); const ObjectBase * o = rsc->mObjHead; while (o) { + LOGV(" Object %p", o); o->dumpLOGV(" "); o = o->mNext; }