diff options
| author | Jason Sams <rjsams@android.com> | 2009-11-17 17:36:27 -0800 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2009-11-17 17:36:27 -0800 |
| commit | bd2b773c23d6e5c07d5af2b1f6c25ad858b949d5 (patch) | |
| tree | 1f9e21a9aa6ff4bf6555398f0e28ec79f2f42d93 /libs/rs/rsAllocation.cpp | |
| parent | d2709747b661827abcd8b9230a653f3578bbf7b6 (diff) | |
| parent | fa0394c9f89f13b53c6db2470253825b88cafb64 (diff) | |
| download | frameworks_base-bd2b773c23d6e5c07d5af2b1f6c25ad858b949d5.zip frameworks_base-bd2b773c23d6e5c07d5af2b1f6c25ad858b949d5.tar.gz frameworks_base-bd2b773c23d6e5c07d5af2b1f6c25ad858b949d5.tar.bz2 | |
am fa0394c9: Merge change I715333b8 into eclair
Merge commit 'fa0394c9f89f13b53c6db2470253825b88cafb64' into eclair-plus-aosp
* commit 'fa0394c9f89f13b53c6db2470253825b88cafb64':
Add support for dumping RS objects to aid in debugging of white blocks bug.
Diffstat (limited to 'libs/rs/rsAllocation.cpp')
| -rw-r--r-- | libs/rs/rsAllocation.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp index 16029a6..408d83f 100644 --- a/libs/rs/rsAllocation.cpp +++ b/libs/rs/rsAllocation.cpp @@ -190,6 +190,24 @@ void Allocation::subData(uint32_t xoff, uint32_t yoff, uint32_t zoff, { } +void Allocation::dumpLOGV(const char *prefix) const +{ + ObjectBase::dumpLOGV(prefix); + + String8 s(prefix); + s.append(" type "); + if (mType.get()) { + mType->dumpLOGV(s.string()); + } + + LOGV("%s allocation ptr=%p mCpuWrite=%i, mCpuRead=%i, mGpuWrite=%i, mGpuRead=%i", + prefix, mPtr, mCpuWrite, mCpuRead, mGpuWrite, mGpuRead); + + LOGV("%s allocation mIsTexture=%i mIsTextureID=%i, mIsVertexBuffer=%i, mBufferID=%i", + prefix, mIsTexture, mTextureID, mIsVertexBuffer, mBufferID); + + +} ///////////////// |
