diff options
author | Shih-wei Liao <sliao@google.com> | 2010-12-23 23:04:21 +0800 |
---|---|---|
committer | Shih-wei Liao <sliao@google.com> | 2010-12-23 23:07:02 +0800 |
commit | c5300f14ad3d7145e187ff8526961a8248d61cd1 (patch) | |
tree | 89c7b01e22e36fbffdb4499c7dc93098d383befe /libs/rs | |
parent | 057898a9b5d50e0d8eed52bdaa74a5f17bf85c1a (diff) | |
download | frameworks_base-c5300f14ad3d7145e187ff8526961a8248d61cd1.zip frameworks_base-c5300f14ad3d7145e187ff8526961a8248d61cd1.tar.gz frameworks_base-c5300f14ad3d7145e187ff8526961a8248d61cd1.tar.bz2 |
Clean-up.
Change-Id: I43045da43a5e48e1bf759cd18c1b90d45f243450
Diffstat (limited to 'libs/rs')
-rw-r--r-- | libs/rs/rsScriptC.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/rs/rsScriptC.cpp b/libs/rs/rsScriptC.cpp index 5197eeb..64eb7d2 100644 --- a/libs/rs/rsScriptC.cpp +++ b/libs/rs/rsScriptC.cpp @@ -37,13 +37,16 @@ using namespace android::renderscript; ScriptC::ScriptC(Context *rsc) : Script(rsc) { + LOGD(">>>> ScriptC ctor called, obj=%x", this); mBccScript = NULL; memset(&mProgram, 0, sizeof(mProgram)); } ScriptC::~ScriptC() { + LOGD(">>>> ~ScriptC()"); if (mBccScript) { bccDeleteScript(mBccScript); + LOGD(">>>> ~ScriptC(mBCCScript)"); } free(mEnviroment.mScriptText); mEnviroment.mScriptText = NULL; @@ -436,7 +439,7 @@ void ScriptCState::runCompiler(Context *rsc, s->mEnviroment.mScriptTextLength, modWhen, crc32, - NULL, + resName, cacheDir); bccCompileBC(s->mBccScript); } |