diff options
| author | Alex Sakhartchouk <alexst@google.com> | 2010-10-14 09:34:56 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-10-14 09:34:56 -0700 |
| commit | 838c6a15783b3ca9adc1ab49b25043ee272f63de (patch) | |
| tree | 7c8da5719795c42c95d049429f1584d3610d69bb /libs/rs/rsElement.cpp | |
| parent | 4826ce828ffeae4e6a69666e6631dc8eb4f220c4 (diff) | |
| parent | 9e401bcd88a0fdeea96f53cb776e5de7b5b084cb (diff) | |
| download | frameworks_base-838c6a15783b3ca9adc1ab49b25043ee272f63de.zip frameworks_base-838c6a15783b3ca9adc1ab49b25043ee272f63de.tar.gz frameworks_base-838c6a15783b3ca9adc1ab49b25043ee272f63de.tar.bz2 | |
Merge "Changing scenegraph sample to use arrays."
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); } } |
