diff options
author | Alex Sakhartchouk <alexst@google.com> | 2010-10-13 14:22:02 -0700 |
---|---|---|
committer | Alex Sakhartchouk <alexst@google.com> | 2010-10-13 14:33:44 -0700 |
commit | 9e401bcd88a0fdeea96f53cb776e5de7b5b084cb (patch) | |
tree | d2c32d8fdcf107f30e97c4dc880d46a30a8f31ed /libs/rs/rsElement.cpp | |
parent | 79c92540877d6683290511617aac8e3108b68ad1 (diff) | |
download | frameworks_base-9e401bcd88a0fdeea96f53cb776e5de7b5b084cb.zip frameworks_base-9e401bcd88a0fdeea96f53cb776e5de7b5b084cb.tar.gz frameworks_base-9e401bcd88a0fdeea96f53cb776e5de7b5b084cb.tar.bz2 |
Changing scenegraph sample to use arrays.
Change-Id: Ifa454d503c1445efcad6e31243b65d75e62e3035
Diffstat (limited to 'libs/rs/rsElement.cpp')
-rw-r--r-- | libs/rs/rsElement.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libs/rs/rsElement.cpp b/libs/rs/rsElement.cpp index 2becab0..9e6fbd5 100644 --- a/libs/rs/rsElement.cpp +++ b/libs/rs/rsElement.cpp @@ -73,11 +73,12 @@ size_t Element::getSizeBits() const void Element::dumpLOGV(const char *prefix) const { ObjectBase::dumpLOGV(prefix); - LOGV("%s Element: components %i, size %i", prefix, mFieldCount, mBits); + LOGV("%s Element: fieldCount: %i, size bytes: %i", prefix, mFieldCount, getSizeBytes()); for (uint32_t ct = 0; ct < mFieldCount; ct++) { - char buf[1024]; - sprintf(buf, "%s component %i: ", prefix, ct); - //mComponents[ct]->dumpLOGV(buf); + LOGV("%s Element field index: %u ------------------", prefix, ct); + LOGV("%s name: %s, offsetBits: %u, arraySize: %u", + prefix, mFields[ct].name.string(), mFields[ct].offsetBits, mFields[ct].arraySize); + mFields[ct].e->dumpLOGV(prefix); } } |