summaryrefslogtreecommitdiffstats
path: root/libs/rs/rsAllocation.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2009-06-23 12:22:47 -0700
committerJason Sams <rjsams@android.com>2009-06-23 12:22:47 -0700
commitf29ca50d80e3dc379de1642e85b7963175b2ca38 (patch)
tree17854358cfe316c08dbf5c80f8af8b0c7849bc33 /libs/rs/rsAllocation.cpp
parentf8001669ba7d9b3d0e097c7124e670f13374a6c7 (diff)
downloadframeworks_base-f29ca50d80e3dc379de1642e85b7963175b2ca38.zip
frameworks_base-f29ca50d80e3dc379de1642e85b7963175b2ca38.tar.gz
frameworks_base-f29ca50d80e3dc379de1642e85b7963175b2ca38.tar.bz2
Cleanup logging and fix a startup race condition that manifested on Firestone.
Diffstat (limited to 'libs/rs/rsAllocation.cpp')
-rw-r--r--libs/rs/rsAllocation.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/libs/rs/rsAllocation.cpp b/libs/rs/rsAllocation.cpp
index dab3299..bc14eac 100644
--- a/libs/rs/rsAllocation.cpp
+++ b/libs/rs/rsAllocation.cpp
@@ -50,7 +50,6 @@ Allocation::Allocation(const Type *type)
Allocation::~Allocation()
{
- LOGE("Allocation %p destryed", this);
}
void Allocation::setCpuWritable(bool)
@@ -79,8 +78,6 @@ void Allocation::uploadToTexture(uint32_t lodOffset)
//rsAssert(!mTextureId);
rsAssert(lodOffset < mType->getLODCount());
- //LOGE("uploadToTexture %i, lod %i", mTextureID, lodOffset);
-
GLenum type = mType->getElement()->getGLType();
GLenum format = mType->getElement()->getGLFormat();
@@ -109,8 +106,6 @@ void Allocation::uploadToBufferObject()
rsAssert(!mType->getDimY());
rsAssert(!mType->getDimZ());
- //LOGE("uploadToTexture %i, lod %i", mTextureID, lodOffset);
-
if (!mBufferID) {
glGenBuffers(1, &mBufferID);
}