summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsAllocation.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-11-17 18:07:54 -0800
committerJason Sams <rjsams@android.com>2009-11-17 18:07:54 -0800
commit644a0e320d4bda1871f38858e63aad2c9864570f (patch)
treedbe08bd7d8c08e8366b51a1c835e755ccbd856ac /libs/rs/rsAllocation.cpp
parente30c29feea0300dbf5355d08bbf90c0f85584e87 (diff)
parentf630904134a81e9e5edbd7b2bd77e402c180782f (diff)
downloadframeworks_base-644a0e320d4bda1871f38858e63aad2c9864570f.zip
frameworks_base-644a0e320d4bda1871f38858e63aad2c9864570f.tar.gz
frameworks_base-644a0e320d4bda1871f38858e63aad2c9864570f.tar.bz2
resolved conflicts for merge of f6309041 to master
Diffstat (limited to 'libs/rs/rsAllocation.cpp')
-rw-r--r--libs/rs/rsAllocation.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp
index 7f4cf38..bc62f92 100644
--- a/libs/rs/rsAllocation.cpp
+++ b/libs/rs/rsAllocation.cpp
@@ -209,6 +209,24 @@ void Allocation::removeProgramToDirty(const Program *p)
rsAssert(0);
}
+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);
+
+}
+
void Allocation::sendDirty() const
{
for (size_t ct=0; ct < mToDirtyList.size(); ct++) {