Loading libs/rs/rsProgram.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -195,7 +195,7 @@ bool Program::loadShader(Context *rsc, uint32_t type) if (rsc->props.mLogShaders) { LOGV("Loading shader type %x, ID %i", type, mShaderID); LOGV(mShader.string()); LOGV("%s", mShader.string()); } if (mShaderID) { Loading libs/rs/rsScriptC.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ void ScriptCState::runCompiler(Context *rsc, ScriptC *s) ACCchar buf[4096]; ACCsizei len; accGetScriptInfoLog(s->mAccScript, sizeof(buf), &len, buf); LOGE(buf); LOGE("%s", buf); rsc->setError(RS_ERROR_BAD_SCRIPT, "Error compiling user script."); return; } Loading Loading @@ -345,7 +345,7 @@ void ScriptCState::appendTypes(const Context *rsc, String8 *str) s.append(e->getName()); s.append("\n\n"); if (rsc->props.mLogScripts) { LOGV(s); LOGV("%s", static_cast<const char*>(s)); } str->append(s); } Loading @@ -372,7 +372,7 @@ void ScriptCState::appendTypes(const Context *rsc, String8 *str) s.append(mSlotNames[ct]); s.append(";\n"); if (rsc->props.mLogScripts) { LOGV(s); LOGV("%s", static_cast<const char*>(s)); } str->append(s); } Loading Loading
libs/rs/rsProgram.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -195,7 +195,7 @@ bool Program::loadShader(Context *rsc, uint32_t type) if (rsc->props.mLogShaders) { LOGV("Loading shader type %x, ID %i", type, mShaderID); LOGV(mShader.string()); LOGV("%s", mShader.string()); } if (mShaderID) { Loading
libs/rs/rsScriptC.cpp +3 −3 Original line number Diff line number Diff line Loading @@ -159,7 +159,7 @@ void ScriptCState::runCompiler(Context *rsc, ScriptC *s) ACCchar buf[4096]; ACCsizei len; accGetScriptInfoLog(s->mAccScript, sizeof(buf), &len, buf); LOGE(buf); LOGE("%s", buf); rsc->setError(RS_ERROR_BAD_SCRIPT, "Error compiling user script."); return; } Loading Loading @@ -345,7 +345,7 @@ void ScriptCState::appendTypes(const Context *rsc, String8 *str) s.append(e->getName()); s.append("\n\n"); if (rsc->props.mLogScripts) { LOGV(s); LOGV("%s", static_cast<const char*>(s)); } str->append(s); } Loading @@ -372,7 +372,7 @@ void ScriptCState::appendTypes(const Context *rsc, String8 *str) s.append(mSlotNames[ct]); s.append(";\n"); if (rsc->props.mLogScripts) { LOGV(s); LOGV("%s", static_cast<const char*>(s)); } str->append(s); } Loading