diff options
Diffstat (limited to 'libs/rs/rsScriptC.cpp')
-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); } |